Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28927?format=api",
    "purl": "pkg:pypi/oslo-utils@0.2.0",
    "type": "pypi",
    "namespace": "",
    "name": "oslo-utils",
    "version": "0.2.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": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43881?format=api",
            "vulnerability_id": "VCID-hr29-1k63-h7fp",
            "summary": "OpenStack Oslo utility sensitive information exposure via log files\nThe strutils.mask_password function in the OpenStack Oslo utility library, Cinder, Nova, and Trove before 2013.2.4 and 2014.1 before 2014.1.3 does not properly mask passwords when logging commands, which allows local users to obtain passwords by reading the log.",
            "references": [
                {
                    "reference_url": "https://bugs.launchpad.net/oslo.utils/+bug/1345233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/oslo.utils/+bug/1345233"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/96726",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/96726"
                },
                {
                    "reference_url": "https://github.com/openstack/oslo.utils",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/oslo.utils"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-7231",
                    "reference_id": "CVE-2014-7231",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-7231"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v933-vx5p-j7w2",
                    "reference_id": "GHSA-v933-vx5p-j7w2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-v933-vx5p-j7w2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28927?format=api",
                    "purl": "pkg:pypi/oslo-utils@0.2.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-f76m-vpwk-aqfr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-utils@0.2.0"
                }
            ],
            "aliases": [
                "CVE-2014-7231",
                "GHSA-v933-vx5p-j7w2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hr29-1k63-h7fp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oslo-utils@0.2.0"
}