Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38987?format=api",
    "vulnerability_id": "VCID-ee1e-58sz-5bak",
    "summary": "Cross-Site Request Forgery (CSRF)\nGitHub Branch Source Plugin connects to a user-specified GitHub API URL as part of form validation and completion. This functionality improperly checked permissions, allowing any user with `Overall/Read` access to Jenkins to connect to any web server and send credentials with a known ID, thereby possibly capturing them. Additionally, this functionality did not require POST requests be used, thereby allowing the above to be performed without direct access to Jenkins via Cross-Site Request Forgery.",
    "aliases": [
        {
            "alias": "CVE-2017-1000091"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54312?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.2.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.2.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54304?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54305?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54306?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54307?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54308?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@1.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54309?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54310?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54311?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a1y1-cecp-cbbd"
                },
                {
                    "vulnerability": "VCID-ee1e-58sz-5bak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/github-branch-source@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://jenkins.io/security/advisory/2017-07-10/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2017-07-10/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000091",
            "reference_id": "CVE-2017-1000091",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000091"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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-ee1e-58sz-5bak"
}