cve.bz

CVE-2021-24036 facebook: Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalEPSS 3.3%Fix available

Critical (9.8) in facebook. EPSS 3.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-24036 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-24036?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-24036?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-24036 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Facebook follybefore v2021.07.22.00
Facebook HHVMfrom 4.118.0 before unspecified
Facebook HHVM4.117.0
Facebook HHVM4.116.0
Facebook HHVM4.115.0
Facebook HHVM4.114.0
Facebook HHVM4.113.0
Facebook HHVMfrom 4.102.0 before unspecified
Facebook HHVMfrom 4.81.0 before unspecified
Facebook HHVMbefore 4.80.5

Fixed in

ProductFixed in
Facebook follyv2021.07.22.00
Facebook HHVM4.118.2
Facebook HHVM4.117.1
Facebook HHVM4.116.1
Facebook HHVM4.115.1
Facebook HHVM4.114.1
Facebook HHVM4.113.1
Facebook HHVM4.102.2
Facebook HHVM4.80.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTShhvmno fix listedUBUNTU-CVE-2021-24036

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON