7.5
CWE
400
Advisory Published
CVE Published
Updated

CVE-2021-27292

First published: Thu Feb 11 2021(Updated: )

A regular expression denial of service (ReDoS) vulnerability was found in the npm library `ua-parser-js`. If a supplied user agent matches the `Noble` string and contains many spaces then the regex will conduct backtracking, taking an ever increasing amount of time depending on the number of spaces supplied. An attacker can use this vulnerability to potentially craft a malicious user agent resulting in a denial of service.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Ua-parser-js Project Ua-parser-js>=0.7.14<0.7.24

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-27292?

    CVE-2021-27292 is a regular expression denial of service (ReDoS) vulnerability in the npm library `ua-parser-js`.

  • How does CVE-2021-27292 impact me?

    If you are using the affected version of `ua-parser-js` and a user agent matches the `Noble` string and contains many spaces, the regular expression may take an increasingly long time to process, leading to a potential denial of service.

  • What is the severity of CVE-2021-27292?

    CVE-2021-27292 has a severity rating of 7.5, indicating a high severity.

  • How can I fix CVE-2021-27292?

    To fix CVE-2021-27292, update `ua-parser-js` to version 0.7.24 or higher.

  • Where can I find more information about CVE-2021-27292?

    You can find more information about CVE-2021-27292 at the following references: [GitHub Commit](https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566), [Red Hat Solution](https://access.redhat.com/solutions/5707561)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203