Vulnerabilities in pkg:pypi/sap-ai-sdk-base

PACKAGE
Advisory Identifier: GHSA-xxhh-59gh-6ffx
Advisory Summary

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

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/sap-ai-sdk-base

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/sap-ai-sdk-base. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xxhh-59gh-6ffx CVE-2023-25617 HIGH SAP Cloud SDK for AI Python has OS Command Injection when Program Objects Execution is Enabled

CVE-2023-25617 at a Glance

CVE Identifier CVE-2023-25617
GHSA Identifier GHSA-xxhh-59gh-6ffx
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Sap ai sdk base
Package Ecosystem PyPI
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

sap-ai-sdk-base fixed: Latest secure release
pip install sap-ai-sdk-base>=Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2023-25617 is a security vulnerability in Sap ai sdk base involving SAP Cloud SDK for AI Python has OS Command Injection when Program Objects Execution is Enabled under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Sap ai sdk base versions are affected?
Affected versions include releases prior to current release patches across affected packages: sap-ai-sdk-base.
What version fixes CVE-2023-25617?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is sap-ai-sdk-base affected?
Yes, sap-ai-sdk-base is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-25617?
CVE-2023-25617 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-25617?
CVE-2023-25617 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (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.).
How can I check PyPI dependencies for CVE-2023-25617?
Run the dependency tree command: 'pip show sap-ai-sdk-base'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}