{"id":"GHSA-q95h-cqrv-8jv5","aliases":["GHSA-q95h-cqrv-8jv5"],"related":[],"kind":"vulnerability","state":"published","title":"ExifTool vulnerable to arbitrary code execution","summary":"### Impact\nArbitrary code execution can occur when running `exiftool` against files with hostile metadata payloads\n\n### Patches\nExifTool has already been patched in version 12.24. `exiftool_vendored.rb`, which vendors ExifTool, includes this patch in [v12.25.0](https://github.com/exiftool-rb/exiftool_vendored.rb/releases/tag/v12.25.0).\n\n### Workarounds\nNo\n\n### References\nhttps://twitter.com/wcbowling/status/1385803927321415687\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-22204\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [exiftool_vendored.rb](https://github.com/exiftool-rb/exiftool_vendored.rb/issues)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nArbitrary code execution can occur when running `exiftool` against files with hostile metadata payloads\n\n### Patches\nExifTool has already been patched in version 12.24. `exiftool_vendored.rb`, which vendors ExifTool, includes this patch in [v12.25.0](https://github.com/exiftool-rb/exiftool_vendored.rb/releases/tag/v12.25.0).\n\n### Workarounds\nNo\n\n### References\nhttps://twitter.com/wcbowling/status/1385803927321415687\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-22204\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [exiftool_vendored.rb](https://github.com/exiftool-rb/exiftool_vendored.rb/issues)","format":"markdown","source":"ghsa"}],"published":"2023-01-20T19:33:40.000Z","modified":"2024-11-29T05:41:08.593Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.25.0"}],"ecosystem":"RubyGems","package":"exiftool_vendored","purl":"pkg:gem/exiftool_vendored","source":"ghsa"}],"references":[{"url":"https://github.com/exiftool-rb/exiftool_vendored.rb/security/advisories/GHSA-q95h-cqrv-8jv5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/exiftool-rb/exiftool_vendored.rb","tags":["package"],"sources":["ghsa"]},{"url":"https://twitter.com/wcbowling/status/1385803927321415687","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q95h-cqrv-8jv5","url":"https://github.com/advisories/GHSA-q95h-cqrv-8jv5","licence":"CC-BY-4.0","modified":"2024-11-29T05:41:08.593Z"}],"updatedAt":"2026-11-25T22:56:41.458Z"}