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=(.*).
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.0.36"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.2.13"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2b1d04c867995e55124e0a165b7c6622c1735956"
}
],
"source": "REFERENCES_COMMIT"
}
]
}