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
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 7 | opendaylight | wont fix |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| cadence +1 | 1.4.0-r3 |
debian 4 releases · 1 package
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| thrift | 0.11.0-3 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | thrift-compiler | affected |
References
- mail-archives.apache.org http://mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/raw/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E
- www.securityfocus.com http://www.securityfocus.com/bid/103025
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2669
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:3140
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5397
- github.com https://github.com/apache/thrift/commit/2007783e874d524a46b818598a45078448ecc53e
- issues.apache.org https://issues.apache.org/jira/browse/THRIFT-3893
- lists.apache.org https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3%40%3Ccommits.cassandra.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3@%3Ccommits.cassandra.apache.org%3E
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5397
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.