Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9060?format=api",
    "purl": "pkg:pypi/ironic-inspector@2.2.2",
    "type": "pypi",
    "namespace": "",
    "name": "ironic-inspector",
    "version": "2.2.2",
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34975?format=api",
            "vulnerability_id": "VCID-a1kf-nrnr-ekfb",
            "summary": "OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd), when debug mode is enabled, might allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.",
            "references": [
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2015-2685.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2015-2685.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:1929",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:1929"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:2685",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:2685"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/ironic-inspector/+bug/1506419",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/ironic-inspector/+bug/1506419"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1273698",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1273698"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2015-28.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2015-28.yaml"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2015-5306",
                    "reference_id": "CVE-2015-5306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2015-5306"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5306",
                    "reference_id": "CVE-2015-5306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5306"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x64g-wjmw-w328",
                    "reference_id": "GHSA-x64g-wjmw-w328",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x64g-wjmw-w328"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9066?format=api",
                    "purl": "pkg:pypi/ironic-inspector@2.3.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-5fdf-nb87-m3he"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@2.3.0"
                }
            ],
            "aliases": [
                "CVE-2015-5306",
                "GHSA-x64g-wjmw-w328",
                "PYSEC-2015-28"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1kf-nrnr-ekfb"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34975?format=api",
            "vulnerability_id": "VCID-a1kf-nrnr-ekfb",
            "summary": "OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd), when debug mode is enabled, might allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.",
            "references": [
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2015-2685.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2015-2685.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:1929",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:1929"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:2685",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:2685"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/ironic-inspector/+bug/1506419",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/ironic-inspector/+bug/1506419"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1273698",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1273698"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2015-28.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2015-28.yaml"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910"
                },
                {
                    "reference_url": "https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2015-5306",
                    "reference_id": "CVE-2015-5306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2015-5306"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5306",
                    "reference_id": "CVE-2015-5306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5306"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x64g-wjmw-w328",
                    "reference_id": "GHSA-x64g-wjmw-w328",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x64g-wjmw-w328"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9060?format=api",
                    "purl": "pkg:pypi/ironic-inspector@2.2.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-5fdf-nb87-m3he"
                        },
                        {
                            "vulnerability": "VCID-a1kf-nrnr-ekfb"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@2.2.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9066?format=api",
                    "purl": "pkg:pypi/ironic-inspector@2.3.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-5fdf-nb87-m3he"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@2.3.0"
                }
            ],
            "aliases": [
                "CVE-2015-5306",
                "GHSA-x64g-wjmw-w328",
                "PYSEC-2015-28"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1kf-nrnr-ekfb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic-inspector@2.2.2"
}