Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/582393?format=api",
    "purl": "pkg:deb/debian/dpkg@1.20.13",
    "type": "deb",
    "namespace": "debian",
    "name": "dpkg",
    "version": "1.20.13",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.21.23",
    "latest_non_vulnerable_version": "1.22.22",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/96857?format=api",
            "vulnerability_id": "VCID-1786-vddy-dfbz",
            "summary": "It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup. Given automated and repeated execution of dpkg-deb commands on adversarial .deb packages or with well compressible files, placed inside a directory with permissions not allowing removal by a non-root user, this can end up in a DoS scenario due to causing disk quota exhaustion or disk full conditions.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-6297",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23351",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23294",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23311",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2342",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2346",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23246",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23319",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23369",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00078",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23388",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00088",
                            "scoring_system": "epss",
                            "scoring_elements": "0.25078",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00088",
                            "scoring_system": "epss",
                            "scoring_elements": "0.24979",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00088",
                            "scoring_system": "epss",
                            "scoring_elements": "0.24989",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00088",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2505",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48148",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48098",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48043",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48073",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48089",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48009",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48074",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-6297"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-6297",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-6297"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ed6bbd445dd8800308c67236ba35d08004c98e82",
                    "reference_id": "?id=ed6bbd445dd8800308c67236ba35d08004c98e82",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-07-01T17:30:21Z/"
                        }
                    ],
                    "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ed6bbd445dd8800308c67236ba35d08004c98e82"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7768-1/",
                    "reference_id": "USN-7768-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7768-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1089402?format=api",
                    "purl": "pkg:deb/debian/dpkg@1.21.23",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dpkg@1.21.23"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582395?format=api",
                    "purl": "pkg:deb/debian/dpkg@1.22.22",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dpkg@1.22.22"
                }
            ],
            "aliases": [
                "CVE-2025-6297"
            ],
            "risk_score": 2.0,
            "exploitability": "0.5",
            "weighted_severity": "4.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1786-vddy-dfbz"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47241?format=api",
            "vulnerability_id": "VCID-xxdx-hfvz-tfaf",
            "summary": "A vulnerability has been discovered in dpkg, which allows for directory traversal.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1664",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63679",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63794",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63807",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63793",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6376",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63796",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63805",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6381",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63822",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63739",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63765",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63725",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00453",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63777",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69215",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69258",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69292",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69259",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69284",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69332",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00589",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69234",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1664"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1664",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1664"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202408-30",
                    "reference_id": "GLSA-202408-30",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202408-30"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5446-1/",
                    "reference_id": "USN-5446-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5446-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5446-2/",
                    "reference_id": "USN-5446-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5446-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1038235?format=api",
                    "purl": "pkg:deb/debian/dpkg@1.19.8",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-xxdx-hfvz-tfaf"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dpkg@1.19.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582393?format=api",
                    "purl": "pkg:deb/debian/dpkg@1.20.13",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1786-vddy-dfbz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dpkg@1.20.13"
                }
            ],
            "aliases": [
                "CVE-2022-1664"
            ],
            "risk_score": 1.1,
            "exploitability": "0.5",
            "weighted_severity": "2.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xxdx-hfvz-tfaf"
        }
    ],
    "risk_score": "2.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dpkg@1.20.13"
}