Lookup for vulnerabilities affecting packages.

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

{
    "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",
    "aliases": [
        {
            "alias": "CVE-2025-2814"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994589?format=api",
            "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.07-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcrypt-cbc-perl@3.07-1"
        },
        {
            "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"
        }
    ],
    "affected_packages": [
        {
            "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/994587?format=api",
            "purl": "pkg:deb/debian/libcrypt-cbc-perl@2.33-2",
            "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"
        },
        {
            "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/994588?format=api",
            "purl": "pkg:deb/debian/libcrypt-cbc-perl@3.04-3",
            "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"
        }
    ],
    "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.29963",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30184",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30068",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29993",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29858",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29929",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29939",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29867",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29888",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30481",
                    "published_at": "2026-04-04T12: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.30249",
                    "published_at": "2026-04-21T12: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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 338,
            "name": "Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
            "description": "The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong."
        },
        {
            "cwe_id": 329,
            "name": "Generation of Predictable IV with CBC Mode",
            "description": "The product generates and uses a predictable initialization Vector (IV) with Cipher Block Chaining (CBC) Mode, which causes algorithms to be susceptible to dictionary attacks when they are encrypted under the same key."
        },
        {
            "cwe_id": 331,
            "name": "Insufficient Entropy",
            "description": "The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 4.8",
    "exploitability": "0.5",
    "weighted_severity": "4.3",
    "risk_score": 2.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tpax-r8u3-17ft"
}