Resource exhaustion in regex - CVE-2022-24713
Published: April 5, 2022
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (ReDoS) attack.
The vulnerability exists due regex for Rust does not properly control consumption of internal resources when parsing untrusted input. A remote attacker can pass specially crafted data to the application and perform a regular expression denial of service (ReDoS) attack.
Affected software
Gentoo Linux
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Slackware Linux
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Workstation Extension
Public Cloud Module
Development Tools Module
openSUSE Leap
Ubuntu
Fedora
bat
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
SUSE Linux Enterprise Module for Packagehub Subpackages
firefox-esr (Debian package)
thunderbird (Debian package)
thunderbird (Red Hat package)
firefox (Red Hat package)
sccache-debugsource
sccache-debuginfo
sccache
librav1e0-64bit-debuginfo
rav1e
rav1e-debugsource
librav1e0
rav1e-devel
librav1e0-debuginfo
rav1e-debuginfo
librav1e0-32bit-debuginfo
librav1e0-32bit
librav1e0-64bit
librust-regex-dev (Ubuntu package)
aws-nitro-enclaves-binaryblobs-upstream
aws-nitro-enclaves-cli
system-group-ne
aws-nitro-enclaves-cli-debugsource
aws-nitro-enclaves-binaryblobs-upstream-debuginfo
aws-nitro-enclaves-cli-debuginfo
rust-regex
rustup
rustup-debuginfo
rustup-debugsource
firefox
thunderbird
MozillaThunderbird-translations-other
MozillaThunderbird-translations-common
MozillaThunderbird-debugsource
MozillaThunderbird-debuginfo
MozillaThunderbird
MozillaFirefox-debugsource
MozillaFirefox-translations-other
MozillaFirefox-translations-common
MozillaFirefox-devel
MozillaFirefox-debuginfo
MozillaFirefox
mail-client/thunderbird-bin
mail-client/thunderbird
firefox (Ubuntu package)
Mozilla Firefox
Firefox ESR
Mozilla Thunderbird
IBM Cloud Pak for Multicloud Management Monitoring
How to mitigate CVE-2022-24713
bat - update to 0.21.0
firefox-esr (Debian package) - addressed in versions 91.8.0esr-1~deb10u1, 91.8.0esr-1~deb11u1
thunderbird (Debian package) - addressed in versions 1:91.8.0-1~deb10u1, 1:91.8.0-1~deb11u1
Mozilla Firefox - update to 99.0
Firefox ESR - update to 91.8.0
Mozilla Thunderbird - update to 91.8.0
thunderbird (Red Hat package) - addressed in versions 91.8.0-1.el7_9, 91.8.0-1.el8_1, 91.8.0-1.el8_2, 91.8.0-1.el8_4, 91.8.0-1.el8_5
firefox (Red Hat package) - addressed in versions 91.8.0-1.el7_9, 91.8.0-1.el8_1, 91.8.0-1.el8_2, 91.8.0-1.el8_4, 91.8.0-1.el8_5
sccache-debugsource - update to 0.3.0~git5.14a4b8b-150300.7.9.1
sccache-debuginfo - addressed in versions 0.3.0~git5.14a4b8b-150300.7.9.1, 0.4.2~3-150400.3.3.1
sccache - addressed in versions 0.3.0~git5.14a4b8b-150300.7.9.1, 0.4.2~3-150400.3.3.1
librav1e0-64bit-debuginfo - update to 0.5.1+0-150400.3.6.1
rav1e - update to 0.5.1+0-150400.3.6.1
rav1e-debugsource - update to 0.5.1+0-150400.3.6.1
librav1e0 - update to 0.5.1+0-150400.3.6.1
rav1e-devel - update to 0.5.1+0-150400.3.6.1
librav1e0-debuginfo - update to 0.5.1+0-150400.3.6.1
rav1e-debuginfo - update to 0.5.1+0-150400.3.6.1
librav1e0-32bit-debuginfo - update to 0.5.1+0-150400.3.6.1
librav1e0-32bit - update to 0.5.1+0-150400.3.6.1
librav1e0-64bit - update to 0.5.1+0-150400.3.6.1
librust-regex-dev (Ubuntu package) - addressed in versions 1.2.1-3ubuntu0.1, 1.5.4-1ubuntu0.1
aws-nitro-enclaves-binaryblobs-upstream - update to 1.2.2~git0.4ccc639-150400.3.3.1
aws-nitro-enclaves-cli - update to 1.2.2~git0.4ccc639-150400.3.3.1
system-group-ne - update to 1.2.2~git0.4ccc639-150400.3.3.1
aws-nitro-enclaves-cli-debugsource - update to 1.2.2~git0.4ccc639-150400.3.3.1
aws-nitro-enclaves-binaryblobs-upstream-debuginfo - update to 1.2.2~git0.4ccc639-150400.3.3.1
aws-nitro-enclaves-cli-debuginfo - update to 1.2.2~git0.4ccc639-150400.3.3.1
rust-regex - addressed in versions 1.5.5-1.fc34, 1.5.5-1.fc35, 1.5.5-1.fc36
rustup - update to 1.25.1~0-150300.7.13.2
rustup-debuginfo - update to 1.25.1~0-150300.7.13.2
rustup-debugsource - update to 1.25.1~0-150300.7.13.2
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 6
firefox - update to 91.8.0-1.0.1
thunderbird - addressed in versions 91.8.0-1.0.1, 91.8.0-1.0.2
MozillaThunderbird-translations-other - update to 91.8.0-150200.8.65.1
MozillaThunderbird-translations-common - update to 91.8.0-150200.8.65.1
MozillaThunderbird-debugsource - update to 91.8.0-150200.8.65.1
MozillaThunderbird-debuginfo - update to 91.8.0-150200.8.65.1
MozillaThunderbird - update to 91.8.0-150200.8.65.1
MozillaFirefox-debugsource - update to 91.8.0-150200.152.26.1
MozillaFirefox-translations-other - update to 91.8.0-150200.152.26.1
MozillaFirefox-translations-common - update to 91.8.0-150200.152.26.1
MozillaFirefox-devel - update to 91.8.0-150200.152.26.1
MozillaFirefox-debuginfo - update to 91.8.0-150200.152.26.1
MozillaFirefox - update to 91.8.0-150200.152.26.1
mail-client/thunderbird-bin - update to 91.12.0
mail-client/thunderbird - update to 91.12.0
firefox (Ubuntu package) - addressed in versions 99.0+build2-0ubuntu0.18.04.2, 99.0+build2-0ubuntu0.20.04.2, 99.0+build2-0ubuntu0.21.10.2
External References
- https://github.com/rust-lang/regex/security/advisories/GHSA-m5pq-gvj9-9vr8
- https://github.com/rust-lang/regex/commit/ae70b41d4f46641dbc45c7a4f87954aea356283e
- https://groups.google.com/g/rustlang-security-announcements/c/NcNNL1Jq7Yw
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PDOWTHNVGBOP2HN27PUFIGRYNSNDTYRJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JANLZ3JXWJR7FSHE57K66UIZUIJZI67T/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O3YB7CURSG64CIPCDPNMGPE4UU24AB6H/
Related Security Bulletins
- Denial of service in regex for Rust
- Multiple vulnerabilities in Mozilla Firefox
- Slackware Linux update for mozilla-firefox
- Multiple vulnerabilities in Mozilla Thunderbird
- Slackware Linux update for mozilla-thunderbird
- Debian update for firefox-esr
- Red Hat Enterprise Linux 8.1 update for firefox
- Red Hat Enterprise Linux 7 update for firefox
- Red Hat Enterprise Linux 8.4 update for firefox
- Red Hat Enterprise Linux 8.2 update for firefox
- Red Hat Enterprise Linux 8 update for firefox
- Ubuntu update for firefox
- Red Hat Enterprise Linux 8 update for thunderbird
- Red Hat Enterprise Linux 8.1 update for thunderbird
- Red Hat Enterprise Linux 8.4 update for thunderbird
- Red Hat Enterprise Linux 7 update for thunderbird
- Red Hat Enterprise Linux 8.2 update for thunderbird
- Debian update for thunderbird
- Denial of service in bat
- Gentoo update for Mozilla Firefox
- Gentoo update for Mozilla Thunderbird
- Ubuntu update for rust-regex
- SUSE update for rustup
- SUSE update for sccache
- Multiple vulnerabilities in IBM Cloud Pak for Multicloud Management Monitoring
- SUSE update for MozillaFirefox
- SUSE update for MozillaThunderbird
- SUSE update for aws-nitro-enclaves-cli
- SUSE update for sccache
- Fedora 36 update for rust-regex
- Fedora 35 update for rust-regex
- Fedora 34 update for rust-regex
- Anolis OS update for firefox
- Anolis OS update for firefox
- Anolis OS update for thunderbird
- Anolis OS update for thunderbird
- SUSE update for rav1e