ReDos vulnerability on guest checkout email validation
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
solidus_coreRubyGems | < 2.11.13 | 2.11.13 |
solidus_coreRubyGems | >= 3.0.0, < 3.0.4 | 3.0.4 |
solidus_coreRubyGems | >= 3.1.0, < 3.1.4 | 3.1.4 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-qxmr-qxh6-2cc9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43805ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/solidus_core/CVE-2021-43805.ymlghsaWEB
- github.com/solidusio/solidus/commit/6be174c955fad84017ca67589c676526bc5ade71ghsaWEB
- github.com/solidusio/solidus/commit/9867153e01e3c3b898cdbcedd7b43375ea922401ghsax_refsource_MISCWEB
- github.com/solidusio/solidus/security/advisories/GHSA-qxmr-qxh6-2cc9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.