Impact
The file names constructed within file_selector 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 a document file from that provider while using your app and could potentially override internal files in your app cache.
Patches
0.5.1+12
Workarounds
Update to the latest version of file_selector_android that contains the changes to address this vulnerability.
References
https://developer.android.com/privacy-and-security/risks/untrustworthy-contentprovider-provided-filename#sanitize-provided-filenames
For more information
See our community page to find ways to contact the team.
Thanks
Thank you so much to Oskar Zeino-Mahmalat from sonarsource for finding and reporting this issue!
Impact
The file names constructed within file_selector 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 a document file from that provider while using your app and could potentially override internal files in your app cache.
Patches
0.5.1+12
Workarounds
Update to the latest version of file_selector_android that contains the changes to address this vulnerability.
References
https://developer.android.com/privacy-and-security/risks/untrustworthy-contentprovider-provided-filename#sanitize-provided-filenames
For more information
See our community page to find ways to contact the team.
Thanks
Thank you so much to Oskar Zeino-Mahmalat from sonarsource for finding and reporting this issue!