Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10193?format=api",
    "vulnerability_id": "VCID-bjpb-v3v5-5beg",
    "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/940791?format=api",
            "purl": "pkg:deb/debian/thrift@0.11.0-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.11.0-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940788?format=api",
            "purl": "pkg:deb/debian/thrift@0.13.0-6?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.13.0-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940786?format=api",
            "purl": "pkg:deb/debian/thrift@0.17.0-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.17.0-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940790?format=api",
            "purl": "pkg:deb/debian/thrift@0.19.0-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.19.0-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940789?format=api",
            "purl": "pkg:deb/debian/thrift@0.22.0-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.22.0-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34422?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r6v-dxqb-3fe1"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34415?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/24293?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                },
                {
                    "vulnerability": "VCID-rxjp-h3tu-tqh8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                },
                {
                    "vulnerability": "VCID-zafx-wzgj-uugv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24294?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.9.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r6v-dxqb-3fe1"
                },
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-rxjp-h3tu-tqh8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.9.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/78823?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.9.3-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r6v-dxqb-3fe1"
                },
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-rxjp-h3tu-tqh8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.9.3-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/142078?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r6v-dxqb-3fe1"
                },
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-rxjp-h3tu-tqh8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34421?format=api",
            "purl": "pkg:maven/org.apache.thrift/libthrift@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r6v-dxqb-3fe1"
                },
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-rxjp-h3tu-tqh8"
                },
                {
                    "vulnerability": "VCID-y1ca-jr94-kfb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34413?format=api",
            "purl": "pkg:npm/thrift@0.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182224?format=api",
            "purl": "pkg:npm/thrift@0.9.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.9.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182225?format=api",
            "purl": "pkg:npm/thrift@0.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34414?format=api",
            "purl": "pkg:npm/thrift@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjpb-v3v5-5beg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/thrift@0.11.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:1545",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/errata/RHSA-2019:1545"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:3140",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/errata/RHSA-2019:3140"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11798.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11798.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11798",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67794",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67832",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67868",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67881",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67858",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67844",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67793",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6776",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00546",
                    "scoring_system": "epss",
                    "scoring_elements": "0.67813",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11798"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11798",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11798"
        },
        {
            "reference_url": "https://github.com/apache/thrift/commit/2a2b72f6c8aef200ecee4984f011e06052288ff2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/thrift/commit/2a2b72f6c8aef200ecee4984f011e06052288ff2"
        },
        {
            "reference_url": "https://github.com/apache/thrift/pull/1606",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/thrift/pull/1606"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/THRIFT-4647",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://issues.apache.org/jira/browse/THRIFT-4647"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd%40%3Cuser.thrift.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd%40%3Cuser.thrift.apache.org%3E"
        },
        {
            "reference_url": "https://web.archive.org/web/20200227094236/http://www.securityfocus.com/bid/106501",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://web.archive.org/web/20200227094236/http://www.securityfocus.com/bid/106501"
        },
        {
            "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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://bugzilla.redhat.com/show_bug.cgi?id=1667188",
            "reference_id": "1667188",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1667188"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918734",
            "reference_id": "918734",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918734"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*",
            "reference_id": "cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11798",
            "reference_id": "CVE-2018-11798",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:S/C:P/I:N/A:N"
                },
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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."
        },
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        },
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "6.8",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bjpb-v3v5-5beg"
}