CVE-2023-50422 — Improper JWT Signature Validation in java-security
Improper JWT Signature Validation in SAP Security Services Library
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.47%). Schedule for your next planned update.
Does your project use an affected com.sap.cloud.security:java-security version?
Paste your pom.xml to check it for CVE-2023-50422 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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
Advisory Timeline
- First published December 13, 2023 (1079 days ago).
- Last revised July 8, 2026 — 938 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security:java-security -->
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security:spring-security -->
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security:spring-security -->
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security:java-security -->
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security.xsuaa:spring-xsuaa -->
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security.xsuaa:spring-xsuaa -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Maven (3).
| Package | Fixed In |
|---|---|
| com.sap.cloud.security:java-security Maven · Affected: 2.10.0, 2.10.1, 2.10.2, 2.10.3 (+68 more) | 2.17.0 |
| com.sap.cloud.security:spring-security Maven · Affected: 0.1.0, 0.1.1, 0.1.2, 0.1.3 (+46 more) | 2.17.0 |
| com.sap.cloud.security:spring-security Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.1.1 (+4 more) | 3.3.0 |
| com.sap.cloud.security:java-security Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.1.1 (+4 more) | 3.3.0 |
| com.sap.cloud.security.xsuaa:spring-xsuaa Maven · Affected: 1.1.0, 1.1.0.RC1, 1.2.0, 1.3.0 (+83 more) | 2.17.0 |
| com.sap.cloud.security.xsuaa:spring-xsuaa Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.1.1 (+4 more) | 3.3.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-269Improper Privilege ManagementMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/SAP/cloud-security-services-integration-library/security/advisories/GHSA-59c9-pxq8-9c73WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50422ADVISORY
- https://github.com/SAP/cloud-security-services-integration-library/commit/4b3e42ab23df6418243b29908b1a2582818d9360WEB
- https://github.com/SAP/cloud-security-services-integration-library/commit/7ce9601979c30ae269a1cbaf7cf33486d10736f1WEB
- https://blogs.sap.com/2023/12/12/unveiling-critical-security-updates-sap-btp-security-note-3411067WEB
- https://en.wikipedia.org/wiki/JSON_Web_TokenWEB
- https://github.com/SAP/cloud-security-services-integration-libraryPACKAGE
- https://me.sap.com/notes/3411067WEB
- https://me.sap.com/notes/3413475WEB
- https://mvnrepository.com/artifact/com.sap.cloud.security.xsuaa/spring-xsuaaWEB
- https://mvnrepository.com/artifact/com.sap.cloud.security/java-securityWEB
- https://mvnrepository.com/artifact/com.sap.cloud.security/spring-securityWEB
- https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.htmlWEB
Frequently Asked Questions
- What is CVE-2023-50422?
- Improper JWT Signature Validation in SAP Security Services Library. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2023-50422?
- CVE-2023-50422 affects com.sap.cloud.security:java-security, com.sap.cloud.security:spring-security and com.sap.cloud.security.xsuaa:spring-xsuaa. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-50422 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 74% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host