{"id":"CVE-2019-11939","aliases":["CVE-2019-11939","GHSA-w3r9-r9w7-8h48","GO-2021-0082"],"related":["CGA-8r6w-x595-3279"],"kind":"vulnerability","state":"published","title":"Golang Facebook Thrift servers vulnerable to denial of service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"en","text":"Thrift Servers preallocate memory for the declared size of messages before checking the actual size of the message. This allows a malicious user to send messages that declare that they are significantly larger than they actually are, allowing them to force the server to allocate significant amounts of memory. This can be used as a denial of service vector.","format":"markdown","source":"go"},{"lang":"es","text":"Los servidores de Golang Facebook Thrift, no se equivocarían tras recibir mensajes declarando contenedores de tamaños más grandes que la carga útil. Como resultado, unos clientes maliciosos podrían enviar mensajes cortos que resultaría en una asignación de memoria considerable, conllevando potencialmente a una denegación de servicio. Este problema afecta a Facebook Thrift versiones anteriores a v2020.03.16.00.","source":"nvd"}],"published":"2020-03-18T00:40:12.000Z","modified":"2026-09-10T03:49:43.123Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"v2020.03.16.00","fixed":"unspecified","status":"unaffected"},{"type":"custom","introduced":"unspecified","fixed":"v2020.03.16.00","status":"affected"}],"vendor":"Facebook","product":"Facebook Thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.31.1-0.20200311080807-483ed864d69f"}],"ecosystem":"Go","package":"github.com/facebook/fbthrift","purl":"pkg:golang/github.com/facebook/fbthrift","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.31.1-0.20200311080807-483ed864d69f"}],"ecosystem":"Go","package":"github.com/facebook/fbthrift","purl":"pkg:golang/github.com/facebook/fbthrift","source":"go"},{"ranges":[{"status":"affected","fixed":"2020.03.16.00"}],"vendor":"facebook","product":"thrift","cpe":"cpe:2.3:a:facebook:thrift:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/facebook/fbthrift/commit/483ed864d69f307e9e3b9dadec048216100c0757","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.facebook.com/security/advisories/cve-2019-11939","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11939","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/facebook/fbthrift","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0082","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"facebook","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-11939","url":"https://www.cve.org/CVERecord?id=CVE-2019-11939","licence":"CVE Terms of Use","modified":"2024-08-04T23:10:29.633Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w3r9-r9w7-8h48","url":"https://github.com/advisories/GHSA-w3r9-r9w7-8h48","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:43.123Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0082","url":"https://pkg.go.dev/vuln/GO-2021-0082","licence":"CC-BY-4.0","modified":"2026-02-04T02:54:52.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-11939","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11939","licence":"Public domain","modified":"2026-06-17T02:13:52.567Z"}],"updatedAt":"2026-11-25T22:57:49.627Z","epss":{"score":0.01557,"percentile":0.75918,"date":"2026-12-01T12:00:22.000Z"}}