CVE-2022-38216 Mapbox is vulnerable to Integer Overflow
An integer overflow in the Mapbox gl-native library allows out-of-bounds writes via large image dimensions, potentially crashing the application.
- 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-38216?
CVE-2022-38216 is a high-severity vulnerability in Mapbox, published on 16 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An integer overflow exists in Mapbox's closed source gl-native library prior to version 10.6.1, which is bundled with multiple Mapbox products including open source libraries. The overflow is caused by large image height and width values when creating a new Image and allows for out of bounds writes, potentially crashing the Mapbox process.
Weakness: CWE-190
Which versions are affected by CVE-2022-38216?
2 open source packages ship an affected version, including com.mapbox.mapboxsdk:mapbox-android-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.mapbox.mapboxsdk:mapbox-android-core Maven | All versions | 10.6.1 |
com.mapbox.mapboxsdk:mapbox-android-core Maven | All versions | 10.6.1 |
Products include Mapbox Maps Software Development Kit.
How do I fix CVE-2022-38216?
Upgrade com.mapbox.mapboxsdk:mapbox-android-core to 10.6.1 or later.
Is CVE-2022-38216 being exploited?
There is no known exploitation of CVE-2022-38216 in the wild and no public exploit code.
Sources
Also known as GHSA-4696-g7jj-xg2h.