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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2022-24373 - High Severity Vulnerability
Vulnerable Library - react-native-reanimated-2.8.0.tgz
More powerful alternative to Animated library for React Native.
Library home page: https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-2.8.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/react-native-reanimated/package.json
Dependency Hierarchy: - :x: **react-native-reanimated-2.8.0.tgz** (Vulnerable Library)
Found in HEAD commit: 7fe36112d3d63b30268969f509f9eb39f8ee6eb8
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-09-30
URL: CVE-2022-24373
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2022-09-30
Fix Resolution: react-native-reanimated - 3.0.0-rc.1
Step up your Open Source Security Game with Mend here