{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.8.5\\+6"
              },
              {
                "fixed": "0.8.12\\+18"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bc0c22d57910047fff7569ccb4413cf031304c7d"
            }
          ],
          "repo": "https://github.com/flutter/packages",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-98v2-f47x-89xw"
  ],
  "details": "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.",
  "id": "CVE-2024-54462",
  "modified": "2026-04-01T23:08:15.266467909Z",
  "published": "2025-01-29T12:15:28.627Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/flutter/packages/security/advisories/GHSA-98v2-f47x-89xw"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}