CVE-2019-11939: Github.com/facebook/fbthrift Denial of Service Vulnerability
HIGHCVE-2019-11939 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/facebook/fbthrift libraries in the Go ecosystem. The issue involves golang facebook thrift servers vulnerable to denial of service. Remediation is available by upgrading affected packages to version 0.31.1-0.20200311080807-483ed864d69f.
CVE-2019-11939 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2019-11939
To remediate this vulnerability, upgrade all affected Github.com/facebook/fbthrift dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/facebook/fbthrift to 0.31.1-0.20200311080807-483ed864d69f
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/facebook/fbthrift
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-11939, inspect your project dependencies for Github.com/facebook/fbthrift:
inspect dependencies for github.com/facebook/fbthrift
Analyze the terminal output to locate any version of Github.com/facebook/fbthrift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.31.1-0.20200311080807-483ed864d69f), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/facebook/fbthrift, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-11939 Affected Github.com/facebook/fbthrift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/facebook/fbthrift
|
Go |
< 0.31.1-0.20200311080807-483ed864d69f
|
0.31.1-0.20200311080807-483ed864d69f
|
References
Frequently Asked Questions
What is CVE-2019-11939?
Which Github.com/facebook/fbthrift versions are affected?
What version fixes CVE-2019-11939?
Is github.com/facebook/fbthrift affected?
What is the CVSS score of CVE-2019-11939?
What CWE is associated with CVE-2019-11939?
How can I check Go dependencies for CVE-2019-11939?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w3r9-r9w7-8h48",
"modified" : "2023-09-29T17:09:10Z",
"published" : "2022-05-24T17:11:45Z",
"aliases" : [ "CVE-2019-11939" ],
"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.\n\n### Specific Go Packages Affected\ngithub.com/facebook/fbthrift/thrift/lib/go/thrift",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/facebook/fbthrift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.31.1-0.20200311080807-483ed864d69f"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11939"
}, {
"type" : "WEB",
"url" : "https://github.com/facebook/fbthrift/commit/483ed864d69f307e9e3b9dadec048216100c0757"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/facebook/fbthrift"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2021-0082"
}, {
"type" : "WEB",
"url" : "https://www.facebook.com/security/advisories/cve-2019-11939"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T00:26:28Z",
"nvd_published_at" : "2020-03-18T01:15:00Z"
}
}