Improper JWT Signature Validation in SAP Security Services Library

Summary

13/12/2023
Yes i
Critical
9.1

CVE-2023-50422: Improper JWT Signature Validation in SAP Security Services Library. Affects com.sap.cloud.security:java-security across 2 version ranges.

< 2.17.0 >= 3.0.0, < 3.3.0

Fixed in 2.17.0 or 3.3.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The SAP BTP Security Services Integration Library is a Java library that provides security services integration for SAP Business Technology Platform (BTP) applications. It is used to authenticate and authorize users, manage access control, and enforce security policies. The library includes functionality for handling JSON Web Tokens (JWTs), which are used for secure communication between services. However, a vulnerability has been discovered in the library's JWT signature validation process, which could allow an unauthenticated attacker to escalate privileges within the application.

Vulnerability Detail

The vulnerability arises from improper JWT signature validation in the SAP Security Services Library. Under certain conditions, an attacker can exploit this vulnerability to obtain arbitrary permissions within the application. This could lead to unauthorized access to sensitive data, privilege escalation, and potential compromise of the entire application. The vulnerability has a CVSS score of 9.1, indicating a critical severity level.

How To Fix

Latest published version: 4.2.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.17.0 2.17.0
  • >= 3.0.0, < 3.3.0 3.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There are no known workarounds for this vulnerability. It is essential to upgrade to the patched version as soon as possible to mitigate the risk.

Conclusion

The improper JWT signature validation vulnerability in the SAP Security Services Library poses a critical risk to applications using the affected packages. It is crucial to upgrade to the patched versions (2.17.0 or 3.3.0) to mitigate the risk of privilege escalation and unauthorized access. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.sap.cloud.security:java-security →

Share this vulnerability

FAQ

The impact of this vulnerability is an escalation of privileges within the application. An attacker can obtain arbitrary permissions, potentially leading to unauthorized access to sensitive data and compromise of the entire application.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software using just the pom.xml file.

At the time of this advisory, there are no known public exploits for this vulnerability. However, it is crucial to upgrade to the patched version to prevent any potential exploitation.

Yes, this vulnerability can be exploited remotely by an unauthenticated attacker.

Related vulnerabilities

Recent vulnerabilities recorded for com.sap.cloud.security:java-security.

How To Fix

Latest published version: 4.2.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.17.0 2.17.0
  • >= 3.0.0, < 3.3.0 3.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback