Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/933905?format=api",
    "purl": "pkg:deb/debian/openssh@1:4.7p1-8?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "openssh",
    "version": "1:4.7p1-8",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:4.7p1-10",
    "latest_non_vulnerable_version": "1:10.3p1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58537?format=api",
            "vulnerability_id": "VCID-9zr9-947g-g7dn",
            "summary": "Two flaws have been discovered in OpenSSH which could allow local attackers\n    to escalate their privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-1657.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-1657.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-1657",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63899",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63958",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63985",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63945",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63995",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64012",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64024",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6401",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63981",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64016",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64028",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64035",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00458",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64048",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-1657"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1657",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1657"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=440268",
                    "reference_id": "440268",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=440268"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475156",
                    "reference_id": "475156",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475156"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200804-03",
                    "reference_id": "GLSA-200804-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200804-03"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/649-1/",
                    "reference_id": "USN-649-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/649-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/933905?format=api",
                    "purl": "pkg:deb/debian/openssh@1:4.7p1-8?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:4.7p1-8%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/933878?format=api",
                    "purl": "pkg:deb/debian/openssh@1:8.4p1-5%2Bdeb11u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-792n-jkzj-qqhd"
                        },
                        {
                            "vulnerability": "VCID-8efr-budq-6bb6"
                        },
                        {
                            "vulnerability": "VCID-a4eq-r71a-buhm"
                        },
                        {
                            "vulnerability": "VCID-a7m6-uqbt-nqd9"
                        },
                        {
                            "vulnerability": "VCID-ajmg-5kgx-k7h5"
                        },
                        {
                            "vulnerability": "VCID-b4uc-yh56-muej"
                        },
                        {
                            "vulnerability": "VCID-bnrq-2fsr-mfgd"
                        },
                        {
                            "vulnerability": "VCID-kgn5-p8kx-qucj"
                        },
                        {
                            "vulnerability": "VCID-wga4-sqwk-4bfj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:8.4p1-5%252Bdeb11u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/933876?format=api",
                    "purl": "pkg:deb/debian/openssh@1:9.2p1-2%2Bdeb12u7?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-792n-jkzj-qqhd"
                        },
                        {
                            "vulnerability": "VCID-8efr-budq-6bb6"
                        },
                        {
                            "vulnerability": "VCID-a4eq-r71a-buhm"
                        },
                        {
                            "vulnerability": "VCID-a7m6-uqbt-nqd9"
                        },
                        {
                            "vulnerability": "VCID-ajmg-5kgx-k7h5"
                        },
                        {
                            "vulnerability": "VCID-bnrq-2fsr-mfgd"
                        },
                        {
                            "vulnerability": "VCID-kgn5-p8kx-qucj"
                        },
                        {
                            "vulnerability": "VCID-wga4-sqwk-4bfj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:9.2p1-2%252Bdeb12u7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/933880?format=api",
                    "purl": "pkg:deb/debian/openssh@1:10.0p1-7%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-792n-jkzj-qqhd"
                        },
                        {
                            "vulnerability": "VCID-8efr-budq-6bb6"
                        },
                        {
                            "vulnerability": "VCID-a4eq-r71a-buhm"
                        },
                        {
                            "vulnerability": "VCID-ajmg-5kgx-k7h5"
                        },
                        {
                            "vulnerability": "VCID-bnrq-2fsr-mfgd"
                        },
                        {
                            "vulnerability": "VCID-kgn5-p8kx-qucj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:10.0p1-7%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/933879?format=api",
                    "purl": "pkg:deb/debian/openssh@1:10.2p1-6?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-792n-jkzj-qqhd"
                        },
                        {
                            "vulnerability": "VCID-8efr-budq-6bb6"
                        },
                        {
                            "vulnerability": "VCID-a4eq-r71a-buhm"
                        },
                        {
                            "vulnerability": "VCID-bnrq-2fsr-mfgd"
                        },
                        {
                            "vulnerability": "VCID-kgn5-p8kx-qucj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:10.2p1-6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1062514?format=api",
                    "purl": "pkg:deb/debian/openssh@1:10.3p1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:10.3p1-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2008-1657"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9zr9-947g-g7dn"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/openssh@1:4.7p1-8%3Fdistro=trixie"
}