Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/211722?format=api",
    "vulnerability_id": "VCID-5uhj-29cr-ckgd",
    "summary": "Duplicate Advisory: phpseclib: guardrails needed on isPrime and randomPrime",
    "aliases": [
        {
            "alias": "GHSA-hg35-mp25-qf6h"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29493?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@1.0.23",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@1.0.23"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29495?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@2.0.47",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@2.0.47"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29499?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@3.0.36",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@3.0.36"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29492?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qj3-a1sx-kubr"
                },
                {
                    "vulnerability": "VCID-5uhj-29cr-ckgd"
                },
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-a1e2-pwtb-zqd1"
                },
                {
                    "vulnerability": "VCID-c8yh-8mt5-2qf1"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                },
                {
                    "vulnerability": "VCID-j8qm-692k-bybp"
                },
                {
                    "vulnerability": "VCID-mc2v-gtgm-d3g5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29494?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qj3-a1sx-kubr"
                },
                {
                    "vulnerability": "VCID-5uhj-29cr-ckgd"
                },
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-a1e2-pwtb-zqd1"
                },
                {
                    "vulnerability": "VCID-c8yh-8mt5-2qf1"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                },
                {
                    "vulnerability": "VCID-j8qm-692k-bybp"
                },
                {
                    "vulnerability": "VCID-mc2v-gtgm-d3g5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/29498?format=api",
            "purl": "pkg:composer/phpseclib/phpseclib@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qj3-a1sx-kubr"
                },
                {
                    "vulnerability": "VCID-4x2v-6awj-t7ae"
                },
                {
                    "vulnerability": "VCID-5uhj-29cr-ckgd"
                },
                {
                    "vulnerability": "VCID-96xr-m836-f7cq"
                },
                {
                    "vulnerability": "VCID-a1e2-pwtb-zqd1"
                },
                {
                    "vulnerability": "VCID-c8yh-8mt5-2qf1"
                },
                {
                    "vulnerability": "VCID-ejz5-zmbt-afbg"
                },
                {
                    "vulnerability": "VCID-hyua-p4yb-byh1"
                },
                {
                    "vulnerability": "VCID-j8qm-692k-bybp"
                },
                {
                    "vulnerability": "VCID-j96y-epag-6kbd"
                },
                {
                    "vulnerability": "VCID-k7qp-9g66-rugk"
                },
                {
                    "vulnerability": "VCID-mc2v-gtgm-d3g5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpseclib/phpseclib@3.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/phpseclib/phpseclib",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/phpseclib/phpseclib"
        },
        {
            "reference_url": "https://github.com/phpseclib/phpseclib/commit/2870c8fab3f132d2ed40a66c97a36fe5ab625698",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/phpseclib/phpseclib/commit/2870c8fab3f132d2ed40a66c97a36fe5ab625698"
        },
        {
            "reference_url": "https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575"
        },
        {
            "reference_url": "https://github.com/phpseclib/phpseclib/commit/c55b75199ec8d12cec6eadf6da99da4a3712fe56",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/phpseclib/phpseclib/commit/c55b75199ec8d12cec6eadf6da99da4a3712fe56"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27354",
            "reference_id": "CVE-2024-27354",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27354"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27354.yaml",
            "reference_id": "CVE-2024-27354.YAML",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27354.yaml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hg35-mp25-qf6h",
            "reference_id": "GHSA-hg35-mp25-qf6h",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hg35-mp25-qf6h"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5uhj-29cr-ckgd"
}