Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44105?format=api",
    "vulnerability_id": "VCID-pasp-e523-m3db",
    "summary": "Unrestricted Upload of File with Dangerous Type\nAn arbitrary file upload vulnerability in the file upload module of Graphql-upload v13.0.0 allows attackers to execute arbitrary code via a crafted filename.",
    "aliases": [
        {
            "alias": "CVE-2022-29353"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63409?format=api",
            "purl": "pkg:npm/graphql-upload@14.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/graphql-upload@14.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63408?format=api",
            "purl": "pkg:npm/graphql-upload@13.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pasp-e523-m3db"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/graphql-upload@13.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://youtu.be/2kHm_henVM4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://youtu.be/2kHm_henVM4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29353",
            "reference_id": "CVE-2022-29353",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29353"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 434,
            "name": "Unrestricted Upload of File with Dangerous Type",
            "description": "The product allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pasp-e523-m3db"
}