Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39167?format=api",
    "vulnerability_id": "VCID-xwf7-ef5d-yffc",
    "summary": "Improper Input Validation\nBritish Columbia Institute of Technology CodeIgniter is vulnerable to HTTP Header Injection in the `set_status_header()` common function under Apache resulting in HTTP Header Injection flaws.",
    "aliases": [
        {
            "alias": "CVE-2017-1000247"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53180?format=api",
            "purl": "pkg:composer/codeigniter4/framework@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-283r-1kb4-9kew"
                },
                {
                    "vulnerability": "VCID-3jm3-513z-p7ed"
                },
                {
                    "vulnerability": "VCID-fpsw-s5r4-5uhe"
                },
                {
                    "vulnerability": "VCID-pskc-ec8x-wyc2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter4/framework@4.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54715?format=api",
            "purl": "pkg:composer/codeigniter4/framework@3.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xwf7-ef5d-yffc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter4/framework@3.1.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.codeigniter.com/userguide3/changelog.html#version-3-1-4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.codeigniter.com/userguide3/changelog.html#version-3-1-4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000247",
            "reference_id": "CVE-2017-1000247",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000247"
        }
    ],
    "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-xwf7-ef5d-yffc"
}