{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-21222","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","dateUpdated":"2025-05-20T16:04:07.202Z","dateReserved":"2022-02-24T00:00:00.000Z","datePublished":"2022-09-30T05:05:11.059Z"},"containers":{"cna":{"title":"Regular Expression Denial of Service (ReDoS)","datePublic":"2022-09-30T00:00:00.000Z","providerMetadata":{"orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk","dateUpdated":"2023-03-03T00:00:00.000Z"},"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","lessThan":"2.1.3","status":"affected","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"},{"name":"[debian-lts-announce] 20230303 [SECURITY] [DLA 3350-1] node-css-what security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html"}],"credits":[{"lang":"en","value":"Snyk Research Team"}],"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)"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T02:31:59.016Z"},"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"]},{"name":"[debian-lts-announce] 20230303 [SECURITY] [DLA 3350-1] node-css-what security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-1333","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-05-20T16:04:07.202Z"}}]}}