{"answers":{"affected":"2 open source packages ship an affected version, including com.mapbox.mapboxsdk:mapbox-android-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-38216 in the wild and no public exploit code.","fix":"Upgrade com.mapbox.mapboxsdk:mapbox-android-core to 10.6.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-38216 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2022-38216 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.mapbox.mapboxsdk:mapbox-android-core (Maven): affected all versions; fixed in 10.6.1\n- com.mapbox.mapboxsdk:mapbox-android-core (Maven): affected all versions; fixed in 10.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-38216/ (Markdown: https://insights.sbomify.com/CVE-2022-38216/index.md)","id":"CVE-2022-38216","markdown":"https://insights.sbomify.com/CVE-2022-38216/index.md","name":"CVE-2022-38216","record":{"aliases":["GHSA-4696-g7jj-xg2h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Mapbox gl-native library","requires_auth":"none","summary":"An integer overflow in the Mapbox gl-native library allows out-of-bounds writes via large image dimensions, potentially crashing the application.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"facebook","cpe":[{"product":"maps_software_development_kit","vendor":"mapbox"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Mapbox is vulnerable to Integer Overflow","id":"CVE-2022-38216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"integer_overflow","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-38220"},"packages":[{"ecosystem":"Maven","fixed":["10.6.1"],"introduced":["0"],"last_affected":[],"package":"com.mapbox.mapboxsdk:mapbox-android-core","purl":null,"source":"GHSA-4696-g7jj-xg2h"},{"ecosystem":"Maven","fixed":["10.6.1"],"introduced":["0"],"last_affected":[],"package":"com.mapbox.mapboxsdk:mapbox-android-core","purl":"pkg:maven/com.mapbox.mapboxsdk/mapbox-android-core","source":"GHSA-4696-g7jj-xg2h"}],"prev":{"headline":"Server Side Request Forgery (SSRF) vulnerability in Portal for ArcGIS (10.8.1 and 10.7.1 only)","id":"CVE-2022-38212"},"products":["Mapbox"],"published":"2022-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Mapbox"]},"summary":"An integer overflow in the Mapbox gl-native library allows out-of-bounds writes via large image dimensions, potentially crashing the application.","url":"https://insights.sbomify.com/CVE-2022-38216/"}