Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11308?format=api",
    "purl": "pkg:pypi/diffoscope@74",
    "type": "pypi",
    "namespace": "",
    "name": "diffoscope",
    "version": "74",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "256",
    "latest_non_vulnerable_version": "256",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35200?format=api",
            "vulnerability_id": "VCID-881t-fv6t-ybaw",
            "summary": "diffoscope before 77 writes to arbitrary locations on disk based on the contents of an untrusted archive.",
            "references": [
                {
                    "reference_url": "https://bugs.debian.org/854723",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/854723"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854723",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854723"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8p5c-f328-9fvv",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8p5c-f328-9fvv"
                },
                {
                    "reference_url": "https://github.com/anthraxx/diffoscope",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/anthraxx/diffoscope"
                },
                {
                    "reference_url": "https://github.com/anthraxx/diffoscope/commit/632a40828a54b399787c25e7fa243f732aef7e05",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/anthraxx/diffoscope/commit/632a40828a54b399787c25e7fa243f732aef7e05"
                },
                {
                    "reference_url": "https://github.com/anthraxx/diffoscope/commit/f379d1f611dbd5d361e12b732e07c8aee45ff226",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/anthraxx/diffoscope/commit/f379d1f611dbd5d361e12b732e07c8aee45ff226"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2018-83.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2018-83.yaml"
                },
                {
                    "reference_url": "https://security-tracker.debian.org/tracker/CVE-2017-0359",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security-tracker.debian.org/tracker/CVE-2017-0359"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0359",
                    "reference_id": "CVE-2017-0359",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0359"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11310?format=api",
                    "purl": "pkg:pypi/diffoscope@76",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-881t-fv6t-ybaw"
                        },
                        {
                            "vulnerability": "VCID-c5n9-pffj-dqaj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@76"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11311?format=api",
                    "purl": "pkg:pypi/diffoscope@77",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-c5n9-pffj-dqaj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@77"
                }
            ],
            "aliases": [
                "CVE-2017-0359",
                "GHSA-8p5c-f328-9fvv",
                "PYSEC-2018-83"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-881t-fv6t-ybaw"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36742?format=api",
            "vulnerability_id": "VCID-c5n9-pffj-dqaj",
            "summary": "diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/"
                },
                {
                    "reference_url": "https://salsa.debian.org/reproducible-builds/diffoscope",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://salsa.debian.org/reproducible-builds/diffoscope"
                },
                {
                    "reference_url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e"
                },
                {
                    "reference_url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-25711",
                    "reference_id": "CVE-2024-25711",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-25711"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-33w6-hvmq-gh4x",
                    "reference_id": "GHSA-33w6-hvmq-gh4x",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-33w6-hvmq-gh4x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40517?format=api",
                    "purl": "pkg:pypi/diffoscope@256",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@256"
                }
            ],
            "aliases": [
                "CVE-2024-25711",
                "GHSA-33w6-hvmq-gh4x",
                "PYSEC-2024-41"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c5n9-pffj-dqaj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@74"
}