Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40538?format=api",
    "vulnerability_id": "VCID-w7nq-y9sx-nfcc",
    "summary": "Improper Input Validation\nFasterxml Jackson does not properly validate user input leading to a DoS. Specifically, deserializing malicious input of very large values in the nanoseconds field of a time value.",
    "aliases": [
        {
            "alias": "CVE-2018-1000873"
        },
        {
            "alias": "GHSA-h4x4-5qp2-wp46"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57183?format=api",
            "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57229?format=api",
            "purl": "pkg:maven/com.fasterxml.jackson.datatype/jackson-datatype-jsr310@2.9.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.fasterxml.jackson.datatype/jackson-datatype-jsr310@2.9.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1665601",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1665601"
        },
        {
            "reference_url": "https://github.com/FasterXML/jackson-modules-java8/issues/90",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/FasterXML/jackson-modules-java8/issues/90"
        },
        {
            "reference_url": "https://github.com/FasterXML/jackson-modules-java8/pull/87",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/FasterXML/jackson-modules-java8/pull/87"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000873",
            "reference_id": "CVE-2018-1000873",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000873"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-h4x4-5qp2-wp46",
            "reference_id": "GHSA-h4x4-5qp2-wp46",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-h4x4-5qp2-wp46"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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-w7nq-y9sx-nfcc"
}