What’s Vulnerable › Vulnerabilities
CVE-2022-24373: Regular Expression Denial of Service (ReDoS)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-30 · updated 2026-06-17
- Weakness: CWE-1333
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 products
- react-native-reanimated: before 2.10.0 — fixed in 2.10.0
How to fix
Upgrade to a fixed version: react-native-reanimated 2.10.0. Check the vendor advisory for mitigations.
References
- https://github.com/software-mansion/react-native-reanimated/pull/3382
- https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa
- https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1
- https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507
- https://github.com/software-mansion/react-native-reanimated/pull/3382
- https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa
- https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1
- https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507
Get alerted when CVE-2022-24373 or the next vulnerability affects your stack