HighGHSA-g2fg-mr77-6vrmBIT-thrift-2020-13949CVE-2020-13949

Uncontrolled Resource Consumption in Apache Thrift

Published 12 Mar 2021 · Updated 10 Sept 2026

Is your project on an affected org.apache.thrift:libthrift?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=0.9.3 <0.14.0
Fixed in
0.14.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.thrift:libthrift -DdepVersion=0.14.0 -DforceVersion=true

Details

In Apache Thrift 0.9.3 to 0.13.0, malicious RPC clients could send short messages which would result in a large memory allocation, potentially leading to denial of service.

Is GHSA-g2fg-mr77-6vrm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.thrift:libthrift, and gives you the command that fixes it.

More advisories for org.apache.thrift:libthrift

  • HighCVE-2026-43871Apache Thrift Python, Go, PHP and Java bindings have an Infinite Loop · 27 Jul 2026
  • HighCVE-2026-43869Apache Thrift has an Improper Validation of Certificate with Host Mismatch Vulnerability · 5 May 2026
  • HighCVE-2026-41603Apache Thrift has an issue with Java TSSLTransportFactory hostname verification · 28 Apr 2026
  • HighCVE-2019-0205Loop with Unreachable Exit Condition in Apache Thrift · 24 May 2022
  • HighCVE-2018-1320Improper Input Validation in Apache Thrift · 17 Jan 2019
  • MediumCVE-2018-11798Apache Thrift Node.js static web server sandbox escape · 17 Jan 2019
org.apache.thrift:libthrift security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.