Medium
Regular Expression Denial of Service (ReDoS)
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-24373
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:49 UTC · Revision 1
Source evidence
Regular Expression Denial of Service (ReDoS)
core-osv · Original sourcePublished 30 Sept 2022, 05:00 UTC
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.
osv:CVE-2022-24373
Complete source record
{
"id": "2e1e6f1f1a854ef6474ee6b8b390694b4770317fcac520cb35c800df34f34e8a",
"url": "https://osv.dev/vulnerability/CVE-2022-24373",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Regular Expression Denial of Service (ReDoS)",
"summary": "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.",
"evidence": "osv:CVE-2022-24373",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-24373",
"aliases": [
"CVE-2022-24373",
"GHSA-2j79-8pqc-r7x6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/software-mansion/react-native-reanimated",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "1b61196c1a5e2f05da533b6035c6663d0129bbc5"
},
{
"fixed": "f310408c0fdb39b14c178dd1909bf9a82f8af657"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:swmansion:react_native_reanimated:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.10.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "f310408c0fdb39b14c178dd1909bf9a82f8af657"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.0.0-rc.1"
}
]
}
}
],
"versions": [
"2.9.0",
"3.0.0-rc.0",
"2.8.0",
"2.7.0",
"2.6.0",
"2.4.1",
"2.3.1",
"2.4.0",
"2.3.0",
"2.3.0-beta.4",
"2.3.0-beta.3",
"2.3.0-beta.2",
"2.3.0-beta.1",
"2.3.0-alpha.3",
"2.2.0",
"2.3.0-alpha.2",
"2.3.0-alpha.1",
"2.1.0",
"2.0.1",
"2.0.0",
"2.0.0-rc.3",
"2.0.0-rc.2",
"2.0.0-rc.1",
"2.0.0-rc.0",
"2.0.0-alpha.9.1",
"2.0.0-alpha.9",
"2.0.0-alpha.8",
"2.0.0-alpha.7",
"2.0.0-alpha.6",
"2.0.0-alpha.5",
"2.0.0-alpha.4",
"2.0.0-alpha.3",
"1.8.0",
"1.7.1",
"1.7.0",
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.2",
"1.3.1",
"1.3.0",
"1.2.0",
"1.1.0",
"1.0.1",
"1.0.0",
"1.0.0-alpha.10",
"1.0.0-alpha.9",
"1.0.0-alpha.5",
"1.0.0-alpha.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24373.json"
}
}
],
"modified": "2026-10-28T02:30:40.063887450Z",
"provider": "osv",
"references": [
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24373.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-24373",
"https://github.com/software-mansion/react-native-reanimated/pull/3382"
],
"provider_metadata": {
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24373.json"
}
},
"related_cves": [
{
"value": "CVE-2022-24373",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507440,
"published_at": "2022-09-30T05:00:17.564+00:00"
}