HIGH7.5
GHSA-x4rg-4545-4w7w
Improper Input Validation and Excessive Iteration in Go Facebook Thrift
Quick fix
GHSA-x4rg-4545-4w7w — github.com/facebook/fbthrift: upgrade to the fixed version with the command below.
go get github.com/facebook/fbthrift@v0.31.1-0.20190225164308-c461c1bd1a3eDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/facebook/fbthrift
Introduced in:
0Fixed in: 0.31.1-0.20190225164308-c461c1bd1a3eFix
go get github.com/facebook/fbthrift@v0.31.1-0.20190225164308-c461c1bd1a3eReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-3564[ADVISORY]
- https://github.com/facebook/fbthrift/commit/c461c1bd1a3e130b181aa9c854da3030cd4b5156[WEB]
- https://github.com/facebook/fbthrift[PACKAGE]
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E[WEB]
- https://pkg.go.dev/vuln/GO-2021-0088[WEB]
- https://www.facebook.com/security/advisories/cve-2019-3564[WEB]