CVE-2022-24713

Description

regex 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 its considered part of the crates API. Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and its 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 Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
5.852

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities fixed in Mozilla Firefox (x64) (99.0)Windows
Multiple vulnerabilities fixed in Mozilla Firefox (99.0)Windows
Multiple vulnerabilities fixed in Mozilla Firefox ESR (91) (x64) (91.8.0)Windows
Multiple vulnerabilities fixed in Mozilla Firefox ESR (91) (91.8.0)Windows
Multiple vulnerabilities fixed in Mozilla Thunderbird (91) (91.8.0)Windows
Multiple vulnerabilities fixed in Mozilla Thunderbird (91) (x64) (91.8.0)Windows
Multiple vulnerabilities are fixed in Mozilla Firefox For Mac (99.0)Mac
Multiple vulnerabilities are fixed in Mozilla Firefox For Mac (99.0.1)Mac
Multiple vulnerabilities are fixed in Mozilla Thunderbird For Mac (91.8.0)Mac
Multiple vulnerabilities are fixed in Mozilla Thunderbird For Mac (91.8.1)Mac
Multiple vulnerabilities are fixed in Mozilla Firefox ESR for MAC 91.8.0Mac
firefox-esr security update(DSA-5113-1) firefox-esr_91.8.0esr-1~deb10u1_amd64.debLinux
firefox-esr security update(DSA-5113-1) firefox-esr_91.8.0esr-1~deb11u1_amd64.debLinux
(RHSA-2022:1284) firefox security update firefox-91.8.0-1.el7_9.i686.rpmLinux
(RHSA-2022:1284) firefox security update firefox-91.8.0-1.el7_9.x86_64.rpmLinux
(RHSA-2022:1287) firefox security update firefox-91.8.0-1.el8_5.x86_64.rpmLinux
(RHSA-2022:1287) firefox security update firefox-debugsource-91.8.0-1.el8_5.x86_64.rpmLinux
thunderbird security update(DSA-5118-1) thunderbird_91.8.0-1~deb10u1_i386.debLinux
thunderbird security update(DSA-5118-1) thunderbird_91.8.0-1~deb10u1_amd64.debLinux
thunderbird security update(DSA-5118-1) thunderbird_91.8.0-1~deb11u1_amd64.debLinux
Mozilla Open Source web browser (USN-5370-1) firefox_99.0+build2-0ubuntu0.18.04.2_i386.debLinux
Mozilla Open Source web browser (USN-5370-1) firefox_99.0+build2-0ubuntu0.18.04.2_amd64.debLinux
Mozilla Open Source web browser (USN-5370-1) firefox_99.0+build2-0ubuntu0.20.04.2_amd64.debLinux
Mozilla Open Source web browser (USN-5370-1) firefox_99.0+build2-0ubuntu0.21.10.2_amd64.debLinux
Firefox update (ELSA-2022-1287) firefox-91.8.0-1.0.1.el8_5.x86_64.rpmLinux
Thunderbird update (ELSA-2022-1302) thunderbird-91.8.0-1.0.1.el7_9.x86_64.rpmLinux
(RHSA-2022:1301) thunderbird security update thunderbird-91.8.0-1.el8_5.x86_64.rpmLinux
(RHSA-2022:1301) thunderbird security update thunderbird-debugsource-91.8.0-1.el8_5.x86_64.rpmLinux
(RHSA-2022:1302) thunderbird security update thunderbird-91.8.0-1.el7_9.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) aws-nitro-enclaves-binaryblobs-upstream-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) aws-nitro-enclaves-binaryblobs-upstream-debuginfo-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) aws-nitro-enclaves-cli-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) aws-nitro-enclaves-cli-debuginfo-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) aws-nitro-enclaves-cli-debugsource-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:1844-1(Public Cloud Module 15-SP4 ) system-group-ne-1.2.2~git0.4ccc639-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:3526-1(Development Tools Module 15-SP4 ) sccache-0.4.2~3-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:3526-1(Development Tools Module 15-SP5 ) sccache-0.4.2~3-150400.3.3.1.x86_64_15_SP5.rpmLinux
SUSE-SU-2023:3526-1(Development Tools Module 15-SP4 ) sccache-debuginfo-0.4.2~3-150400.3.3.1.x86_64.rpmLinux
SUSE-SU-2023:3526-1(Development Tools Module 15-SP5 ) sccache-debuginfo-0.4.2~3-150400.3.3.1.x86_64_15_SP5.rpmLinux

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-324360Mozilla Firefox (x64) (99.0)
PATCH-324359Mozilla Firefox (99.0)
PATCH-324368Mozilla Thunderbird (91) (91.8.0)
PATCH-324369Mozilla Thunderbird (91) (x64) (91.8.0)
PATCH-607000Mozilla Firefox For Mac (124.0)
PATCH-607000Mozilla Firefox For Mac (124.0)
PATCH-611353Mozilla Thunderbird For Mac (128.12.0)
PATCH-611353Mozilla Thunderbird For Mac (128.12.0)
PATCH-607001Mozilla Firefox ESR for MAC 115.9.0

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234