CVE-2023-25617: Sap ai sdk base SAP Cloud SDK For AI Vulnerability
HIGHCVE-2023-25617 is a HIGH (CVSS 8.8) sap cloud sdk for ai vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Sap ai sdk base libraries in the PyPI ecosystem. The issue involves sap cloud sdk for ai python has os command injection when program objects execution is enabled. Remediation is available in the latest vendor maintenance releases.
CVE-2023-25617 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-25617
To remediate this vulnerability, upgrade all affected Sap ai sdk base dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install sap-ai-sdk-base>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sap-ai-sdk-base
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-25617, inspect your installed packages using pip:
pip show sap-ai-sdk-base
Analyze the terminal output to locate any version of Sap ai sdk base in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show sap-ai-sdk-base command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Sap ai sdk base, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-25617 Affected Sap ai sdk base Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sap-ai-sdk-base
|
PyPI |
≤ 3.3.0
|
|
References
Frequently Asked Questions
What is CVE-2023-25617?
Which Sap ai sdk base versions are affected?
What version fixes CVE-2023-25617?
Is sap-ai-sdk-base affected?
What is the CVSS score of CVE-2023-25617?
What CWE is associated with CVE-2023-25617?
How can I check PyPI dependencies for CVE-2023-25617?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xxhh-59gh-6ffx",
"modified" : "2026-06-09T20:46:31Z",
"published" : "2023-03-14T06:30:16Z",
"aliases" : [ "CVE-2023-25617" ],
"summary" : "SAP Cloud SDK for AI Python has OS Command Injection when Program Objects Execution is Enabled",
"details" : "SAP Business Object (Adaptive Job Server) - versions 420, 430, allows remote execution of arbitrary commands on Unix, when program objects execution is enabled, to authenticated users with scheduling rights, using the BI Launchpad, Central Management Console or a custom application based on the public java SDK. Programs could impact the confidentiality, integrity and availability of the system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sap-ai-sdk-base"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25617"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/sap-ai-sdk-base/PYSEC-2023-315.yaml"
}, {
"type" : "WEB",
"url" : "https://launchpad.support.sap.com/#/notes/3283438"
}, {
"type" : "WEB",
"url" : "https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html"
}, {
"type" : "PACKAGE",
"url" : "https://www.sap.com/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-09T20:46:30Z",
"nvd_published_at" : "2023-03-14T05:15:00Z"
}
}