REDHAT-BUG-2481006: Medium severity npm/postcss vulnerability
A vulnerability was determined in postcss up to 7.1.1. Affected is the function toString of the file src/selectors/container.js of the component AST Serialization. Executing a manipulation can lead to uncontrolled recursion. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor explains, that according to his definition "DoS on server-side on user-generated CSS is low risk for us (since most users compile own CSS with PostCSS)."
Affected Software
Event History
Frequently Asked Questions
Who is most likely to be exposed to this issue?
Deployments that use PostCSS to process user-generated CSS on the server side are the relevant exposure scenario. The vendor notes that many users compile their own CSS with PostCSS, which lowers practical risk for those workflows.
What does an attacker need to do to exploit it?
An attacker needs to remotely supply manipulated CSS that reaches PostCSS AST serialization. The affected toString function can then enter uncontrolled recursion, resulting in denial of service.
Is public exploit information available?
Yes. The exploit has been publicly disclosed and may be used.