2.1low
Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites
- Severity
- 2.1low CVSS:4.0 by Google
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
Description
The file names constructed within image_picker are missing sanitization checks leaving them vulnerable to malicious document providers. This may result in cases where a user with a malicious document provider installed can select an image file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.8.12+18. It is recommended to update to the latest version of image_picker_android that contains the changes to address this vulnerability.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Flutter image_picker_android | from 0.8.5+6 up to 0.8.12+17, from 0.8.5\+6 before 0.8.12\+18 | CVE List, NVD |
All scores
| 2.1low CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:H/SA:H | |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Classification
What each source says
CVE List
The file names constructed within image_picker are missing sanitization checks leaving them vulnerable to malicious document providers. This may result in cases where a user with a malicious document provider installed can select an image file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.8.12+18. It is recommended to update to the latest version of image_picker_android that contains the changes to address this vulnerability.
NVD (es)
Los nombres de archivo creados dentro de image_picker no cumplen con las comprobaciones desinfección, lo que los deja vulnerables a proveedores de documentos maliciosos. Esto puede generar casos en los que un usuario con un proveedor de documentos malicioso instalado pueda seleccionar un archivo de imagen de ese proveedor mientras usa su aplicación y podría anular archivos internos en la memoria caché de su aplicación. Problema corregido en 0.8.12+18. Se recomienda actualizar a la última versión de image_picker_android que contiene los cambios para solucionar esta vulnerabilidad.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-54462 changed 2025-02-12 | CVE Terms of Use |
| NVD | CVE-2024-54462 changed 2026-06-17 | Public domain |