Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-5397

thrift: Improper file path sanitization in t_go_generator.cc:format_go_output() of the go client library can allow an attacker to inject commands

Overview

Published
12 Feb 2018
Modified
17 Jun 2026
High CVE
1 Registry packages
5 OS packages
5 Linux distributions
Yes Fix available

Description

The 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.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-77

Affected packages · 1

Packages affected by CVE-2016-5397
EcosystemPackageVulnerableFixed in
Go github.com/apache/thrift <0.10.0 0.10.0

Open a package to see all its vulnerabilities.

Operating systems · 8 fixes

Red Hat 1 release · 1 package

wont fix 1
opendaylight
Red Hat fixes for CVE-2016-5397
ReleasePackageFixed in
7 opendaylight wont fix

chainguard 1 release · 1 package

fixed 1
cadence
chainguard fixes for CVE-2016-5397
ReleasePackageFixed in
cadence +1 1.4.0-r3

debian 4 releases · 1 package

fixed 4
thrift
debian fixes for CVE-2016-5397
ReleasePackageFixed in
11 thrift 0.11.0-3
12 thrift 0.11.0-3
13 thrift 0.11.0-3
14 thrift 0.11.0-3

echo 1 release · 1 package

fixed 1
thrift
echo fixes for CVE-2016-5397
ReleasePackageFixed in
thrift 0.11.0-3

ubuntu 1 release · 1 package

affected 1
thrift-compiler
ubuntu fixes for CVE-2016-5397
ReleasePackageFixed in
18.04-ESM thrift-compiler affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.