Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/103817?format=api",
    "purl": "pkg:deb/debian/libspf2@1.2.10-7.2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "libspf2",
    "version": "1.2.10-7.2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.2.10-8.3",
    "latest_non_vulnerable_version": "1.2.10-9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7003?format=api",
            "vulnerability_id": "VCID-273a-x5sb-kudp",
            "summary": "arbitrary 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.37919",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37825",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37916",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37865",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37888",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37853",
                            "published_at": "2026-06-08T12: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/103820?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103823?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103817?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103822?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-8.3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-8.3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103821?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-9?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-9%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-20314"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-273a-x5sb-kudp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77403?format=api",
            "vulnerability_id": "VCID-4zp1-5743-97ce",
            "summary": "libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.",
            "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.80405",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80431",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80433",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8043",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80425",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80446",
                            "published_at": "2026-06-09T12: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/103820?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103823?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103817?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103822?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-8.3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-8.3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103821?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-9?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-9%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-33912"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4zp1-5743-97ce"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77404?format=api",
            "vulnerability_id": "VCID-af5q-waxd-akan",
            "summary": "libspf2 before 1.2.11 has a heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.",
            "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.80405",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80431",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80433",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8043",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80425",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.01346",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80446",
                            "published_at": "2026-06-09T12: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/103820?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103823?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103817?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103822?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-8.3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-8.3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103821?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-9?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-9%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-33913"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-af5q-waxd-akan"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77402?format=api",
            "vulnerability_id": "VCID-cnyj-mdkv-dqgc",
            "summary": "Heap-based buffer overflow in the SPF_dns_resolv_lookup function in Spf_dns_resolv.c in libspf2 before 1.2.8 allows remote attackers to execute arbitrary code via a long DNS TXT record with a modified length field.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2469",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9735",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97354",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97356",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97357",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97358",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.38959",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97359",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2469"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2469",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2469"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200810-03",
                    "reference_id": "GLSA-200810-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200810-03"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/dos/6805.txt",
                    "reference_id": "OSVDB-49277;CVE-2008-2469",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/dos/6805.txt"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103819?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.9-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.9-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103820?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103817?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-7.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103822?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-8.3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-8.3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103821?format=api",
                    "purl": "pkg:deb/debian/libspf2@1.2.10-9?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-9%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2008-2469"
            ],
            "risk_score": 0.8,
            "exploitability": "2.0",
            "weighted_severity": "0.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cnyj-mdkv-dqgc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libspf2@1.2.10-7.2%3Fdistro=trixie"
}