CVE-2021-22204

Known Exploited Public Exploit

Description

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

Category

6.8
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 93.06% Top 5%
KEV Since 
Vendor Advisory debian.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org
Affected: ExifTool ExifTool
Published at:
Updated at:

References

Link Tags
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800 patch
https://hackerone.com/reports/1154542 issue tracking exploit third party advisory
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json third party advisory
https://www.debian.org/security/2021/dsa-4910 mailing list third party advisory vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ release notes vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ release notes vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ release notes vendor advisory
http://www.openwall.com/lists/oss-security/2021/05/09/1 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2021/05/10/5 third party advisory mailing list
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html exploit vdb entry third party advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html third party advisory mailing list
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html exploit vdb entry third party advisory
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html exploit vdb entry third party advisory
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html exploit vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2021-22204?
CVE-2021-22204 has been scored as a medium severity vulnerability.
How to fix CVE-2021-22204?
To fix CVE-2021-22204, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-22204 being actively exploited in the wild?
It is confirmed that CVE-2021-22204 is actively exploited. Be extra cautious if you are using vulnerable components. According to its EPSS score, there is a ~93% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-22204?
CVE-2021-22204 affects ExifTool ExifTool.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.