Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40585?format=api",
    "vulnerability_id": "VCID-1r1s-a76q-33fu",
    "summary": "Improper Input Validation\nAn Apache Thrift Java client library can bypass SASL negotiation validation in the `org.apache.thrift.transport.TSaslTransport` class.",
    "aliases": [
        {
            "alias": "CVE-2018-1320"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57298?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57296?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1r1s-a76q-33fu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57297?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1r1s-a76q-33fu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.11.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://www.securityfocus.com/bid/106551",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/106551"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320",
            "reference_id": "CVE-2018-1320",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320"
        }
    ],
    "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": 295,
            "name": "Improper Certificate Validation",
            "description": "The product does not validate, or incorrectly validates, a certificate."
        },
        {
            "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-1r1s-a76q-33fu"
}