GHSA-p99h-pfg6-qrfg: Duplicate Advisory Cross-Site Scripting Vulnerability
CRITICALGHSA-p99h-pfg6-qrfg is a CRITICAL (CVSS 9.1) cross-site scripting vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves privilege escalation in sap-xssec. Remediation is available by upgrading affected packages to version 4.1.0.
GHSA-p99h-pfg6-qrfg at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix GHSA-p99h-pfg6-qrfg
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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-xssec>=4.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sap-xssec
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-p99h-pfg6-qrfg, inspect your installed packages using pip:
pip show sap-xssec
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.0), your application is affected.
Note: The pip show sap-xssec command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Duplicate Advisory, 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
GHSA-p99h-pfg6-qrfg Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sap-xssec
|
PyPI |
< 4.1.0
|
4.1.0
|
References
Frequently Asked Questions
What is GHSA-p99h-pfg6-qrfg?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-p99h-pfg6-qrfg?
Is sap-xssec affected?
What is the CVSS score of GHSA-p99h-pfg6-qrfg?
What CWE is associated with GHSA-p99h-pfg6-qrfg?
How can I check PyPI dependencies for GHSA-p99h-pfg6-qrfg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p99h-pfg6-qrfg",
"modified" : "2024-09-30T18:51:33Z",
"published" : "2023-12-12T03:31:45Z",
"withdrawn" : "2024-09-30T18:51:33Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Privilege escalation in sap-xssec",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-6mjg-37cp-42x5. This link is maintained to preserve external references.\n\n## Original Description\nSAP BTP Security Services Integration Library ([Python] sap-xssec) - versions < 4.1.0, allow under certain conditions an escalation of privileges. On successful exploitation, an unauthenticated attacker can obtain arbitrary permissions within the application.\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sap-xssec"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/SAP/cloud-pysec/security/advisories/GHSA-6mjg-37cp-42x5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50423"
}, {
"type" : "WEB",
"url" : "https://blogs.sap.com/2023/12/12/unveiling-critical-security-updates-sap-btp-security-note-3411067"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/SAP/cloud-pysec"
}, {
"type" : "WEB",
"url" : "https://me.sap.com/notes/3411067"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/sap-xssec"
}, {
"type" : "WEB",
"url" : "https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-639", "CWE-749" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-15T03:18:45Z",
"nvd_published_at" : "2023-12-12T02:15:08Z"
}
}