Description
The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).
Remediation
References
https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641
https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
Related Vulnerabilities
CVE-2020-15232 Vulnerability in maven package org.mapfish.print:print-standalone
CVE-2021-43090 Vulnerability in maven package com.predic8:soa-model-parent
CVE-2022-25927 Vulnerability in maven package org.webjars.bowergithub.faisalman:ua-parser-js
CVE-2023-26156 Vulnerability in npm package chromedriver
CVE-2018-12545 Vulnerability in maven package org.eclipse.jetty.http2:http2-common