Skip to main content

CVE-2023-50422 — Improper JWT Signature Validation in java-security

CRITICAL

Improper JWT Signature Validation in SAP Security Services Library

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

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.

Check my pom.xml

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 (1079 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: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 -->
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 -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Maven (3).

PackageFixed 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-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. 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

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.47%
EPSS percentile: 74

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

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

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml