Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57325?format=api",
    "purl": "pkg:gem/bootstrap@4.0.0.alpha1",
    "type": "gem",
    "namespace": "",
    "name": "bootstrap",
    "version": "4.0.0.alpha1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.1.2",
    "latest_non_vulnerable_version": "4.3.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40596?format=api",
            "vulnerability_id": "VCID-hbhg-1exc-kbfy",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nIn Bootstrap, XSS is possible in the affix configuration target property.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHBA-2019:1076",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHBA-2019:1076"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHBA-2019:1570",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHBA-2019:1570"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1456",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1456"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:3023",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3023"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0132",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0132"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0133",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0133"
                },
                {
                    "reference_url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0"
                },
                {
                    "reference_url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap/issues/27045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap/issues/27045"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628"
                },
                {
                    "reference_url": "https://github.com/twbs/bootstrap/pull/27047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/twbs/bootstrap/pull/27047"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20677",
                    "reference_id": "CVE-2018-20677",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20677"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20677.yml",
                    "reference_id": "CVE-2018-20677.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20677.yml"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml",
                    "reference_id": "CVE-2018-20677.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-ph58-4vrj-w6hr",
                    "reference_id": "GHSA-ph58-4vrj-w6hr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-ph58-4vrj-w6hr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57325?format=api",
                    "purl": "pkg:gem/bootstrap@4.0.0.alpha1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap@4.0.0.alpha1"
                }
            ],
            "aliases": [
                "CVE-2018-20677",
                "GHSA-ph58-4vrj-w6hr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hbhg-1exc-kbfy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap@4.0.0.alpha1"
}