Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40036?format=api",
    "vulnerability_id": "VCID-x3mz-kw7r-9bcg",
    "summary": "Loop with Unreachable Exit Condition (Infinite Loop)\nIn Apache PDFBox, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in the `AFMParser`.",
    "aliases": [
        {
            "alias": "CVE-2018-8036"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56004?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@1.8.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qu7g-tuf1-87ab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@1.8.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56005?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qu7g-tuf1-87ab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.11"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56001?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@1.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qu7g-tuf1-87ab"
                },
                {
                    "vulnerability": "VCID-x3mz-kw7r-9bcg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@1.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56002?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@1.8.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x3mz-kw7r-9bcg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@1.8.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52744?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jac2-1kyc-zuhh"
                },
                {
                    "vulnerability": "VCID-x3mz-kw7r-9bcg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56003?format=api",
            "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x3mz-kw7r-9bcg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.10"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8036",
            "reference_id": "CVE-2018-8036",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8036"
        }
    ],
    "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": 835,
            "name": "Loop with Unreachable Exit Condition ('Infinite Loop')",
            "description": "The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop."
        },
        {
            "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-x3mz-kw7r-9bcg"
}