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.
problem types: Heap-based Buffer Overflow (CWE-122)
affected:
{
product: folly
vendor: Facebook
versions:
lessThan: unspecified, status: unaffected, version: v2021.07.22.00, versionType: custom
lessThan: v2021.07.22.00, status: affected, version: unspecified, versionType: custom
}
{
product: HHVM
vendor: Facebook
versions:
lessThan: unspecified, status: unaffected, version: 4.118.2, versionType: custom
lessThan: unspecified, status: affected, version: 4.118.0, versionType: custom
lessThan: unspecified, status: unaffected, version: 4.117.1, versionType: custom
status: affected, version: 4.117.0
lessThan: unspecified, status: unaffected, version: 4.116.1, versionType: custom
status: affected, version: 4.116.0
lessThan: unspecified, status: unaffected, version: 4.115.1, versionType: custom
status: affected, version: 4.115.0
lessThan: unspecified, status: unaffected, version: 4.114.1, versionType: custom
status: affected, version: 4.114.0
lessThan: unspecified, status: unaffected, version: 4.113.1, versionType: custom
status: affected, version: 4.113.0
lessThan: unspecified, status: unaffected, version: 4.102.2, versionType: custom
lessThan: unspecified, status: affected, version: 4.102.0, versionType: custom
lessThan: unspecified, status: affected, version: 4.81.0, versionType: custom
lessThan: unspecified, status: unaffected, version: 4.80.5, versionType: custom
lessThan: 4.80.5, status: affected, version: unspecified, versionType: custom
}
