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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | react-native-reanimated | 2.10.0 | GHSA-2j79-8pqc-r7x6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507 x_refsource_MISC
- https://github.com/software-mansion/react-native-reanimated/pull/3382 x_refsource_MISC
- https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa x_refsource_MISC
- https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1 x_refsource_MISC