Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/927093?format=api",
    "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.04-3?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "libcrypt-cbc-perl",
    "version": "3.04-3",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.07-1",
    "latest_non_vulnerable_version": "3.07-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/70414?format=api",
            "vulnerability_id": "VCID-tpax-r8u3-17ft",
            "summary": "Crypt-CBC: Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure rand() function for cryptographic functions",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-2814.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-2814.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-2814",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30435",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30249",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30291",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3035",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30384",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30387",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30343",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30296",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30312",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30294",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00116",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30481",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-2814"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-2814",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-2814"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110120",
                    "reference_id": "1110120",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110120"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2359259",
                    "reference_id": "2359259",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2359259"
                },
                {
                    "reference_url": "https://github.com/lstein/Lib-Crypt-CBC/commit/37111f7cd894bcec46156ba7f40a49c126ebf535.patch",
                    "reference_id": "37111f7cd894bcec46156ba7f40a49c126ebf535.patch",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T18:21:53Z/"
                        }
                    ],
                    "url": "https://github.com/lstein/Lib-Crypt-CBC/commit/37111f7cd894bcec46156ba7f40a49c126ebf535.patch"
                },
                {
                    "reference_url": "https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777",
                    "reference_id": "CBC.pm#L777",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T18:21:53Z/"
                        }
                    ],
                    "url": "https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777"
                },
                {
                    "reference_url": "https://perldoc.perl.org/functions/rand",
                    "reference_id": "rand",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T18:21:53Z/"
                        }
                    ],
                    "url": "https://perldoc.perl.org/functions/rand"
                },
                {
                    "reference_url": "https://security.metacpan.org/docs/guides/random-data-for-security.html",
                    "reference_id": "random-data-for-security.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T18:21:53Z/"
                        }
                    ],
                    "url": "https://security.metacpan.org/docs/guides/random-data-for-security.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/927096?format=api",
                    "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.07-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@3.07-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2025-2814"
            ],
            "risk_score": 2.1,
            "exploitability": "0.5",
            "weighted_severity": "4.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tpax-r8u3-17ft"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36501?format=api",
            "vulnerability_id": "VCID-ua4c-qyvs-7bfg",
            "summary": "Crypt::CBC uses an insecure initialization vector, potentially resulting in\n    a weaker encryption.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0898.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0898.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80655",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80663",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80685",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8068",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80709",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80719",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80735",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80721",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80713",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80749",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8075",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80752",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0898"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0898"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=430522",
                    "reference_id": "430522",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=430522"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200603-15",
                    "reference_id": "GLSA-200603-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200603-15"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2008:0630",
                    "reference_id": "RHSA-2008:0630",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2008:0630"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/927094?format=api",
                    "purl": "pkg:deb/debian/libcrypt-cbc-perl@2.17-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@2.17-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/927095?format=api",
                    "purl": "pkg:deb/debian/libcrypt-cbc-perl@2.33-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-tpax-r8u3-17ft"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@2.33-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/927093?format=api",
                    "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.04-3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-tpax-r8u3-17ft"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@3.04-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/927096?format=api",
                    "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.07-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@3.07-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2006-0898"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ua4c-qyvs-7bfg"
        }
    ],
    "risk_score": "2.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@3.04-3%3Fdistro=trixie"
}