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-2023-1428 Vulnerability in maven package io.grpc:grpc-protobuf
CVE-2022-35948 Vulnerability in maven package org.webjars.npm:undici
CVE-2023-3990 Vulnerability in maven package net.mingsoft:ms-mcms
CVE-2021-23412 Vulnerability in npm package gitlogplus
CVE-2022-39382 Vulnerability in npm package @keystone-6/core