Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55309?format=api",
    "vulnerability_id": "VCID-8ye2-rpy6-zqak",
    "summary": "Apache Thrift Go Library Command Injection\nThe Apache Thrift Go client library exposed the potential during code generation for command injection due to using an external formatting tool. Affected Apache Thrift 0.9.3 and older, Fixed in Apache Thrift 0.10.0.",
    "aliases": [
        {
            "alias": "CVE-2016-5397"
        },
        {
            "alias": "GHSA-r4m4-pmvw-m6j5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940787?format=api",
            "purl": "pkg:deb/debian/thrift@0.11.0-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.11.0-3%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-31dr-nvv9-tqg6"
                },
                {
                    "vulnerability": "VCID-3yg8-me6s-9ket"
                },
                {
                    "vulnerability": "VCID-6xdf-ynvj-sbd6"
                },
                {
                    "vulnerability": "VCID-a3nx-xttd-zye8"
                },
                {
                    "vulnerability": "VCID-gkzd-prsr-gqc8"
                },
                {
                    "vulnerability": "VCID-hmwb-qubf-sueu"
                },
                {
                    "vulnerability": "VCID-m8vg-5xn1-a7ha"
                },
                {
                    "vulnerability": "VCID-rr7z-qvsf-xye7"
                },
                {
                    "vulnerability": "VCID-sqpz-cvny-n7bc"
                },
                {
                    "vulnerability": "VCID-wxvg-zyr6-xuhf"
                },
                {
                    "vulnerability": "VCID-xh2e-5h9r-s7ae"
                },
                {
                    "vulnerability": "VCID-yx81-wr7m-c3h6"
                }
            ],
            "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": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-31dr-nvv9-tqg6"
                },
                {
                    "vulnerability": "VCID-3yg8-me6s-9ket"
                },
                {
                    "vulnerability": "VCID-6xdf-ynvj-sbd6"
                },
                {
                    "vulnerability": "VCID-a3nx-xttd-zye8"
                },
                {
                    "vulnerability": "VCID-hmwb-qubf-sueu"
                },
                {
                    "vulnerability": "VCID-m8vg-5xn1-a7ha"
                },
                {
                    "vulnerability": "VCID-rr7z-qvsf-xye7"
                },
                {
                    "vulnerability": "VCID-sqpz-cvny-n7bc"
                },
                {
                    "vulnerability": "VCID-wxvg-zyr6-xuhf"
                },
                {
                    "vulnerability": "VCID-xh2e-5h9r-s7ae"
                },
                {
                    "vulnerability": "VCID-yx81-wr7m-c3h6"
                }
            ],
            "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": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-31dr-nvv9-tqg6"
                },
                {
                    "vulnerability": "VCID-3yg8-me6s-9ket"
                },
                {
                    "vulnerability": "VCID-6xdf-ynvj-sbd6"
                },
                {
                    "vulnerability": "VCID-a3nx-xttd-zye8"
                },
                {
                    "vulnerability": "VCID-hmwb-qubf-sueu"
                },
                {
                    "vulnerability": "VCID-m8vg-5xn1-a7ha"
                },
                {
                    "vulnerability": "VCID-rr7z-qvsf-xye7"
                },
                {
                    "vulnerability": "VCID-sqpz-cvny-n7bc"
                },
                {
                    "vulnerability": "VCID-wxvg-zyr6-xuhf"
                },
                {
                    "vulnerability": "VCID-xh2e-5h9r-s7ae"
                },
                {
                    "vulnerability": "VCID-yx81-wr7m-c3h6"
                }
            ],
            "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/1103086?format=api",
            "purl": "pkg:deb/debian/thrift@0.22.0-4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-31dr-nvv9-tqg6"
                },
                {
                    "vulnerability": "VCID-3yg8-me6s-9ket"
                },
                {
                    "vulnerability": "VCID-6xdf-ynvj-sbd6"
                },
                {
                    "vulnerability": "VCID-a3nx-xttd-zye8"
                },
                {
                    "vulnerability": "VCID-hmwb-qubf-sueu"
                },
                {
                    "vulnerability": "VCID-m8vg-5xn1-a7ha"
                },
                {
                    "vulnerability": "VCID-rr7z-qvsf-xye7"
                },
                {
                    "vulnerability": "VCID-sqpz-cvny-n7bc"
                },
                {
                    "vulnerability": "VCID-wxvg-zyr6-xuhf"
                },
                {
                    "vulnerability": "VCID-xh2e-5h9r-s7ae"
                },
                {
                    "vulnerability": "VCID-yx81-wr7m-c3h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.22.0-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1108377?format=api",
            "purl": "pkg:deb/debian/thrift@0.23.0-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/thrift@0.23.0-3%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "http://mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/raw/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/raw/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2018:2669",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/errata/RHSA-2018:2669"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:3140",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "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-2016-5397.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5397.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5397",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95907",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95862",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95865",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95867",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95879",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95881",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95887",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95889",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95895",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95809",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95818",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95826",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95828",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95837",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95841",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95844",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95845",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.22566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95857",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5397"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5397",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5397"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/THRIFT-3893",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://issues.apache.org/jira/browse/THRIFT-3893"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3@%3Ccommits.cassandra.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3@%3Ccommits.cassandra.apache.org%3E"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-5397",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-5397"
        },
        {
            "reference_url": "https://web.archive.org/web/20210124141102/http://www.securityfocus.com/bid/103025",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://web.archive.org/web/20210124141102/http://www.securityfocus.com/bid/103025"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1544620",
            "reference_id": "1544620",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1544620"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 77,
            "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
            "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8ye2-rpy6-zqak"
}