p PatchFirst

CVE-2021-24025

CVE-2021-24025

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.8 · Critical · EPSS 1.7% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • hhvm

    Versions
    • ≥ 4.98.1, < unspecified: Not affected (custom)
    • 4.98.0: Affected
    • ≥ 4.97.1, < unspecified: Not affected (custom)
    • 4.97.0: Affected
    • ≥ 4.96.1, < unspecified: Not affected (custom)
    • 4.96.0: Affected
    • ≥ 4.95.1, < unspecified: Not affected (custom)
    • 4.95.0: Affected
    • ≥ 4.94.1, < unspecified: Not affected (custom)
    • 4.94.0: Affected
    • ≥ 4.93.2, < unspecified: Not affected (custom)
    • ≥ 4.81.0, < unspecified: Affected (custom)
    • ≥ 4.80.2, < unspecified: Not affected (custom)
    • ≥ 4.57.0, < unspecified: Affected (custom)
    • ≥ 4.56.3, < unspecified: Not affected (custom)
    • ≥ unspecified, < 4.56.3: Affected (custom)

    Update to 4.56.3

  • hhvm Ubuntu:16.04:LTS

    Versions
    • 3.11.0+dfsg-1
    • 3.11.1+dfsg-1
    • 3.11.1+dfsg-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hhvm Ubuntu:18.04:LTS

    Versions
    • 3.21.0+dfsg-2
    • 3.21.0+dfsg-2build1
    • 3.21.0+dfsg-2build2
    • 3.21.0+dfsg-2build3
    • 3.21.0+dfsg-2ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →