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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | react-native-reanimated | unspecified – < 3.0.0-rc.1 | 3.0.0-rc.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | react-native-reanimated | < 2.10.0 | 2.10.0 | GHSA-2j79-8pqc-r7x6 |
References
- 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