Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Regular Expression Denial of Service (ReDoS) vulnerabilities in an interactive lesson.
Start learningUpgrade postcss-inline-base64
to version 3.0.0 or higher.
postcss-inline-base64 is a PostCSS plugin for encode the file to base64
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to using an inefficient pattern (^(https?:|ftp:)?\/\/([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$
) in order to validate URLs. This can cause an impact of about 10 seconds matching time for data 46 characters long.
Disclosure Timeline
Feb 13th, 2018 - Initial Disclosure to package owner
Feb 14th, 2018 - Initial Response from package owner
Feb 16th, 2018 - Fix issued, not yet published to npm.
Feb 18th, 2018 - Vulnerability published