cve.bz

CWE-1333: Inefficient Regular Expression Complexity, published in 2021

Filter

The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

What the weakness is: CWE-1333 at MITRE. All weaknesses

Related attack patterns (CAPEC): 1
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to CWE-1333, as MITRE names them. Credits.

Ask an AI about CWE-1333

Show the promptExplain CWE-1333: Inefficient Regular Expression Complexity and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1333.html and https://cve.bz/cve/cwe/1333?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.5CVE-2021-23490parse-link-header project parse-link-headerEPSS 1.9%

    The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.

  2. 7.5CVE-2021-45470circl cve-searchEPSS 1.9%

    lib/DatabaseLayer.py in cve-search before 4.1.0 allows regular expression injection, which can lead to ReDoS (regular expression denial of service) or other impacts.

  3. 7.5CVE-2021-43843jsx-slack project jsx-slackEPSS 2.0%

    jsx-slack is a package for building JSON objects for Slack block kit surfaces from JSX. The maintainers found the patch for CVE-2021-43838 in jsx-slack v4.5.1 is insufficient tfor protection from a Regular Expression Denial of Service (ReD…

  4. 7.5CVE-2021-43838jsx-slack project jsx-slackEPSS 1.4%

    jsx-slack is a library for building JSON objects for Slack Block Kit surfaces from JSX. In versions prior to 4.5.1 users are vulnerable to a regular expression denial-of-service (ReDoS) attack. If attacker can put a lot of JSX elements int…

  5. 6.5CVE-2021-39940gitlabEPSS 1.6%

    An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.2 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. GitLab Maven Package registry is vulnerable…

  6. 6.5CVE-2021-39933gitlabEPSS 1.5%

    An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. A regular expression used for handling use…

  7. 7.5CVE-2021-43805nebulab solidusEPSS 1.4%

    Solidus is a free, open-source ecommerce platform built on Rails. Versions of Solidus prior to 3.1.4, 3.0.4, and 2.11.13 have a denial of service vulnerability that could be exploited during a guest checkout. The regular expression used to…

  8. 7.5CVE-2021-3765validator project validatorEPSS 1.8%

    validator.js is vulnerable to Inefficient Regular Expression Complexity

  9. 6.5CVE-2021-41115zulipEPSS 1.7%

    Zulip is an open source team chat server. In affected versions Zulip allows organization administrators on a server to configure "linkifiers" that automatically create links from messages that users send, detected via arbitrary regular exp…

  10. 7.5CVE-2021-23446handsontableEPSS 3.0%

    The package handsontable before 10.0.0; the package handsontable from 0 and before 10.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) in Handsontable.helper.isNumeric function.

  11. 7.5CVE-2021-3828nltkEPSS 1.6%

    nltk is vulnerable to Inefficient Regular Expression Complexity

  12. 7.5CVE-2021-3822jsoneditoronline jsoneditorEPSS 1.4%

    jsoneditor is vulnerable to Inefficient Regular Expression Complexity

  13. 7.5CVE-2021-3820inflect project inflectEPSS 1.2%

    inflect is vulnerable to Inefficient Regular Expression Complexity

  14. 7.5CVE-2021-3810coder code-serverEPSS 1.3%

    code-server is vulnerable to Inefficient Regular Expression Complexity

  15. 7.5CVE-2021-3807EPSS 3.6%

    ansi-regex is vulnerable to Inefficient Regular Expression Complexity

  16. 7.5CVE-2021-3804taroEPSS 1.3%

    taro is vulnerable to Inefficient Regular Expression Complexity

  17. 7.5CVE-2021-3803EPSS 2.2%

    nth-check is vulnerable to Inefficient Regular Expression Complexity

  18. 7.5CVE-2021-3795semver-regex project semver-regexEPSS 1.5%

    semver-regex is vulnerable to Inefficient Regular Expression Complexity

  19. 6.5CVE-2021-3801prismjs prismEPSS 1.0%

    prism is vulnerable to Inefficient Regular Expression Complexity

  20. 7.5CVE-2021-3794vuelidate project vuelidateEPSS 1.2%

    vuelidate is vulnerable to Inefficient Regular Expression Complexity

  21. 7.5CVE-2021-3777tmpl project tmplEPSS 1.3%

    nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity

  22. 7.5CVE-2021-3749EPSS 8.5%

    axios is vulnerable to Inefficient Regular Expression Complexity

  23. 7.5CVE-2021-3649chatwootEPSS 1.2%

    chatwoot is vulnerable to Inefficient Regular Expression Complexity

  24. 7.5CVE-2020-1920facebook react-nativeEPSS 1.4%

    A regular expression denial of service (ReDoS) vulnerability in the validateBaseUrl function can cause the application to use excessive resources, become unresponsive, or crash. This was introduced in react-native version 0.59.0 and fixed …

  25. 7.5CVE-2021-33502normalize-url project normalize-urlEPSS 1.7%

    The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

  26. 5.3CVE-2021-23364browserslist project browserslistEPSS 2.4%

    The package browserslist from 4.0.0 and before 4.16.5 are vulnerable to Regular Expression Denial of Service (ReDoS) during parsing of queries.

  27. 7.5CVE-2021-23382postcssEPSS 2.6%

    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* source…

  28. 5.3CVE-2021-23362EPSS 3.6%

    The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-cas…

  29. 6.5CVE-2021-25292python pillowEPSS 1.7%

    An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.

  30. 7.5CVE-2021-27291EPSS 3.9%

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting …

  31. 7.5CVE-2021-28092is-svg project is-svgEPSS 2.0%

    The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a v…

  32. 7.5CVE-2021-23354adaltas printfEPSS 2.2%

    The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\%(?:\(([\w_.]+)\)|([1-9]\d*)\$)?([0 +\-\]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%bscdeEfFgGioOuxX])/g in lib/printf.js. The vu…

  33. 7.5CVE-2021-26813EPSS 2.3%

    markdown2 >=1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. If an attacker provides a malicious string, it can make markdown2 processing difficult or delayed for an extended period of time.

  34. 5.3CVE-2021-21317uap-core project uap-coreEPSS 2.5%

    uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before version 0.11.0, some regexes are vulnerable to regular expression denial of service (REDoS) due to overl…