Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38213?format=api",
    "vulnerability_id": "VCID-m5r5-93qx-6khh",
    "summary": "Filter Bypass\nThis package allows attackers to bypass intended servlet filters and gain access by leveraging use of a non-root servlet context path.",
    "aliases": [
        {
            "alias": "CVE-2016-6802"
        },
        {
            "alias": "GHSA-4q2v-j639-cp7p"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52885?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-all@1.3.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-all@1.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63242?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-web@1.3.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-web@1.3.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52884?format=api",
            "purl": "pkg:maven/org.apache.shiro/shiro-all@1.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m5r5-93qx-6khh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-all@1.3.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/apache/shiro/commit/b15ab927709ca18ea4a02538be01919a19ab65af",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/shiro/commit/b15ab927709ca18ea4a02538be01919a19ab65af"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/SHIRO-584",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.apache.org/jira/browse/SHIRO-584"
        },
        {
            "reference_url": "https://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html"
        },
        {
            "reference_url": "https://shiro.apache.org/news.html#1.3.2-released",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://shiro.apache.org/news.html#1.3.2-released"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6802",
            "reference_id": "CVE-2016-6802",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6802"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4q2v-j639-cp7p",
            "reference_id": "GHSA-4q2v-j639-cp7p",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4q2v-j639-cp7p"
        }
    ],
    "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": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        },
        {
            "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-m5r5-93qx-6khh"
}