Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37593?format=api",
    "vulnerability_id": "VCID-f2vg-xm25-ekd1",
    "summary": "Arbitrary file upload via deserialization\nThe DiskFileItem class in this package allows remote attackers to write to arbitrary files via a `NULL` byte in a file name in a serialized instance.",
    "aliases": [
        {
            "alias": "CVE-2013-2186"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51647?format=api",
            "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.3.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/commons-fileupload/commons-fileupload@1.3.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51447?format=api",
            "purl": "pkg:maven/commons-fileupload/commons-fileupload@1-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f2vg-xm25-ekd1"
                },
                {
                    "vulnerability": "VCID-grfb-dhp1-g3bt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/commons-fileupload/commons-fileupload@1-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51449?format=api",
            "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3txt-1psa-5kf5"
                },
                {
                    "vulnerability": "VCID-f2vg-xm25-ekd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/commons-fileupload/commons-fileupload@1.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2186",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2186"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2013-2186",
            "reference_id": "CVE-2013-2186",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/CVE-2013-2186"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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-f2vg-xm25-ekd1"
}