Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43869?format=api",
    "vulnerability_id": "VCID-fukm-h3r6-s7cr",
    "summary": "Cross-Site Request Forgery (CSRF)\nThe (1) Manager and (2) Host Manager applications in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M2 establish sessions and send CSRF tokens for arbitrary new requests, which allows remote attackers to bypass a CSRF protection mechanism by using a token.",
    "aliases": [
        {
            "alias": "CVE-2015-5351"
        },
        {
            "alias": "GHSA-w7cg-5969-678w"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63032?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.68",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.68"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62885?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@8.0.31",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@8.0.31"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62886?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@9.0.0.M2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-j1m6-79yt-f7h5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@9.0.0.M2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55089?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@8.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1a1b-3pdg-jbfq"
                },
                {
                    "vulnerability": "VCID-2kjh-4r2g-rqe6"
                },
                {
                    "vulnerability": "VCID-5udv-rheh-kqfy"
                },
                {
                    "vulnerability": "VCID-6umz-z8db-kqcy"
                },
                {
                    "vulnerability": "VCID-6uuq-2a39-yubx"
                },
                {
                    "vulnerability": "VCID-937w-2w2q-7fdy"
                },
                {
                    "vulnerability": "VCID-axzz-cadr-b7fv"
                },
                {
                    "vulnerability": "VCID-fukm-h3r6-s7cr"
                },
                {
                    "vulnerability": "VCID-g3vd-74yh-s7bn"
                },
                {
                    "vulnerability": "VCID-gmjm-6ck2-skgu"
                },
                {
                    "vulnerability": "VCID-hqzu-shyu-j3hp"
                },
                {
                    "vulnerability": "VCID-j1m6-79yt-f7h5"
                },
                {
                    "vulnerability": "VCID-jzta-navk-87bn"
                },
                {
                    "vulnerability": "VCID-nnye-4xbb-kuf5"
                },
                {
                    "vulnerability": "VCID-pq53-6deg-abfx"
                },
                {
                    "vulnerability": "VCID-q7g1-m4e7-pya4"
                },
                {
                    "vulnerability": "VCID-rtmv-qetu-yqfa"
                },
                {
                    "vulnerability": "VCID-se44-f85s-xyex"
                },
                {
                    "vulnerability": "VCID-vu84-dfwa-z3dg"
                },
                {
                    "vulnerability": "VCID-xjj5-fy4e-e7ha"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@8.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63031?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@9.0.0.M0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fukm-h3r6-s7cr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@9.0.0.M0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5351",
            "reference_id": "CVE-2015-5351",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5351"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-w7cg-5969-678w",
            "reference_id": "GHSA-w7cg-5969-678w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-w7cg-5969-678w"
        }
    ],
    "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-fukm-h3r6-s7cr"
}