CVE-2021-27292
Ua-parser-js Project Ua-parser-js vulnerability
ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.
Affected products
Ua-parser-js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ua-parser-js Project Ua-parser-js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566 · Patch
- github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 · Patch
- gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-27292
- cve.org/CVERecord?id=CVE-2021-27292
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.