Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/582112?format=api",
    "purl": "pkg:deb/debian/cups@2.2.10-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "cups",
    "version": "2.2.10-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.12-1",
    "latest_non_vulnerable_version": "2.4.17-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82676?format=api",
            "vulnerability_id": "VCID-6mus-21kz-uuhz",
            "summary": "cups: Session cookie generated by the CUPS web interface is easy to guess",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-4300.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-4300.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-4300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00377",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5925",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00377",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59226",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00377",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59263",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00377",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59268",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65602",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65632",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65598",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65649",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65662",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65682",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65668",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65554",
                            "published_at": "2026-04-01T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-4300"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-4300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-4300"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/apple/cups/releases/tag/v2.2.10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apple/cups/releases/tag/v2.2.10"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2019/09/msg00028.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/09/msg00028.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/107785",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/107785"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1695929",
                    "reference_id": "1695929",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1695929"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915909",
                    "reference_id": "915909",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915909"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-4300",
                    "reference_id": "CVE-2018-4300",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:N/A:N"
                        },
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-4300"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1050",
                    "reference_id": "RHSA-2020:1050",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1050"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582112?format=api",
                    "purl": "pkg:deb/debian/cups@2.2.10-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.2.10-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582113?format=api",
                    "purl": "pkg:deb/debian/cups@2.3.3op2-3%2Bdeb11u8?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-63fa-a4pr-wqh3"
                        },
                        {
                            "vulnerability": "VCID-b1yf-xuc1-ykak"
                        },
                        {
                            "vulnerability": "VCID-dx89-e1nn-w7gz"
                        },
                        {
                            "vulnerability": "VCID-hc4t-becn-rkcc"
                        },
                        {
                            "vulnerability": "VCID-jy1y-e1nk-p3b4"
                        },
                        {
                            "vulnerability": "VCID-r1q4-2dq2-33ca"
                        },
                        {
                            "vulnerability": "VCID-ry9y-z4e4-yfdh"
                        },
                        {
                            "vulnerability": "VCID-vgtp-sjtt-73e9"
                        },
                        {
                            "vulnerability": "VCID-wr17-e776-bqh1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.3.3op2-3%252Bdeb11u8%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582114?format=api",
                    "purl": "pkg:deb/debian/cups@2.4.2-3%2Bdeb12u9?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-63fa-a4pr-wqh3"
                        },
                        {
                            "vulnerability": "VCID-b1yf-xuc1-ykak"
                        },
                        {
                            "vulnerability": "VCID-dx89-e1nn-w7gz"
                        },
                        {
                            "vulnerability": "VCID-hc4t-becn-rkcc"
                        },
                        {
                            "vulnerability": "VCID-jy1y-e1nk-p3b4"
                        },
                        {
                            "vulnerability": "VCID-r1q4-2dq2-33ca"
                        },
                        {
                            "vulnerability": "VCID-ry9y-z4e4-yfdh"
                        },
                        {
                            "vulnerability": "VCID-vgtp-sjtt-73e9"
                        },
                        {
                            "vulnerability": "VCID-wr17-e776-bqh1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.2-3%252Bdeb12u9%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582115?format=api",
                    "purl": "pkg:deb/debian/cups@2.4.10-3%2Bdeb13u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-63fa-a4pr-wqh3"
                        },
                        {
                            "vulnerability": "VCID-b1yf-xuc1-ykak"
                        },
                        {
                            "vulnerability": "VCID-dx89-e1nn-w7gz"
                        },
                        {
                            "vulnerability": "VCID-hc4t-becn-rkcc"
                        },
                        {
                            "vulnerability": "VCID-jy1y-e1nk-p3b4"
                        },
                        {
                            "vulnerability": "VCID-r1q4-2dq2-33ca"
                        },
                        {
                            "vulnerability": "VCID-ry9y-z4e4-yfdh"
                        },
                        {
                            "vulnerability": "VCID-vgtp-sjtt-73e9"
                        },
                        {
                            "vulnerability": "VCID-wr17-e776-bqh1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.10-3%252Bdeb13u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582116?format=api",
                    "purl": "pkg:deb/debian/cups@2.4.16-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-63fa-a4pr-wqh3"
                        },
                        {
                            "vulnerability": "VCID-b1yf-xuc1-ykak"
                        },
                        {
                            "vulnerability": "VCID-dx89-e1nn-w7gz"
                        },
                        {
                            "vulnerability": "VCID-hc4t-becn-rkcc"
                        },
                        {
                            "vulnerability": "VCID-r1q4-2dq2-33ca"
                        },
                        {
                            "vulnerability": "VCID-ry9y-z4e4-yfdh"
                        },
                        {
                            "vulnerability": "VCID-vgtp-sjtt-73e9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.16-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1072608?format=api",
                    "purl": "pkg:deb/debian/cups@2.4.17-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.17-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2018-4300"
            ],
            "risk_score": 3.3,
            "exploitability": "0.5",
            "weighted_severity": "6.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6mus-21kz-uuhz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.2.10-1%3Fdistro=trixie"
}