CVE-2019-3564 Improper Input Validation and Excessive Iteration in Go Facebook Thrift
Malicious clients can cause denial of service in Go Facebook Thrift servers by sending messages with unknown field types that take excessive time to parse.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-3564?
CVE-2019-3564 is a high-severity denial of service vulnerability in Facebook Thrift, published on 6 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Go Facebook Thrift servers would not error upon receiving messages with containers of fields of unknown type. As a result, malicious clients could send short messages which would take a long time for the server to parse, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2019.03.04.00.
Which versions are affected by CVE-2019-3564?
3 open source packages ship an affected version, including github.com/facebook/fbthrift. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/facebook/fbthrift Go | All versions | 0.31.1-0.20190225164308-c461c1bd1a3e |
github.com/facebook/fbthrift Go | All versions | 0.31.1-0.20190225164308-c461c1bd1a3e |
github.com/facebook/fbthrift Go | All versions | 0.31.1-0.20190225164308-c461c1bd1a3e |
Products include Facebook Thrift.
How do I fix CVE-2019-3564?
Upgrade github.com/facebook/fbthrift to 0.31.1-0.20190225164308-c461c1bd1a3e or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2019-3564 being exploited?
There is no known exploitation of CVE-2019-3564 in the wild and no public exploit code.
Other vulnerabilities in Facebook Thrift
Sources
Also known as GHSA-x4rg-4545-4w7w, GO-2021-0088, UBUNTU-CVE-2019-3564.