# CVE-2021-22204

Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing the malicious image

- Page: https://www.vulneraibility.com/cve/CVE-2021-22204
- CVSS: 6.8
- Known exploited: yes, in CISA KEV since 2021-11-17; CISA due date 2021-12-01
- EPSS: 99.98% (percentile 100.0)
- Public exploit code: 1 on Exploit-DB · 2 Metasploit modules · 17 GitHub proofs of concept (first 2021-05-11)
- CISA SSVC: exploitation active, automatable no, technical impact partial (assessed 2025-02-06)
- Weakness: CWE-94
- Published: 2021-04-23

## Affected versions

- ExifTool: affected >= 7.44 and < 12.24

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
- [other] https://hackerone.com/reports/1154542
- [other] https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
- [advisory] https://www.debian.org/security/2021/dsa-4910
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
- [other] http://www.openwall.com/lists/oss-security/2021/05/09/1
- [other] http://www.openwall.com/lists/oss-security/2021/05/10/5
- [other] http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- [other] https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
- [other] http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
- [other] http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- [other] http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22204

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
