{"id":"CVE-2021-43805","published":"2021-12-07T17:25:09Z","modified":"2024-08-04T04:03:08Z","title":"ReDos vulnerability on guest checkout email validation","vendor":"solidusio","product":"solidus","tier":"tail","description":{"text":"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 validate a guest order's email was subject to exponential backtracking through a fragment like `a.a.` Versions 3.1.4, 3.0.4, and 2.11.13 have been patched to use a different regular expression. The maintainers added a check for email addresses that are no longer valid that will print information about any affected orders that exist. If a prompt upgrade is not an option, a workaround is available. It is possible to edit the file `config/application.rb` manually (with code provided by the maintainers in the GitHub Security Advisory) to check email validity.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01449,"percentile":0.73989,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/solidusio/solidus/security/advisories/GHSA-qxmr-qxh6-2cc9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/solidusio/solidus/commit/9867153e01e3c3b898cdbcedd7b43375ea922401","tags":["x_refsource_MISC"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":14.8},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"solidusio","affectedVersions":[{"vendor":"solidusio","product":"solidus","versions":[">= 3.1.0, < 3.1.4",">= 3.0.0, < 3.0.4","< 2.11.13"]}],"affected":[{"ecosystem":"RubyGems","package":"solidus_core","vulnerableRanges":["<2.11.13",">=3.0.0, <3.0.4",">=3.1.0, <3.1.4"],"patched":["2.11.13","3.0.4","3.1.4"],"from":["GHSA-qxmr-qxh6-2cc9"],"provenance":"source"}],"summary":{"text":"The Solidus ecommerce platform (solidusio/solidus, a Rails-based open-source product) contains a regular expression used to validate guest order email addresses that suffers from inefficient complexity, so certain fragments such as a.a. cause exponential backtracking. An unauthenticated remote attacker can exploit this over the network during guest checkout, without privileges or user interaction, to exhaust server resources and cause a denial of service in versions prior to 3.1.4, 3.0.4, and 2.11.13.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:28Z"},"euvd":{"id":"EUVD-2021-2575","exploited":false,"provenance":"source"}}