Advisory

GHSA-w3r9-r9w7-8h48

Also known as: CVE-2019-11939, GO-2021-0082

Summary

Golang Facebook Thrift servers vulnerable to denial of service

Details

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Specific Go Packages Affected
github.com/facebook/fbthrift/thrift/lib/go/thrift

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:11 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/facebook/fbthrift

Go · All systems

Affected

  • introduced 0, fixed 0.31.1-0.20200311080807-483ed864d69f (semver)

Fixed versions

0.31.1-0.20200311080807-483ed864d69f

Fix

  • Fixed version 0.31.1-0.20200311080807-483ed864d69f
    go get github.com/facebook/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences