Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6347?format=api",
    "purl": "pkg:ebuild/mail-filter/libspf2@1.2.11",
    "type": "ebuild",
    "namespace": "mail-filter",
    "name": "libspf2",
    "version": "1.2.11",
    "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/183231?format=api",
            "vulnerability_id": "VCID-6azt-5h7m-sbhm",
            "summary": "Multiple vulnerabilities have been discovered in libspf2, the worst of which can lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-33913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80484",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80546",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80557",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80548",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-33913"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33913"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202401-22",
                    "reference_id": "GLSA-202401-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202401-22"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6584-1/",
                    "reference_id": "USN-6584-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6584-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6584-2/",
                    "reference_id": "USN-6584-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6584-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6347?format=api",
                    "purl": "pkg:ebuild/mail-filter/libspf2@1.2.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/mail-filter/libspf2@1.2.11"
                }
            ],
            "aliases": [
                "CVE-2021-33913"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6azt-5h7m-sbhm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/183230?format=api",
            "vulnerability_id": "VCID-pgs9-w29q-4ycb",
            "summary": "Multiple vulnerabilities have been discovered in libspf2, the worst of which can lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-33912",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80484",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80546",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80557",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80548",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-33912"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33912",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33912"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202401-22",
                    "reference_id": "GLSA-202401-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202401-22"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6584-1/",
                    "reference_id": "USN-6584-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6584-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6584-2/",
                    "reference_id": "USN-6584-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6584-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6347?format=api",
                    "purl": "pkg:ebuild/mail-filter/libspf2@1.2.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/mail-filter/libspf2@1.2.11"
                }
            ],
            "aliases": [
                "CVE-2021-33912"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pgs9-w29q-4ycb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/183229?format=api",
            "vulnerability_id": "VCID-r3xb-7c5c-5bay",
            "summary": "Multiple vulnerabilities have been discovered in libspf2, the worst of which can lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37913",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38089",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38115",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38102",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20314"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20314"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2280",
                    "reference_id": "AVG-2280",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2280"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202401-22",
                    "reference_id": "GLSA-202401-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202401-22"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6584-1/",
                    "reference_id": "USN-6584-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6584-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6347?format=api",
                    "purl": "pkg:ebuild/mail-filter/libspf2@1.2.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/mail-filter/libspf2@1.2.11"
                }
            ],
            "aliases": [
                "CVE-2021-20314"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r3xb-7c5c-5bay"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/mail-filter/libspf2@1.2.11"
}