{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-54461 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-54461 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-54461 is a low-severity path traversal vulnerability in Flutter file_selector_android, published on 29 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-54461 and fix it if it is affected.\n\nWhat it is: CVE-2024-54461 is a low-severity path traversal vulnerability in Flutter file_selector_android, published on 29 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-54461 in the wild and no public exploit code.\n\nAffected product: Flutter file_selector_android. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-54461/ (Markdown: https://insights.sbomify.com/CVE-2024-54461/index.md)","id":"CVE-2024-54461","markdown":"https://insights.sbomify.com/CVE-2024-54461/index.md","name":"CVE-2024-54461","record":{"aliases":["GHSA-r465-vhm9-7r5h"],"analysis":{"component_type":"mobile_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Flutter Android plugin","requires_auth":"low_privilege","summary":"Attackers with malicious document providers can overwrite internal app cache files via unsanitized filenames in the file_selector_android Flutter package.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"file_selector_android","vendor":"flutter"}],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"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. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Unsanitized Filenames in Flutter package file_selector_android Allow File Overwrites","id":"CVE-2024-54461","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites","id":"CVE-2024-54462"},"packages":[],"prev":{"headline":"Bluetooth: iso: Fix circular lock in iso_listen_bis","id":"CVE-2024-54460"},"products":["file_selector_android"],"published":"2025-01-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["Flutter"]},"summary":"Attackers with malicious document providers can overwrite internal app cache files via unsanitized filenames in the file_selector_android Flutter package.","url":"https://insights.sbomify.com/CVE-2024-54461/"}