Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28966?format=api",
    "purl": "pkg:pypi/oslo-utils@3.14.0",
    "type": "pypi",
    "namespace": "",
    "name": "oslo-utils",
    "version": "3.14.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.10.1",
    "latest_non_vulnerable_version": "4.10.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36176?format=api",
            "vulnerability_id": "VCID-f76m-vpwk-aqfr",
            "summary": "A flaw was found in python-oslo-utils. Due to improper parsing, passwords with a double quote ( \" ) in them cause incorrect masking in debug logs, causing any part of the password after the double quote to be plaintext.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2022-0718",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2022-0718"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/oslo.utils/+bug/1949623",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/oslo.utils/+bug/1949623"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2056850",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2056850"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wmqq-r32m-87c5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wmqq-r32m-87c5"
                },
                {
                    "reference_url": "https://opendev.org/openstack/oslo.utils/commit/6e17ae1f7959c64dfd20a5f67edf422e702426aa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/oslo.utils/commit/6e17ae1f7959c64dfd20a5f67edf422e702426aa"
                },
                {
                    "reference_url": "https://security-tracker.debian.org/tracker/CVE-2022-0718",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security-tracker.debian.org/tracker/CVE-2022-0718"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/29047?format=api",
                    "purl": "pkg:pypi/oslo-utils@4.10.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-utils@4.10.1"
                }
            ],
            "aliases": [
                "CVE-2022-0718",
                "GHSA-wmqq-r32m-87c5",
                "PYSEC-2022-258"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f76m-vpwk-aqfr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-utils@3.14.0"
}