Lookup for vulnerable packages by Package URL.

GET /api/packages/270155?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/270155?format=api",
    "purl": "pkg:npm/%40sap-cloud-sdk/core@1.20.2-alpha.0",
    "type": "npm",
    "namespace": "@sap-cloud-sdk",
    "name": "core",
    "version": "1.20.2-alpha.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.52.0",
    "latest_non_vulnerable_version": "1.52.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41696?format=api",
            "vulnerability_id": "VCID-2gwq-pd7m-3ubv",
            "summary": "Exposure of Sensitive Information to an Unauthorized Actor\n@sap-cloud-sdk/core contains the core functionality of the SAP Cloud SDK as well as the SAP Business Technology Platform abstractions. when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions. By default, destination caching is disabled. The security for caching has been increased. The changes are released Users unable to upgrade are advised to disable destination caching (it is disabled by default).",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41251",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00331",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56266",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00331",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56328",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00331",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56321",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41251"
                },
                {
                    "reference_url": "https://github.com/SAP/cloud-sdk-js",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/SAP/cloud-sdk-js"
                },
                {
                    "reference_url": "https://github.com/SAP/cloud-sdk-js/pull/1769",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/SAP/cloud-sdk-js/pull/1769"
                },
                {
                    "reference_url": "https://github.com/SAP/cloud-sdk-js/pull/1770",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/SAP/cloud-sdk-js/pull/1770"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41251",
                    "reference_id": "CVE-2021-41251",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41251"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gp2f-254m-rh32",
                    "reference_id": "GHSA-gp2f-254m-rh32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gp2f-254m-rh32"
                },
                {
                    "reference_url": "https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32",
                    "reference_id": "GHSA-gp2f-254m-rh32",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59530?format=api",
                    "purl": "pkg:npm/%40sap-cloud-sdk/core@1.52.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540sap-cloud-sdk/core@1.52.0"
                }
            ],
            "aliases": [
                "CVE-2021-41251",
                "GHSA-gp2f-254m-rh32"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2gwq-pd7m-3ubv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53345?format=api",
            "vulnerability_id": "VCID-y1y4-ruee-mbbz",
            "summary": "Improper Authorization in @sap-cloud-sdk/core\nAffected versions of `@sap-cloud-sdk/core` do not properly validate JWTs. The `verifyJwt()` function does not properly validate the URL from where the public verification key for the JWT can be downloaded. Any URL was trusted which makes it possible to provide a URL belonging to a manipulated JWT. Upgrade to or later.",
            "references": [
                {
                    "reference_url": "https://www.npmjs.com/advisories/1540",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/1540"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r2vw-jgq9-jqx2",
                    "reference_id": "GHSA-r2vw-jgq9-jqx2",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-r2vw-jgq9-jqx2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/78397?format=api",
                    "purl": "pkg:npm/%40sap-cloud-sdk/core@1.21.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2gwq-pd7m-3ubv"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540sap-cloud-sdk/core@1.21.2"
                }
            ],
            "aliases": [
                "GHSA-r2vw-jgq9-jqx2",
                "GMS-2020-37"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y1y4-ruee-mbbz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540sap-cloud-sdk/core@1.20.2-alpha.0"
}