CVE-2021-22204
Summary
| CVE | CVE-2021-22204 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-23 18:15:00 UTC |
| Updated | 2023-11-07 03:30:00 UTC |
| 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 |
Risk And Classification
EPSS: 0.928560000 probability, percentile 0.997650000 (date 2026-04-01)
CISA KEV: Listed on 2021-11-17; due 2021-12-01; ransomware use Unknown
Problem Types: CWE-94
CISA Known Exploited Vulnerability
| Vendor | Perl |
|---|---|
| Product | Exiftool |
| Name | ExifTool Remote Code Execution Vulnerability |
| Required Action | Apply updates per vendor instructions. |
| Notes | https://nvd.nist.gov/vuln/detail/CVE-2021-22204 |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Application | Exiftool Project | Exiftool | All | All | All | All |
| Operating System | Fedoraproject | Fedora | 32 | All | All | All |
| Operating System | Fedoraproject | Fedora | 33 | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GitLab Unauthenticated Remote ExifTool Command Injection ≈ Packet Storm | MISC | packetstormsecurity.com | |
| [SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| oss-security - Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image | MLIST | www.openwall.com | |
| 2021/CVE-2021-22204.json · master · GitLab.org / cves · GitLab | CONFIRM | gitlab.com | |
| [SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| oss-security - [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image | MLIST | www.openwall.com | |
| Debian -- Security Information -- DSA-4910-1 libimage-exiftool-perl | DEBIAN | www.debian.org | |
| GitLab 13.10.2 Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| ExifTool DjVu ANT Perl Injection ≈ Packet Storm | MISC | packetstormsecurity.com | |
| [SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] [DLA 2663-1] libimage-exiftool-perl security update | MLIST | lists.debian.org | |
| [SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| Update to 12.24 · exiftool/exiftool@cf0f4e7 · GitHub | MISC | github.com | |
| [SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| ExifTool 12.23 Arbitrary Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| HackerOne | MISC | hackerone.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
Vendor Comments And Credit
Discovery Credit
LEGACY: Thanks vakzz for reporting this vulnerability through the GitLab HackerOne bug bounty program who then reported it to the ExifTool maintainer
Legacy QID Mappings
- 178574 Debian Security Update for libimage-exiftool-perl (DSA 4910-1)
- 178599 Debian Security Update for libimage-exiftool-perl (DLA 2663-1)
- 180151 Debian Security Update for libimage-exiftool-perl (CVE-2021-22204)
- 198405 Ubuntu Security Notification for ExifTool vulnerability (USN-4987-1)
- 281250 Fedora Security Update for perl (FEDORA-2021-de850ed71e)
- 281251 Fedora Security Update for perl (FEDORA-2021-e3d8833d36)
- 281252 Fedora Security Update for perl (FEDORA-2021-88d24aa32b)
- 501658 Alpine Linux Security Update for perl-image-exiftool
- 690820 Free Berkeley Software Distribution (FreeBSD) Security Update for security vulnerability found in exiftool (955f377e-7bc3-11ec-a51c-7533f219d428)
- 750219 OpenSUSE Security Update for perl-Image-ExifTool (openSUSE-SU-2021:0707-1)