Out-of-bounds Write Affecting facebook/folly package, versions [,2021.07.22.00)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.28% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FACEBOOKFOLLY-2333598
  • published12 Jan 2022
  • disclosed23 Jul 2021
  • creditUnknown

Introduced: 23 Jul 2021

CVE-2021-24036  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade facebook/folly to version 2021.07.22.00 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds write on the heap with the possibility of remote code execution. This issue affects versions of folly prior to v2021.07.22.00. This issue affects HHVM versions prior to 4.80.5, all versions between 4.81.0 and 4.102.1, all versions between 4.103.0 and 4.113.0, and versions 4.114.0, 4.115.0, 4.116.0, 4.117.0, 4.118.0 and 4.118.1.

CVSS Base Scores

version 3.1