CVE-2022-24373
JSON

5.3medium

Regular Expression Denial of Service (ReDoS)

Severity
5.3medium CVSS:3.1 by snyk
Exploit likelihood
1.67% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-2j79-8pqc-r7x6

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

Product or packageVersionsReported by
react-native-reanimatedfrom unspecified before 3.0.0-rc.1CVE List
react-native-reanimated (npm)before 2.10.0GitHub Advisory Database
swmansion react_native_reanimatedbefore 2.10.0NVD

All scores

snyk5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

El paquete react-native-reanimated versiones anteriores a 3.0.0-rc.1, es vulnerable a una Denegación de Servicio por Expresión Regular (ReDoS) debido a un uso no apropiado de la expresión regular en el analizador del archivo Colors.js

References

https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507exploit, patch, third-party-advisory, web
https://github.com/software-mansion/react-native-reanimated/pull/3382exploit, patch, third-party-advisory, web
https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fapatch, third-party-advisory, web
https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1patch, release-notes, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-24373advisory
https://github.com/software-mansion/react-native-reanimated/commit/8a927904366fa2d02df7a11553f8b0aa93471279web
https://github.com/software-mansion/react-native-reanimatedpackage
https://github.com/software-mansion/react-native-reanimated/compare/2.9.1...2.10.0web

Sources

SourceRecordLicence
CVE ListCVE-2022-24373 changed 2025-05-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-2j79-8pqc-r7x6 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-24373 changed 2026-06-17Public domain