Skip to content

CVE-2021-24036 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...

CriticalCVSS 9.8 EPSS 3.3%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

Description

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.

Upgrade path

4 packages: 1 fixed, 1 partially fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/hhvm(Ubuntu 16.04) = 3.11.0+dfsg-1; = 3.11.1+dfsg-1; = 3.11.1+dfsg-1ubuntu1; All versions No fix listed No fix yet
ubuntu/hhvm(Ubuntu 18.04) = 3.21.0+dfsg-2; = 3.21.0+dfsg-2build1; = 3.21.0+dfsg-2build2; = 3.21.0+dfsg-2build3 +2 more No fix listed No fix yet
facebook hhvm < 4.80.5; = 4.113.0; = 4.114.0; = 4.115.0 +9 more 4.80.5 Partially fixed
facebook folly < 2021.07.22.00; < v2021.07.22.00 2021.07.22.00, v2021.07.22.00 Fixed

Affected products

ProductAffected versionsFixed in
facebook folly < 2021.07.22.00 2021.07.22.00
facebook hhvm < 4.80.5 4.80.5
facebook hhvm >= 4.81.0, <= 4.102.1 No fix listed
facebook hhvm >= 4.103.0, <= 4.113.0 No fix listed
facebook hhvm = 4.114.0 No fix listed
facebook hhvm = 4.115.0 No fix listed
facebook hhvm = 4.116.0 No fix listed
facebook hhvm = 4.117.0 No fix listed
facebook hhvm = 4.118.0 No fix listed
facebook hhvm = 4.118.1 No fix listed
facebook folly < v2021.07.22.00 v2021.07.22.00
facebook hhvm >= 4.118.0 No fix listed
facebook hhvm = 4.113.0 No fix listed
facebook hhvm >= 4.102.0 No fix listed
facebook hhvm >= 4.81.0 No fix listed
ubuntu/hhvm(Ubuntu:16.04) All versions No fix listed
ubuntu/hhvm(Ubuntu:16.04) = 3.11.0+dfsg-1 No fix listed
ubuntu/hhvm(Ubuntu:16.04) = 3.11.1+dfsg-1 No fix listed
ubuntu/hhvm(Ubuntu:16.04) = 3.11.1+dfsg-1ubuntu1 No fix listed
ubuntu/hhvm(Ubuntu:18.04) All versions No fix listed
ubuntu/hhvm(Ubuntu:18.04) = 3.21.0+dfsg-2 No fix listed
ubuntu/hhvm(Ubuntu:18.04) = 3.21.0+dfsg-2build1 No fix listed
ubuntu/hhvm(Ubuntu:18.04) = 3.21.0+dfsg-2build2 No fix listed
ubuntu/hhvm(Ubuntu:18.04) = 3.21.0+dfsg-2build3 No fix listed
ubuntu/hhvm(Ubuntu:18.04) = 3.21.0+dfsg-2ubuntu2 No fix listed

References