CVE-2022-24713

Summary

CVECVE-2022-24713
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-08 19:15:00 UTC
Updated2023-11-07 03:44:00 UTC
Descriptionregex is an implementation of regular expressions for the Rust language. The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This guarantee is documented and it's considered part of the crate's API. Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and it's possible to craft regexes that bypass such mitigations. This makes it possible to perform denial of service attacks by sending specially crafted regexes to services accepting user-controlled, untrusted regexes. All versions of the regex crate before or equal to 1.5.4 are affected by this issue. The fix is include starting from regex 1.5.5. All users accepting user-controlled regexes are recommended to upgrade immediately to the latest version of the regex crate. Unfortunately there is no fixed set of problematic regexes, as there are practically infinite regexes that could be crafted to exploit this vulnerability. Because of this, it us not recommend to deny known problematic regexes.

Risk And Classification

Problem Types: CWE-1333

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Rust-lang Regex All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 36 Update: rust-regex-1.5.5-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Regexes with large repetitions on empty sub-expressions take a very long time to parse · Advisory · rust-lang/regex · GitHub CONFIRM github.com
Debian -- Security Information -- DSA-5113-1 firefox-esr DEBIAN www.debian.org
[SECURITY] Fedora 34 Update: rust-regex-1.5.5-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 2971-1] firefox-esr security update MLIST lists.debian.org
[SECURITY] Fedora 36 Update: rust-regex-1.5.5-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Mozilla Thunderbird: Multiple Vulnerabilities (GLSA 202208-14) — Gentoo security GENTOO security.gentoo.org
[SECURITY] [DLA 2978-1] thunderbird security update MLIST lists.debian.org
Security advisory for the regex crate (CVE-2022-24713) MISC groups.google.com
Debian -- Security Information -- DSA-5118-1 thunderbird DEBIAN www.debian.org
Mozilla Firefox: Multiple Vulnerabilities (GLSA 202208-08) — Gentoo security GENTOO security.gentoo.org
[SECURITY] Fedora 34 Update: rust-regex-1.5.5-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
security: fix denial-of-service bug in compiler · rust-lang/regex@ae70b41 · GitHub MISC github.com
[SECURITY] Fedora 35 Update: rust-regex-1.5.5-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: rust-regex-1.5.5-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159748 Oracle Enterprise Linux Security Update for firefox (ELSA-2022-1287)
  • 159751 Oracle Enterprise Linux Security Update for firefox (ELSA-2022-1284)
  • 159752 Oracle Enterprise Linux Security Update for thunderbird (ELSA-2022-1302)
  • 159753 Oracle Enterprise Linux Security Update for thunderbird (ELSA-2022-1301)
  • 179173 Debian Security Update for firefox-esr (DSA 5113-1)
  • 179174 Debian Security Update for firefox-esr (DLA 2971-1)
  • 179183 Debian Security Update for thunderbird (DSA 5118-1)
  • 179185 Debian Security Update for thunderbird (DLA 2978-1)
  • 182545 Debian Security Update for firefox-esrthunderbirdrust-regex (CVE-2022-24713)
  • 198733 Ubuntu Security Notification for Firefox Vulnerabilities (USN-5370-1)
  • 198936 Ubuntu Security Notification for rust-regex Vulnerability (USN-5610-1)
  • 240205 Red Hat Update for firefox (RHSA-2022:1286)
  • 240206 Red Hat Update for firefox (RHSA-2022:1285)
  • 240207 Red Hat Update for firefox (RHSA-2022:1287)
  • 240208 Red Hat Update for firefox (RHSA-2022:1284)
  • 240211 Red Hat Update for thunderbird (RHSA-2022:1302)
  • 240212 Red Hat Update for thunderbird (RHSA-2022:1305)
  • 240214 Red Hat Update for thunderbird (RHSA-2022:1301)
  • 240215 Red Hat Update for thunderbird (RHSA-2022:1326)
  • 240428 Red Hat Update for firefox (RHSA-2022:1283)
  • 282485 Fedora Security Update for rust (FEDORA-2022-ceb3e03c5e)
  • 282486 Fedora Security Update for rust (FEDORA-2022-8436ac4c39)
  • 296064 Oracle Solaris 11.4 Support Repository Update (SRU) 46.119.2 Missing (CPUAPR2022)
  • 353266 Amazon Linux Security Advisory for thunderbird : ALAS2-2022-1789
  • 376518 Mozilla Firefox ESR Multiple Vulnerabilities (MFSA2022-14)
  • 376519 Mozilla Firefox Multiple Vulnerabilities (MFSA2022-13)
  • 376522 Mozilla Thunderbird Multiple Vulnerabilities (MFSA2022-15)
  • 502040 Alpine Linux Security Update for bat
  • 502076 Alpine Linux Security Update for firefox-esr
  • 502246 Alpine Linux Security Update for bat
  • 502264 Alpine Linux Security Update for delta
  • 502368 Alpine Linux Security Update for swayr
  • 502388 Alpine Linux Security Update for thunderbird
  • 502691 Alpine Linux Security Update for firefox
  • 504586 Alpine Linux Security Update for bat
  • 504661 Alpine Linux Security Update for delta
  • 710582 Gentoo Linux Mozilla Firefox Multiple Vulnerabilities (GLSA 202208-08)
  • 710585 Gentoo Linux Mozilla Thunderbird Multiple Vulnerabilities (GLSA 202208-14)
  • 751972 SUSE Enterprise Linux Security Update for MozillaFirefox (SUSE-SU-2022:1127-1)
  • 751973 OpenSUSE Security Update for MozillaFirefox (openSUSE-SU-2022:1127-1)
  • 752855 SUSE Enterprise Linux Security Update for rustup (SUSE-SU-2022:3949-1)
  • 752934 SUSE Enterprise Linux Security Update for sccache (SUSE-SU-2022:4073-1)
  • 753461 SUSE Enterprise Linux Security Update for MozillaThunderbird (SUSE-SU-2022:1176-1)
  • 940476 AlmaLinux Security Update for firefox (ALSA-2022:1287)
  • 940477 AlmaLinux Security Update for thunderbird (ALSA-2022:1301)
  • 960590 Rocky Linux Security Update for thunderbird (RLSA-2022:1301)
  • 960633 Rocky Linux Security Update for firefox (RLSA-2022:1287)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report