Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/23638?format=api",
    "vulnerability_id": "VCID-9usd-2u38-nfea",
    "summary": "This advisory has been marked as False Positive and removed.",
    "aliases": [
        {
            "alias": "CVE-2024-51999"
        },
        {
            "alias": "GHSA-pj86-cfqh-vqx6"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69290?format=api",
            "purl": "pkg:npm/express@4.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/express@4.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69291?format=api",
            "purl": "pkg:npm/express@5.2.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/express@5.2.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/49278?format=api",
            "purl": "pkg:npm/express@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9usd-2u38-nfea"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/express@5.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/expressjs/express",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/expressjs/express"
        },
        {
            "reference_url": "https://github.com/expressjs/express/commit/2f64f68c37c64ae333e41ff38032d21860f22255",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/expressjs/express/commit/2f64f68c37c64ae333e41ff38032d21860f22255"
        },
        {
            "reference_url": "https://github.com/expressjs/express/releases/tag/4.22.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/expressjs/express/releases/tag/4.22.0"
        },
        {
            "reference_url": "https://github.com/expressjs/express/releases/tag/v5.2.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/expressjs/express/releases/tag/v5.2.0"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-51999",
            "reference_id": "CVE-2024-51999",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-51999"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-pj86-cfqh-vqx6",
            "reference_id": "GHSA-pj86-cfqh-vqx6",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-pj86-cfqh-vqx6"
        },
        {
            "reference_url": "https://github.com/expressjs/express/security/advisories/GHSA-pj86-cfqh-vqx6",
            "reference_id": "GHSA-pj86-cfqh-vqx6",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "2.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/expressjs/express/security/advisories/GHSA-pj86-cfqh-vqx6"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 915,
            "name": "Improperly Controlled Modification of Dynamically-Determined Object Attributes",
            "description": "The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified."
        },
        {
            "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": "0.1 - 3",
    "exploitability": "0.5",
    "weighted_severity": "2.7",
    "risk_score": 1.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9usd-2u38-nfea"
}