Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-native-reanimated
  4. ›
  5. CVE-2022-24373

CVE-2022-24373: Uncontrolled Resource Consumption

September 30, 2022 (updated August 8, 2023)

The package react-native-reanimated is vulnerable to Regular Expression Denial of Service (ReDoS) due to improper usage of regular expression in the parser of Colors.js.

References

  • github.com/software-mansion/react-native-reanimated/pull/3382
  • github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa
  • github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1
  • nvd.nist.gov/vuln/detail/CVE-2022-24373
  • security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507

Code Behaviors & Features

Detect and mitigate CVE-2022-24373 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.0

Fixed versions

  • 2.10.0

Solution

Upgrade to version 2.10.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/react-native-reanimated/CVE-2022-24373.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.