CVE-2022-24373
Swmansion React Native Reanimated vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Swmansion React Native Reanimated runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/software-mansion/react-native-reanimated/pull/3382 · Exploit
- github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a0 · Patch
- github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1 · Patch
- security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-24373
- cve.org/CVERecord?id=CVE-2022-24373
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.