Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38452?format=api",
    "vulnerability_id": "VCID-3a5n-ebnm-dkh3",
    "summary": "Code Injection\nA vulnerability in `includes/classes/ia` allows remote attackers to conduct PHP Object Injection attacks via crafted deserialized data in a salt cookie in a login request.",
    "aliases": [
        {
            "alias": "CVE-2017-5543"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53204?format=api",
            "purl": "pkg:composer/intelliants/subrion@4.1.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/intelliants/subrion@4.1.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53203?format=api",
            "purl": "pkg:composer/intelliants/subrion@4.0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1488-cs1g-9bh5"
                },
                {
                    "vulnerability": "VCID-3a5n-ebnm-dkh3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/intelliants/subrion@4.0.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/intelliants/subrion/issues/297",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/intelliants/subrion/issues/297"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/95688",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/95688"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5543",
            "reference_id": "CVE-2017-5543",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5543"
        }
    ],
    "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": 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": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3a5n-ebnm-dkh3"
}