Vulnerability · Published Sep 30, 2022 · Assigned by snyk

CVE-2022-24373Regular Expression Denial of Service (ReDoS)

Medium 5.3

In plain English

A medium-severity regular-expression denial of service in react-native-reanimated. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.6%top 23.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The package react-native-reanimated before 3.0.0-rc.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper usage of regular expression in the parser of Colors.js.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmreact-native-reanimated2.10.0GHSA-2j79-8pqc-r7x6

Affected products (as reported)

VendorProductVersions
n/a react-native-reanimated unspecified – before 3.0.0-rc.1

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

References