CVE-2019-11939: Golang Facebook Thrift servers vulnerable to denial of service
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68924%
CWE
Published
5/24/2022
Updated
9/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/facebook/fbthrift | go | < 0.31.1-0.20200311080807-483ed864d69f | 0.31.1-0.20200311080807-483ed864d69f |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from container size handling in protocol deserialization. The patch adds critical validation()
checks in these functions comparing declared container sizes (map/list/set) with p.trans.RemainingBytes()
. The affected functions are clearly identified in the commit diff as the locations where unsafe pre-allocation occurred without payload size validation()
. The CWE-770 context confirms this is a resource allocation without limits issue. Test cases added in *_test.go
files specifically target these functions' vulnerable behavior.