Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40642?format=api",
    "vulnerability_id": "VCID-guu4-5g8j-puau",
    "summary": "Improper Restriction of XML External Entity Reference\nSpring Web Services, versions 2.4.3, 3.0.4, and older unsupported versions of all three projects, were susceptible to XML External Entity Injection (XXE) when receiving XML data from untrusted sources.",
    "aliases": [
        {
            "alias": "CVE-2019-3773"
        },
        {
            "alias": "GHSA-8222-6fc8-mhvf"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57363?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-ws@2.4.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-ws@2.4.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57364?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-ws@3.0.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-ws@3.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57376?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-xml@2.4.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-xml@2.4.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57377?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-xml@3.0.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-xml@3.0.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57361?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-ws@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-guu4-5g8j-puau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-ws@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57362?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-ws@3.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-guu4-5g8j-puau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-ws@3.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57374?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-xml@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-guu4-5g8j-puau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-xml@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57375?format=api",
            "purl": "pkg:maven/org.springframework.ws/spring-xml@3.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-guu4-5g8j-puau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.ws/spring-xml@3.0.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3773",
            "reference_id": "CVE-2019-3773",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3773"
        },
        {
            "reference_url": "https://pivotal.io/security/cve-2019-3773",
            "reference_id": "CVE-2019-3773",
            "reference_type": "",
            "scores": [],
            "url": "https://pivotal.io/security/cve-2019-3773"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-8222-6fc8-mhvf",
            "reference_id": "GHSA-8222-6fc8-mhvf",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-8222-6fc8-mhvf"
        }
    ],
    "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": 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-guu4-5g8j-puau"
}