VDB
Sign up
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-c461c1bd1a3e

Details

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-c461c1bd1a3e
Fixgo get github.com/facebook/fbthrift@v0.31.1-0.20190225164308-c461c1bd1a3e

References