CVE-2023-50422
Improper JWT Signature Validation in SAP Security Services Library
Description
Impact
SAP BTP Security Services Integration Library ([Java] cloud-security-services-integration-library) allows under certain conditions an escalation of privileges. On successful exploitation, an unauthenticated attacker can obtain arbitrary permissions within the application.
Patches
Upgrade to patched version >= 2.17.0 or >= 3.3.0 We always recommend to upgrade to the latest released version.
Workarounds
No workarounds
References
https://www.cve.org/CVERecord?id=CVE-2023-50422
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.sap.cloud.security » java-security | < 2.17.0>= 3.0.0, < 3.3.0 | 2.17.0, 3.3.0 |
| com.sap.cloud.security » spring-security | < 2.17.0>= 3.0.0, < 3.3.0 | 2.17.0, 3.3.0 |
| com.sap.cloud.security.xsuaa » spring-xsuaa | < 2.17.0>= 3.0.0, < 3.3.0 | 2.17.0, 3.3.0 |
Blast radius
53% of the dependent artifacts (41) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 652 |
| 2 hops | 611 |
| 3 hops | 420 |
| 4 hops | 111 |
| 5 hops | 63 |
| 6 hops | 35 |
Most used dependents
- com.sap.cloud.security » java-security-test13 usages
- com.sap.cloud.sdk.cloudplatform » scp-cf10 usages
- com.sap.cds » cds-integration-cloud-sdk9 usages
- com.codbex.kronos » kronos-modules-api-all9 usages
- com.codbex.kronos » codbex-kronos-modules-api-all9 usages
- com.sap.cloud.sdk.cloudplatform » connectivity-oauth8 usages
- com.sap.cloud.instancemanager » client6 usages
- com.codbex.kronos » kronos-modules-engines-hdb6 usages
- com.codbex.kronos » codbex-kronos-modules-engines-hdb6 usages
- com.sap.cloud.mt » multi-tenant-subscription5 usages
- com.codbex.kronos » kronos-modules-engines-core5 usages
- com.codbex.kronos » codbex-kronos-modules-engines-core5 usages
- com.sap.cloud.sdk.cloudplatform » tenant-scp-cf4 usages
- com.sap.cloud.security » spring-security4 usages
- com.sap.cds » cds-feature-mt4 usages
Computed from the dependency graph of build 20261204.0837 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects Go (1 package) . See all on OSV
References
| Advisory | NVD CVE-2023-50422 | nvd.nist.gov |
| Package | SAP/cloud-security-services-integration-library | github.com |
| Web | SAP/cloud-security-services-integration-library advisory GHSA-59c9-pxq8-9c73 | github.com |
| Web | SAP/cloud-security-services-integration-library commit 4b3e42a | github.com |
| Web | SAP/cloud-security-services-integration-library commit 7ce9601 | github.com |
| Web | 2023/12/12/unveiling-critical-security-updates-sap-btp-security-note-3411067 | blogs.sap.com |
| Web | wiki/JSON_Web_Token | en.wikipedia.org |
| Web | notes/3411067 | me.sap.com |
| Web | notes/3413475 | me.sap.com |
| Web | artifact/com.sap.cloud.security.xsuaa/spring-xsuaa | mvnrepository.com |
| Web | artifact/com.sap.cloud.security/java-security | mvnrepository.com |
| Web | artifact/com.sap.cloud.security/spring-security | mvnrepository.com |
| Web | documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html | sap.com |
