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.
Remediation
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
Related Vulnerabilities
CVE-2020-8237 Vulnerability in npm package json-bigint
CVE-2008-6681 Vulnerability in maven package org.apache.geronimo.plugins:dojo
CVE-2020-36182 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-39322 Vulnerability in npm package @keystone-6/core
CVE-2023-43497 Vulnerability in maven package org.jenkins-ci.main:jenkins-core