Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39626?format=api",
    "vulnerability_id": "VCID-mj86-swgs-wbb4",
    "summary": "Incorrect Permission Assignment for Critical Resource\nIn Jenkins low privilege users were able to override JDK download credentials, resulting in future builds possibly failing to download a JDK.",
    "aliases": [
        {
            "alias": "CVE-2017-2612"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55365?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.44",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-grrk-ne4d-r3fg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.44"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55364?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.32.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3jmz-69mw-5qdy"
                },
                {
                    "vulnerability": "VCID-7ky5-eayq-uuds"
                },
                {
                    "vulnerability": "VCID-9d5n-bcgb-c7ba"
                },
                {
                    "vulnerability": "VCID-dzxc-9d3p-xbfv"
                },
                {
                    "vulnerability": "VCID-e19f-826q-jfh4"
                },
                {
                    "vulnerability": "VCID-fpac-1u9h-efbf"
                },
                {
                    "vulnerability": "VCID-grrk-ne4d-r3fg"
                },
                {
                    "vulnerability": "VCID-kf3w-cekj-dbdz"
                },
                {
                    "vulnerability": "VCID-m6ga-mnu6-vfh1"
                },
                {
                    "vulnerability": "VCID-mb7r-pzyv-jkce"
                },
                {
                    "vulnerability": "VCID-mj86-swgs-wbb4"
                },
                {
                    "vulnerability": "VCID-qpf4-djjv-4uez"
                },
                {
                    "vulnerability": "VCID-w8mb-ahue-83dv"
                },
                {
                    "vulnerability": "VCID-xbe9-4svx-ykb8"
                },
                {
                    "vulnerability": "VCID-xs6s-6qgm-5ye6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.32.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2612",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2612"
        },
        {
            "reference_url": "https://jenkins.io/security/advisory/2017-02-01/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2017-02-01/"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/95957",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/95957"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2612",
            "reference_id": "CVE-2017-2612",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2612"
        }
    ],
    "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": 732,
            "name": "Incorrect Permission Assignment for Critical Resource",
            "description": "The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."
        },
        {
            "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-mj86-swgs-wbb4"
}