Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/373830?format=api",
    "purl": "pkg:alpm/archlinux/python-babel@2.9.1-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "python-babel",
    "version": "2.9.1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46240?format=api",
            "vulnerability_id": "VCID-szsp-k3sg-r3eu",
            "summary": "A vulnerability in Babel could result in remote code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20095.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20095.json"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1955615",
                    "reference_id": "1955615",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1955615"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202105-15",
                    "reference_id": "ASA-202105-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202105-15"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1894",
                    "reference_id": "AVG-1894",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1894"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-03",
                    "reference_id": "GLSA-202208-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-03"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:3252",
                    "reference_id": "RHSA-2021:3252",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:3252"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4151",
                    "reference_id": "RHSA-2021:4151",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4151"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4162",
                    "reference_id": "RHSA-2021:4162",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4162"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4201",
                    "reference_id": "RHSA-2021:4201",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4201"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4962-1/",
                    "reference_id": "USN-4962-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4962-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/373830?format=api",
                    "purl": "pkg:alpm/archlinux/python-babel@2.9.1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-babel@2.9.1-1"
                }
            ],
            "aliases": [
                "CVE-2021-20095"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-szsp-k3sg-r3eu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-babel@2.9.1-1"
}