Loading...
Skip to main content

CVE-2023-50422 — Improper JWT Signature Validation in...

CRITICAL

Improper JWT Signature Validation in SAP Security Services Library

Published December 13, 2023Updated July 8, 2026Source: osv

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 https://www.cve.org/CVERecord?id=CVE-2023-50422

Advisory Timeline

  • First published December 13, 2023 (1034 days ago).
  • Last revised July 8, 2026 — 938 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.sap.cloud.security:java-security to 2.17.0 or later
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security:java-security -->
Maven
Update com.sap.cloud.security:spring-security to 2.17.0 or later
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security:spring-security -->
Maven
Update com.sap.cloud.security.xsuaa:spring-xsuaa to 2.17.0 or later
<!-- Update pom.xml dependency version to 2.17.0 for com.sap.cloud.security.xsuaa:spring-xsuaa -->
Maven
Update com.sap.cloud.security.xsuaa:spring-xsuaa to 3.3.0 or later
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security.xsuaa:spring-xsuaa -->
Maven
Update com.sap.cloud.security:spring-security to 3.3.0 or later
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security:spring-security -->
Maven
Update com.sap.cloud.security:java-security to 3.3.0 or later
<!-- Update pom.xml dependency version to 3.3.0 for com.sap.cloud.security:java-security -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: maven (3).

PackageEcosystemAffectedFixed In
com.sap.cloud.security:java-security
maven
2.10.0, 2.10.1, 2.10.2, 2.10.3 (+68 more)2.17.0
com.sap.cloud.security:spring-security
maven
0.1.0, 0.1.1, 0.1.2, 0.1.3 (+46 more)2.17.0
com.sap.cloud.security.xsuaa:spring-xsuaa
maven
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
3.0.0, 3.0.1, 3.1.0, 3.1.1 (+4 more)3.3.0
com.sap.cloud.security:spring-security
maven
3.0.0, 3.0.1, 3.1.0, 3.1.1 (+4 more)3.3.0
com.sap.cloud.security:java-security
maven
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-269
    Improper Privilege ManagementMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-50422 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-59c9-pxq8-9c73
CVE-2023-50424
GHSA-92cg-ghq6-9587
GHSA-m8rw-rcpq-2vp2
GO-2023-2400

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies