CVE-2019-11939: Golang Facebook Thrift servers vulnerable to denial of service

github.com/facebook/fbthrift Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
7.5

CVE-2019-11939: Golang Facebook Thrift servers vulnerable to denial of service. Affects github.com/facebook/fbthrift versions < 0.31.1-0.20200311080807-483ed864d69f. Fixed in 0.31.1-0.20200311080807-483ed864d69f. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Golang Facebook Thrift servers are a set of libraries and tools for building efficient and scalable RPC (Remote Procedure Call) services. These servers are widely used in various applications to enable communication between different components. The servers handle incoming messages and process them according to the defined Thrift protocol. However, prior to version v2020.03.16.00, the servers did not properly handle messages declaring containers of sizes larger than the payload. This vulnerability could be exploited by malicious clients to send short messages that would result in a large memory allocation, potentially leading to denial of service attacks.

Vulnerability Detail

The vulnerability in Golang Facebook Thrift servers allows malicious clients to exploit the servers' failure to error upon receiving messages with containers of larger sizes than the payload. By sending short messages that trigger large memory allocations, attackers can cause the servers to consume excessive resources, potentially leading to denial of service. This vulnerability has a CVSS score of 7.5, indicating a high severity level. It affects Facebook Thrift versions prior to v2020.03.16.00.

How To Fix

Latest published version: v0.31.0 as of 23 Oct 2026

go get github.com/facebook/fbthrift@v0.31.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.31.1-0.20200311080807-483ed864d69f

This is the first release that contains the fix.

go get github.com/facebook/fbthrift@v0.31.1-0.20200311080807-483ed864d69f

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the Facebook Thrift library to the fixed version to mitigate the risk of denial of service attacks.

Conclusion

The Golang Facebook Thrift servers are vulnerable to denial of service attacks due to a failure to properly handle messages with containers of larger sizes than the payload. To mitigate this vulnerability, it is crucial to update the Facebook Thrift library to version v2020.03.16.00 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/facebook/fbthrift →

Share this vulnerability

FAQ

Golang Facebook Thrift is a set of libraries and tools for building efficient and scalable RPC services. It enables communication between different components in applications.

The vulnerability allows malicious clients to cause denial of service attacks by sending short messages that trigger large memory allocations in the Facebook Thrift servers.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

To fix this vulnerability, update the Facebook Thrift library to version v2020.03.16.00 or later.

There is no known workaround for this vulnerability. Updating the Facebook Thrift library is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/facebook/fbthrift.

How To Fix

Latest published version: v0.31.0 as of 23 Oct 2026

go get github.com/facebook/fbthrift@v0.31.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.31.1-0.20200311080807-483ed864d69f

This is the first release that contains the fix.

go get github.com/facebook/fbthrift@v0.31.1-0.20200311080807-483ed864d69f

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback