Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40059?format=api",
    "vulnerability_id": "VCID-1kbh-q4nq-3fdq",
    "summary": "The Jenkins AWS CodeDeploy Plugin contains a File and Directory Information Exposure vulnerability in `AWSCodeDeployPublisher`.",
    "aliases": [
        {
            "alias": "CVE-2018-1000402"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56044?format=api",
            "purl": "pkg:maven/com.amazonaws/codedeploy@1.20",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.amazonaws/codedeploy@1.20"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56043?format=api",
            "purl": "pkg:maven/com.amazonaws/codedeploy@1.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kbh-q4nq-3fdq"
                },
                {
                    "vulnerability": "VCID-94qf-f89x-zqe8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.amazonaws/codedeploy@1.19"
        }
    ],
    "references": [
        {
            "reference_url": "https://jenkins.io/security/advisory/2018-06-25/#SECURITY-825",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2018-06-25/#SECURITY-825"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000402",
            "reference_id": "CVE-2018-1000402",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000402"
        }
    ],
    "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": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "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-1kbh-q4nq-3fdq"
}