Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37862?format=api",
    "vulnerability_id": "VCID-6fge-cvwc-bbgc",
    "summary": "XXE in Apache Camel\nMultiple XML external entity (XXE) vulnerabilities in `builder/xml/XPathBuilder.java` in this package allow remote attackers to read arbitrary files via an external entity in an invalid XML String or GenericFile object in an XPath query.",
    "aliases": [
        {
            "alias": "CVE-2015-0264"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52303?format=api",
            "purl": "pkg:maven/org.apache.camel/camel-core@2.13.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.13.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52304?format=api",
            "purl": "pkg:maven/org.apache.camel/camel-core@2.14.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.14.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52300?format=api",
            "purl": "pkg:maven/org.apache.camel/camel-core@2.13.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fge-cvwc-bbgc"
                },
                {
                    "vulnerability": "VCID-caw1-1xnz-yufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.13.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52301?format=api",
            "purl": "pkg:maven/org.apache.camel/camel-core@2.14-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fge-cvwc-bbgc"
                },
                {
                    "vulnerability": "VCID-caw1-1xnz-yufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.14-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52302?format=api",
            "purl": "pkg:maven/org.apache.camel/camel-core@2.14.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fge-cvwc-bbgc"
                },
                {
                    "vulnerability": "VCID-caw1-1xnz-yufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.14.1"
        }
    ],
    "references": [
        {
            "reference_url": "http://camel.apache.org/security-advisories.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://camel.apache.org/security-advisories.html"
        },
        {
            "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0264",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0264"
        },
        {
            "reference_url": "https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc?version=1&modificationDate=1426539191000&api=v2",
            "reference_id": "CVE-2015-0264.TXT.ASC?VERSION=1&MODIFICATIONDATE=1426539191000&API=V2",
            "reference_type": "",
            "scores": [],
            "url": "https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc?version=1&modificationDate=1426539191000&api=v2"
        }
    ],
    "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": 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-6fge-cvwc-bbgc"
}