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-2019-0219 Vulnerability in npm package cordova-plugin-inappbrowser
CVE-2022-24760 Vulnerability in npm package parse-server
CVE-2022-45395 Vulnerability in maven package com.thalesgroup.jenkins-ci.plugins:cccc
CVE-2021-23419 Vulnerability in npm package open-graph
CVE-2020-17527 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core