Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62455?format=api",
    "purl": "pkg:pypi/swift@2.30.1",
    "type": "pypi",
    "namespace": "",
    "name": "swift",
    "version": "2.30.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16660?format=api",
            "vulnerability_id": "VCID-4q5m-5rhy-kkf8",
            "summary": "OpenStack Swift XML external entities (XXE) Injection\nAn issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. By supplying crafted XML files, an authenticated user may coerce the S3 API into returning arbitrary file contents from the host server, resulting in unauthorized read access to potentially sensitive data. This impacts both s3api deployments (Rocky or later), and swift3 deployments (Queens and earlier, no longer actively developed).",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-47950",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48359",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-47950"
                },
                {
                    "reference_url": "https://github.com/openstack/swift",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e"
                },
                {
                    "reference_url": "https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b"
                },
                {
                    "reference_url": "https://launchpad.net/bugs/1998625",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://launchpad.net/bugs/1998625"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html"
                },
                {
                    "reference_url": "https://security.openstack.org/ossa/OSSA-2023-001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.openstack.org/ossa/OSSA-2023-001.html"
                },
                {
                    "reference_url": "https://www.debian.org/security/2023/dsa-5327",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2023/dsa-5327"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-47950",
                    "reference_id": "CVE-2022-47950",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-47950"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-274c-rx2j-2v3x",
                    "reference_id": "GHSA-274c-rx2j-2v3x",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-274c-rx2j-2v3x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62453?format=api",
                    "purl": "pkg:pypi/swift@2.28.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@2.28.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62454?format=api",
                    "purl": "pkg:pypi/swift@2.29.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@2.29.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62455?format=api",
                    "purl": "pkg:pypi/swift@2.30.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@2.30.1"
                }
            ],
            "aliases": [
                "CVE-2022-47950",
                "GHSA-274c-rx2j-2v3x"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4q5m-5rhy-kkf8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swift@2.30.1"
}