{"id":"CVE-2022-21222","state":"PUBLISHED","title":"Regular Expression Denial of Service (ReDoS)","description":"The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.","publishedAt":"2022-09-30T05:05:11.059Z","updatedAt":"2025-05-20T16:04:07.202Z","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 css-what"],"affected":[{"vendor":"n/a","product":"css-what","versions":[{"version":"unspecified","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488","https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12","https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:49:35.025Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/21xxx/CVE-2022-21222.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-21222","state":"PUBLISHED","datePublished":"2022-09-30T05:05:11.059Z","dateUpdated":"2025-05-20T16:04:07.202Z","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 css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function."}],"affected":[{"vendor":"n/a","product":"css-what","versions":[{"version":"unspecified","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488"},{"url":"https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html","name":"[debian-lts-announce] 20230303 [SECURITY] [DLA 3350-1] node-css-what security update","tags":["mailing-list"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","baseScore":5.3,"temporalScore":5,"baseSeverity":"MEDIUM","temporalSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Regular Expression Denial of Service (ReDoS)"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-03-03T00:00:00.000Z"},"datePublic":"2022-09-30T00:00:00.000Z","credits":[{"lang":"en","value":"Snyk Research Team"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488","tags":["x_transferred"]},{"url":"https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html","name":"[debian-lts-announce] 20230303 [SECURITY] [DLA 3350-1] node-css-what security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T02:31:59.016Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-20T16:03:52.139564Z","id":"CVE-2022-21222","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"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-20T16:04:07.202Z"}}]}}}