Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13868?format=api",
    "purl": "pkg:pypi/ironic-inspector@3.3.0",
    "type": "pypi",
    "namespace": "",
    "name": "ironic-inspector",
    "version": "3.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.0.2",
    "latest_non_vulnerable_version": "8.2.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35389?format=api",
            "vulnerability_id": "VCID-5fdf-nb87-m3he",
            "summary": "A vulnerability was found in openstack-ironic-inspector all versions excluding 5.0.2, 6.0.3, 7.2.4, 8.0.3 and 8.2.1. A SQL-injection vulnerability was found in openstack-ironic-inspector's node_cache.find_node(). This function makes a SQL query using unfiltered data from a server reporting inspection results (by a POST to the /v1/continue endpoint). Because the API is unauthenticated, the flaw could be exploited by an attacker with access to the network on which ironic-inspector is listening. Because of how ironic-inspector uses the query results, it is unlikely that data could be obtained. However, the attacker could pass malicious data and create a denial of service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:2505",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:2505"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141"
                },
                {
                    "reference_url": "https://docs.openstack.org/releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.openstack.org/releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata"
                },
                {
                    "reference_url": "https://docs.openstack.org/releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.openstack.org/releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike"
                },
                {
                    "reference_url": "https://docs.openstack.org/releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.openstack.org/releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens"
                },
                {
                    "reference_url": "https://docs.openstack.org/releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.openstack.org/releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky"
                },
                {
                    "reference_url": "https://docs.openstack.org/releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.openstack.org/releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13894?format=api",
                    "purl": "pkg:pypi/ironic-inspector@5.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@5.0.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13895?format=api",
                    "purl": "pkg:pypi/ironic-inspector@6.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@6.0.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13892?format=api",
                    "purl": "pkg:pypi/ironic-inspector@7.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@7.2.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13896?format=api",
                    "purl": "pkg:pypi/ironic-inspector@8.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@8.0.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13893?format=api",
                    "purl": "pkg:pypi/ironic-inspector@8.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@8.2.1"
                }
            ],
            "aliases": [
                "CVE-2019-10141",
                "PYSEC-2019-152"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5fdf-nb87-m3he"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@3.3.0"
}