Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/583931?format=api",
    "purl": "pkg:deb/debian/dnsmasq@2.21?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "dnsmasq",
    "version": "2.21",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.26-1",
    "latest_non_vulnerable_version": "2.92-4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/91358?format=api",
            "vulnerability_id": "VCID-2ajy-5x5f-bqdk",
            "summary": "Off-by-one buffer overflow in Dnsmasq before 2.21 may allow attackers to execute arbitrary code via the DHCP lease file.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0876",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84517",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84423",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84438",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84457",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84459",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8448",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84486",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84504",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84499",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84494",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84515",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0222",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84516",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0876"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0876",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0876"
                },
                {
                    "reference_url": "http://secunia.com/advisories/14691",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/14691"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19825",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19825"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/12897",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/12897"
                },
                {
                    "reference_url": "http://www.thekelleys.org.uk/dnsmasq/CHANGELOG",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.thekelleys.org.uk/dnsmasq/CHANGELOG"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.14:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.14:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.14:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.15:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.15:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.15:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.16:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.16:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.16:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.17:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.17:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.17:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.18:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.18:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.18:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.19:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.19:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.19:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.20:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:dnsmasq:dnsmasq:2.20:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:dnsmasq:dnsmasq:2.20:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2005-0876",
                    "reference_id": "CVE-2005-0876",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2005-0876"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583931?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.21?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.21%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582122?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.85-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1bzd-pqhn-hqfj"
                        },
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.85-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582125?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.90-4~deb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.90-4~deb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582126?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.91-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.91-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582127?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.92-3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.92-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1072610?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.92-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.92-4%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2005-0876"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2ajy-5x5f-bqdk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80013?format=api",
            "vulnerability_id": "VCID-nkc5-xdc9-2ff8",
            "summary": "dnsmasq: DNS cache poisoning from local network may lead to DoS",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0877.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0877.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0877",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.1673",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16687",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16694",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16725",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16895",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16952",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16735",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16823",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.1688",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16856",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16811",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00053",
                            "scoring_system": "epss",
                            "scoring_elements": "0.16753",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0877"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0877",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0877"
                },
                {
                    "reference_url": "http://secunia.com/advisories/14691",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/14691"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19826",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19826"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/12897",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/12897"
                },
                {
                    "reference_url": "http://www.thekelleys.org.uk/dnsmasq/CHANGELOG",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.thekelleys.org.uk/dnsmasq/CHANGELOG"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2011237",
                    "reference_id": "2011237",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2011237"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2005-0877",
                    "reference_id": "CVE-2005-0877",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:P/A:N"
                        },
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2005-0877"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583931?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.21?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.21%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582122?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.85-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1bzd-pqhn-hqfj"
                        },
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.85-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582125?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.90-4~deb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.90-4~deb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582126?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.91-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.91-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582127?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.92-3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-vhvr-ddwf-53fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.92-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1072610?format=api",
                    "purl": "pkg:deb/debian/dnsmasq@2.92-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.92-4%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2005-0877"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nkc5-xdc9-2ff8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dnsmasq@2.21%3Fdistro=trixie"
}