CVE-2021-22204ExifTool Remote Code Execution Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 17 Nov 2021.
US federal deadline to fix: 1 Dec 2021.
Official 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
Source: NVD · CNA: cve@gitlab.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 17 Nov 2021.
US federal agencies must fix it by 1 Dec 2021. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running exiftool_project Exiftool, Debian Linux, fedoraproject Fedora and compare its version with the affected versions.
Update to a fixed version
- Update Exiftool to 12.24 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| exiftool_project Exiftool | ≥ 7.44, < 12.24 |
| Debian Debian Linux | 9.0 · 10.0 |
| fedoraproject Fedora | 32 · 33 · 34 |
| exiftool_project ExifTool | >=7.44, <12.24 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-22204 being exploited?
Yes. CISA added CVE-2021-22204 to its Known Exploited Vulnerabilities catalog on 17 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-22204?
CVE-2021-22204 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Exiftool Project Exiftool (≥ 7.44, < 12.24), Debian Debian Linux (9.0; 10.0), Fedoraproject Fedora (32; 33; 34), Exiftool Project ExifTool (>=7.44, <12.24)
Is there a patch for CVE-2021-22204?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800(Patch)
- packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- hackerone.com/reports/1154542(Exploit, Issue Tracking, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/05/09/1(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/05/10/5(Mailing List, Third Party Advisory)
- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json(Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/05/msg00018.html(Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/(Release Notes)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/(Release Notes)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/(Release Notes)
- www.debian.org/security/2021/dsa-4910(Mailing List, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22204(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.