Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/585859?format=api",
    "purl": "pkg:deb/debian/erlang@1:21.2.6%2Bdfsg-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "erlang",
    "version": "1:21.2.6+dfsg-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:23.1+dfsg-1",
    "latest_non_vulnerable_version": "1:27.3.4.11+dfsg-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/94351?format=api",
            "vulnerability_id": "VCID-86hm-g3m9-tkft",
            "summary": "yaws_config.erl in Yaws through 2.0.2 and/or 2.0.7 loads obsolete TLS ciphers, as demonstrated by ones that allow Sweet32 attacks, if running on an Erlang/OTP virtual machine with a version less than 21.0.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12872",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09255",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09257",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09307",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09224",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.093",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09342",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09353",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09325",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09312",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09203",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09202",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09352",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09403",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.09358",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00032",
                            "scoring_system": "epss",
                            "scoring_elements": "0.0932",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12872"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12872",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12872"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/585859?format=api",
                    "purl": "pkg:deb/debian/erlang@1:21.2.6%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:21.2.6%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/584328?format=api",
                    "purl": "pkg:deb/debian/erlang@1:23.2.6%2Bdfsg-1%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-28fj-t5hy-x3gn"
                        },
                        {
                            "vulnerability": "VCID-c47m-8h7d-afaz"
                        },
                        {
                            "vulnerability": "VCID-gcn7-ak4r-eba3"
                        },
                        {
                            "vulnerability": "VCID-h1k4-x8vr-5bch"
                        },
                        {
                            "vulnerability": "VCID-j7t3-nrjj-pfgp"
                        },
                        {
                            "vulnerability": "VCID-s9qn-9qdm-j7ej"
                        },
                        {
                            "vulnerability": "VCID-w9yj-xg82-kyac"
                        },
                        {
                            "vulnerability": "VCID-wwcj-hwqc-f3g7"
                        },
                        {
                            "vulnerability": "VCID-xcks-117s-v3dd"
                        },
                        {
                            "vulnerability": "VCID-z6gs-aq96-gkaw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:23.2.6%252Bdfsg-1%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/584329?format=api",
                    "purl": "pkg:deb/debian/erlang@1:25.2.3%2Bdfsg-1%2Bdeb12u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1283-nvxm-r7cw"
                        },
                        {
                            "vulnerability": "VCID-28fj-t5hy-x3gn"
                        },
                        {
                            "vulnerability": "VCID-c3vm-u9jn-83cs"
                        },
                        {
                            "vulnerability": "VCID-c47m-8h7d-afaz"
                        },
                        {
                            "vulnerability": "VCID-gcn7-ak4r-eba3"
                        },
                        {
                            "vulnerability": "VCID-h1k4-x8vr-5bch"
                        },
                        {
                            "vulnerability": "VCID-j7t3-nrjj-pfgp"
                        },
                        {
                            "vulnerability": "VCID-jxzt-8wru-6yhk"
                        },
                        {
                            "vulnerability": "VCID-s9qn-9qdm-j7ej"
                        },
                        {
                            "vulnerability": "VCID-w9yj-xg82-kyac"
                        },
                        {
                            "vulnerability": "VCID-wwcj-hwqc-f3g7"
                        },
                        {
                            "vulnerability": "VCID-xcks-117s-v3dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:25.2.3%252Bdfsg-1%252Bdeb12u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/584330?format=api",
                    "purl": "pkg:deb/debian/erlang@1:27.3.4.1%2Bdfsg-1%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-c47m-8h7d-afaz"
                        },
                        {
                            "vulnerability": "VCID-gcn7-ak4r-eba3"
                        },
                        {
                            "vulnerability": "VCID-h1k4-x8vr-5bch"
                        },
                        {
                            "vulnerability": "VCID-j7t3-nrjj-pfgp"
                        },
                        {
                            "vulnerability": "VCID-s9qn-9qdm-j7ej"
                        },
                        {
                            "vulnerability": "VCID-w9yj-xg82-kyac"
                        },
                        {
                            "vulnerability": "VCID-wwcj-hwqc-f3g7"
                        },
                        {
                            "vulnerability": "VCID-zegc-rj1x-ryau"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:27.3.4.1%252Bdfsg-1%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/584331?format=api",
                    "purl": "pkg:deb/debian/erlang@1:27.3.4.9%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-gcn7-ak4r-eba3"
                        },
                        {
                            "vulnerability": "VCID-j7t3-nrjj-pfgp"
                        },
                        {
                            "vulnerability": "VCID-zegc-rj1x-ryau"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:27.3.4.9%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1059607?format=api",
                    "purl": "pkg:deb/debian/erlang@1:27.3.4.10%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-c47m-8h7d-afaz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:27.3.4.10%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1076055?format=api",
                    "purl": "pkg:deb/debian/erlang@1:27.3.4.11%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:27.3.4.11%252Bdfsg-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2020-12872"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-86hm-g3m9-tkft"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/erlang@1:21.2.6%252Bdfsg-1%3Fdistro=trixie"
}