Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37632?format=api",
    "vulnerability_id": "VCID-7zcx-qpsn-zuem",
    "summary": "XML External Entity (XXE) injection\nThe `SourceHttpMessageConverter` in this package does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML.",
    "aliases": [
        {
            "alias": "CVE-2013-6429"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51722?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@3.2.5.RELEASE",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@3.2.5.RELEASE"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51714?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@4.0.0.RELEASE",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@4.0.0.RELEASE"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51709?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@3-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7zcx-qpsn-zuem"
                },
                {
                    "vulnerability": "VCID-gwpy-9eej-kbgd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@3-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51713?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@3.2.4.RELEASE",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7zcx-qpsn-zuem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@3.2.4.RELEASE"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51711?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@4-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7zcx-qpsn-zuem"
                },
                {
                    "vulnerability": "VCID-gwpy-9eej-kbgd"
                },
                {
                    "vulnerability": "VCID-ncq1-u2qu-77ec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@4-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51712?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@4.0.0.M3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7zcx-qpsn-zuem"
                },
                {
                    "vulnerability": "VCID-gwpy-9eej-kbgd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@4.0.0.M3"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/CVE-2013-6429",
            "reference_id": "CVE-2013-6429",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/CVE-2013-6429"
        },
        {
            "reference_url": "http://www.gopivotal.com/security/cve-2013-6429",
            "reference_id": "CVE-2013-6429",
            "reference_type": "",
            "scores": [],
            "url": "http://www.gopivotal.com/security/cve-2013-6429"
        }
    ],
    "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": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "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-7zcx-qpsn-zuem"
}