CVE-2021-29061 ReDOS in Vfsjfilechooser2
Attackers can cause denial of service in Vfsjfilechooser2 by submitting crafted URIs that trigger excessive CPU consumption during validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-29061?
CVE-2021-29061 is a high-severity denial of service vulnerability in n/a, published on 21 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Vfsjfilechooser2 version 0.2.9 and below which occurs when the application attempts to validate crafted URIs.
Weakness: CWE-770
Which versions are affected by CVE-2021-29061?
2 open source packages ship an affected version, including com.github.fracpete:vfsjfilechooser2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.github.fracpete:vfsjfilechooser2 Maven | All versions | 0.2.9 |
com.github.fracpete:vfsjfilechooser2 Maven | All versions | 0.2.9 |
Products include Vfsjfilechooser2 Project Vfsjfilechooser2.
How do I fix CVE-2021-29061?
Upgrade com.github.fracpete:vfsjfilechooser2 to 0.2.9 or later.
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-29061 being exploited?
There is no known exploitation of CVE-2021-29061 in the wild and no public exploit code.
Sources
Also known as GHSA-c7fh-chf7-jr5x.