CVE-2021-33580 regex injection leading to DoS
HighCVSS 7.5
EPSS 3.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
User controlled request.getHeader("Referer"), request.getRequestURL() and request.getQueryString() are used to build and run a regex expression. The attacker doesn't have to use a browser and may send a specially crafted Referer header programmatically. Since the attacker controls the string and the regex pattern he may cause a ReDoS by regex catastrophic backtracking on the server side. This problem has been fixed in Roller 6.0.2.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache Roller | >= Apache Roller, < 6.0.2 | 6.0.2 | Fixed |
| apache roller | < 6.0.2 | 6.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache roller | < 6.0.2 | 6.0.2 |
| Apache Roller | >= Apache Roller, < 6.0.2 | 6.0.2 |
References
- [oss-security] 20210817 CVE-2021-33580: Apache Roller: regex injection leading to DoS mailing-list third-party-advisory
- lists.apache.org mailing-list vendor-advisory