CVE-2022-23435 android-gif-drawable vulerable to denial of service due to unrestricted comment length
An attacker can cause a denial of service in applications using the android-gif-drawable library by providing a GIF with an excessively long comment.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23435?
CVE-2022-23435 is a high-severity denial of service vulnerability in n/a, published on 19 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
decoding.c in android-gif-drawable before 1.2.24 does not limit the maximum length of a comment, leading to denial of service.
Which versions are affected by CVE-2022-23435?
2 open source packages ship an affected version, including pl.droidsonroids.gif:android-gif-drawable. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pl.droidsonroids.gif:android-gif-drawable Maven | All versions | 1.2.24 |
pl.droidsonroids.gif:android-gif-drawable Maven | All versions | 1.2.24 |
Products include Android-Gif-Drawable Project Android-Gif-Drawable.
How do I fix CVE-2022-23435?
Upgrade pl.droidsonroids.gif:android-gif-drawable to 1.2.24 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-2022-23435 being exploited?
There is no known exploitation of CVE-2022-23435 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-3mm4-w7v6-4rhv.