CVE-2021-33580 regex injection leading to DoS
An attacker can cause a denial of service via regex catastrophic backtracking by sending crafted HTTP headers to Apache Roller.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-33580?
CVE-2021-33580 is a high-severity denial of service vulnerability in Apache Roller, published on 18 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-400
Which versions are affected by CVE-2021-33580?
It affects 1 product.
Products include Apache Roller.
How do I fix CVE-2021-33580?
No fix has been published for CVE-2021-33580 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-33580 being exploited?
There is no known exploitation of CVE-2021-33580 in the wild and no public exploit code.
Other vulnerabilities in Apache Roller
Sources
Also known as GHSA-x9w7-f6x8-r9xh.