{"id":"CVE-2022-24373","state":"PUBLISHED","title":"Regular Expression Denial of Service (ReDoS)","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.","publishedAt":"2022-09-30T05:00:17.564Z","updatedAt":"2025-05-20T20:15:02.309Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","source":"snyk"},"assigner":"snyk","products":["n/a react-native-reanimated"],"affected":[{"vendor":"n/a","product":"react-native-reanimated","versions":[{"version":"unspecified","status":"affected","lessThan":"3.0.0-rc.1","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507","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"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24373.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-24373","state":"PUBLISHED","datePublished":"2022-09-30T05:00:17.564Z","dateUpdated":"2025-05-20T20:15:02.309Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Regular Expression Denial of Service (ReDoS)","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"react-native-reanimated","versions":[{"version":"unspecified","status":"affected","lessThan":"3.0.0-rc.1","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507","tags":["x_refsource_MISC"]},{"url":"https://github.com/software-mansion/react-native-reanimated/pull/3382","tags":["x_refsource_MISC"]},{"url":"https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa","tags":["x_refsource_MISC"]},{"url":"https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"NONE","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":5,"temporalSeverity":"MEDIUM","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Regular Expression Denial of Service (ReDoS)","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-09-30T05:00:17.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"matias-la"}],"datePublic":"2022-09-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-09-30T05:00:01.672924Z","ID":"CVE-2022-24373","STATE":"PUBLIC","TITLE":"Regular Expression Denial of Service (ReDoS)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"react-native-reanimated","version":{"version_data":[{"version_affected":"<","version_value":"3.0.0-rc.1"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"matias-la"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Regular Expression Denial of Service (ReDoS)"}]}]},"references":{"reference_data":[{"name":"https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507","refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507"},{"name":"https://github.com/software-mansion/react-native-reanimated/pull/3382","refsource":"MISC","url":"https://github.com/software-mansion/react-native-reanimated/pull/3382"},{"name":"https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa","refsource":"MISC","url":"https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa"},{"name":"https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1","refsource":"MISC","url":"https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-REACTNATIVEREANIMATED-2949507","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/software-mansion/react-native-reanimated/pull/3382","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/software-mansion/react-native-reanimated/pull/3382/commits/7adf06d0c59382d884a04be86a96eede3d0432fa","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/software-mansion/react-native-reanimated/releases/tag/3.0.0-rc.1","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:07:02.553Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-20T20:14:43.920912Z","id":"CVE-2022-24373","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-20T20:15:02.309Z"}}]}}}