Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-24713
HistoryMar 08, 2022 - 12:00 a.m.

CVE-2022-24713

2022-03-0800:00:00
ubuntu.com
ubuntu.com
18
cve-2022-24713
regex crate
denial of service
mitigations
parsing
user-controlled
upgrade
vulnerability fix

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.004

Percentile

72.2%

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 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.

Bugs

Notes

Author Note
eslerm adding thunderbird per mfsa2022-15
OSVersionArchitecturePackageVersionFilename
ubuntu18.04noarchfirefox< 99.0+build2-0ubuntu0.18.04.2UNKNOWN
ubuntu20.04noarchfirefox< 99.0+build2-0ubuntu0.20.04.2UNKNOWN
ubuntu21.10noarchfirefox< 99.0+build2-0ubuntu0.21.10.2UNKNOWN
ubuntu22.04noarchfirefox< 1:1snap1-0ubuntu1UNKNOWN
ubuntu22.10noarchfirefox< 1:1snap1-0ubuntu1UNKNOWN
ubuntu23.04noarchfirefox< 1:1snap1-0ubuntu1UNKNOWN
ubuntu20.04noarchrust-regex< 1.2.1-3ubuntu0.1UNKNOWN
ubuntu22.04noarchrust-regex< 1.5.4-1ubuntu0.1UNKNOWN
ubuntu18.04noarchthunderbird< 1:91.8.1+build1-0ubuntu0.18.04.1UNKNOWN
ubuntu20.04noarchthunderbird< 1:91.8.1+build1-0ubuntu0.20.04.1UNKNOWN
Rows per page:
1-10 of 111

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.004

Percentile

72.2%