Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/apache/thrift
  4. ›
  5. CVE-2016-5397

CVE-2016-5397: Improper Neutralization of Special Elements used in a Command ('Command Injection')

May 13, 2022 (updated July 31, 2023)

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.

References

  • mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/raw/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E
  • access.redhat.com/errata/RHSA-2018:2669
  • access.redhat.com/errata/RHSA-2019:3140
  • github.com/advisories/GHSA-r4m4-pmvw-m6j5
  • issues.apache.org/jira/browse/THRIFT-3893
  • lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3@%3Ccommits.cassandra.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2016-5397
  • web.archive.org/web/20210124141102/http://www.securityfocus.com/bid/103025

Code Behaviors & Features

Detect and mitigate CVE-2016-5397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.9.3

Fixed versions

  • v0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

go/github.com/apache/thrift/CVE-2016-5397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.