CVE-2021-24025
N/A
N/A
Summary
Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HHVM | 4.98.1 < unspecified | unaffected | |
| HHVM | 4.98.0 | affected | |
| HHVM | 4.97.1 < unspecified | unaffected | |
| HHVM | 4.97.0 | affected | |
| HHVM | 4.96.1 < unspecified | unaffected | |
| HHVM | 4.96.0 | affected | |
| HHVM | 4.95.1 < unspecified | unaffected | |
| HHVM | 4.95.0 | affected | |
| HHVM | 4.94.1 < unspecified | unaffected | |
| HHVM | 4.94.0 | affected | |
| HHVM | 4.93.2 < unspecified | unaffected | |
| HHVM | 4.81.0 < unspecified | affected | |
| HHVM | 4.80.2 < unspecified | unaffected | |
| HHVM | 4.57.0 < unspecified | affected | |
| HHVM | 4.56.3 < unspecified | unaffected | |
| HHVM | unspecified < 4.56.3 | affected |
Weaknesses
- CWE-122: Heap-based Buffer Overflow (CWE-122)
ADP Enrichment
CVE Program Container
Additional References
- https://hhvm.com/blog/2021/02/25/security-update.html
- https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca
References
- https://hhvm.com/blog/2021/02/25/security-update.html
- https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.