Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40583?format=api",
    "vulnerability_id": "VCID-8d5y-gcyh-bubh",
    "summary": "File and Directory Information Exposure\nThe Apache Thrift Node.js static web server contains a security vulnerability in which a remote user has the ability to access files outside the set webservers `docroot` path.",
    "aliases": [
        {
            "alias": "CVE-2018-11798"
        },
        {
            "alias": "GHSA-vx85-mj8c-4qm6"
        }
    ],
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57291?format=api",
            "purl": "pkg:npm/thrift@0.12.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.12.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53699?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8d5y-gcyh-bubh"
                },
                {
                    "vulnerability": "VCID-exb7-8bd7-nbdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57290?format=api",
            "purl": "pkg:npm/thrift@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8d5y-gcyh-bubh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57289?format=api",
            "purl": "pkg:npm/thrift@0.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8d5y-gcyh-bubh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.9.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:1545",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:1545"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:3140",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:3140"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E"
        },
        {
            "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/106501",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/106501"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11798",
            "reference_id": "CVE-2018-11798",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11798"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vx85-mj8c-4qm6",
            "reference_id": "GHSA-vx85-mj8c-4qm6",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vx85-mj8c-4qm6"
        }
    ],
    "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": 538,
            "name": "Insertion of Sensitive Information into Externally-Accessible File or Directory",
            "description": "The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information."
        },
        {
            "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-8d5y-gcyh-bubh"
}