Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/376768?format=api",
    "purl": "pkg:apk/alpine/dovecot@2.3.9.3-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "dovecot",
    "version": "2.3.9.3-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.17",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.10.1-r0",
    "latest_non_vulnerable_version": "2.3.15-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/66292?format=api",
            "vulnerability_id": "VCID-mvwu-7cfp-dkhy",
            "summary": "The IMAP and LMTP components in Dovecot 2.3.9 before 2.3.9.3 mishandle snippet generation when many characters must be read to compute the snippet and a trailing > character exists. This causes a denial of service in which the recipient cannot read all of their messages.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7957.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7957.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7957",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66595",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66636",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7957"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1800502",
                    "reference_id": "1800502",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1800502"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202002-6",
                    "reference_id": "ASA-202002-6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202002-6"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1097",
                    "reference_id": "AVG-1097",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1097"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/376768?format=api",
                    "purl": "pkg:apk/alpine/dovecot@2.3.9.3-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/dovecot@2.3.9.3-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-7957"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mvwu-7cfp-dkhy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/dovecot@2.3.9.3-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
}