Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13620?format=api",
    "purl": "pkg:pypi/python-libnmap@0.2.3",
    "type": "pypi",
    "namespace": "",
    "name": "python-libnmap",
    "version": "0.2.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.7.3",
    "latest_non_vulnerable_version": "0.7.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35376?format=api",
            "vulnerability_id": "VCID-3d32-3wzk-7fcp",
            "summary": "libnmap < v0.6.3 is affected by: XML Injection. The impact is: Denial of service (DoS) by consuming resources. The component is: XML Parsing. The attack vector is: Specially crafted XML payload.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-9ccv-p7fg-m73x",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-9ccv-p7fg-m73x"
                },
                {
                    "reference_url": "https://github.com/savon-noir/python-libnmap/issues/87",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/savon-noir/python-libnmap/issues/87"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13631?format=api",
                    "purl": "pkg:pypi/python-libnmap@0.6.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-u1n5-hfbx-wuhs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-libnmap@0.6.3"
                }
            ],
            "aliases": [
                "CVE-2019-1010017",
                "GHSA-9ccv-p7fg-m73x",
                "PYSEC-2019-218"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3d32-3wzk-7fcp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36086?format=api",
            "vulnerability_id": "VCID-u1n5-hfbx-wuhs",
            "summary": "** DISPUTED ** In the python-libnmap package through 0.7.2 for Python, remote command execution can occur (if used in a client application that does not validate arguments). NOTE: the vendor believes it would be unrealistic for an application to call NmapProcess with arguments taken from input data that arrived over an untrusted network, and thus the CVSS score corresponds to an unrealistic use case. None of the NmapProcess documentation implies that this is an expected use case.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-libnmap/PYSEC-2022-42999.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-libnmap/PYSEC-2022-42999.yaml"
                },
                {
                    "reference_url": "https://github.com/savon-noir/python-libnmap",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/savon-noir/python-libnmap"
                },
                {
                    "reference_url": "https://github.com/savon-noir/python-libnmap/commit/c36fecde90017befeb4853396d0e2aac93c95b64",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/savon-noir/python-libnmap/commit/c36fecde90017befeb4853396d0e2aac93c95b64"
                },
                {
                    "reference_url": "https://github.com/savon-noir/python-libnmap/releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/savon-noir/python-libnmap/releases"
                },
                {
                    "reference_url": "https://github.com/savon-noir/python-libnmap/releases/tag/v0.7.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/savon-noir/python-libnmap/releases/tag/v0.7.3"
                },
                {
                    "reference_url": "https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://libnmap.readthedocs.io/en/latest/process.html#using-libnmap-process"
                },
                {
                    "reference_url": "https://pypi.org/project/python-libnmap",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/python-libnmap"
                },
                {
                    "reference_url": "https://pypi.org/project/python-libnmap/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/python-libnmap/"
                },
                {
                    "reference_url": "https://www.swascan.com/security-advisory-libnmap-2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.swascan.com/security-advisory-libnmap-2"
                },
                {
                    "reference_url": "https://www.swascan.com/security-advisory-libnmap-2/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.swascan.com/security-advisory-libnmap-2/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-30284",
                    "reference_id": "CVE-2022-30284",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-30284"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qwqv-j7jr-4hp6",
                    "reference_id": "GHSA-qwqv-j7jr-4hp6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qwqv-j7jr-4hp6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/27713?format=api",
                    "purl": "pkg:pypi/python-libnmap@0.7.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-libnmap@0.7.3"
                }
            ],
            "aliases": [
                "CVE-2022-30284",
                "GHSA-qwqv-j7jr-4hp6",
                "PYSEC-2022-42999"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u1n5-hfbx-wuhs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-libnmap@0.2.3"
}