Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/489062?format=api",
    "purl": "pkg:apk/alpine/libssh@0.9.4-r1?arch=s390x&distroversion=v3.11&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "libssh",
    "version": "0.9.4-r1",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.11",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34787?format=api",
            "vulnerability_id": "VCID-dwk4-jatc-w3ce",
            "summary": "A vulnerability in libssh could lead to a Denial of Service\n    condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-16135.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-16135.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-16135",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82651",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82667",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82681",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82677",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82703",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82709",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82727",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82721",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01782",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82717",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-16135"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16135",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16135"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1862456",
                    "reference_id": "1862456",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1862456"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966560",
                    "reference_id": "966560",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966560"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202011-05",
                    "reference_id": "GLSA-202011-05",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202011-05"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4387",
                    "reference_id": "RHSA-2021:4387",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4387"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4447-1/",
                    "reference_id": "USN-4447-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4447-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/489062?format=api",
                    "purl": "pkg:apk/alpine/libssh@0.9.4-r1?arch=s390x&distroversion=v3.11&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libssh@0.9.4-r1%3Farch=s390x&distroversion=v3.11&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-16135"
            ],
            "risk_score": 2.6,
            "exploitability": "0.5",
            "weighted_severity": "5.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dwk4-jatc-w3ce"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libssh@0.9.4-r1%3Farch=s390x&distroversion=v3.11&reponame=main"
}