CVE-2021-22204
Detail
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
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
CVE, GitLab Inc.
Exploit
Third Party Advisory
VDB Entry
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
CVE, GitLab Inc.
Exploit
Third Party Advisory
VDB Entry
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
CVE, GitLab Inc.
Exploit
Third Party Advisory
VDB Entry
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
CVE, GitLab Inc.
Exploit
Third Party Advisory
VDB Entry
http://www.openwall.com/lists/oss-security/2021/05/09/1
CVE, GitLab Inc.
Mailing List
Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/05/10/5
CVE, GitLab Inc.
Mailing List
Third Party Advisory
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
CVE, GitLab Inc.
Patch
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
CVE, GitLab Inc.
Third Party Advisory
https://hackerone.com/reports/1154542
CVE, GitLab Inc.
Exploit
Issue Tracking
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
CVE, GitLab Inc.
Mailing List
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
CVE, GitLab Inc.
Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
CVE, GitLab Inc.
Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
CVE, GitLab Inc.
Release Notes
https://www.debian.org/security/2021/dsa-4910
CVE, GitLab Inc.
Mailing List
Third Party Advisory
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference
CISA's BOD 22-01 and Known
Exploited Vulnerabilities Catalog for further guidance and requirements.
Vulnerability Name
Date Added
Due Date
Required Action
ExifTool Remote Code Execution Vulnerability
11/17/2021
12/01/2021
Apply updates per vendor instructions.
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-94
Improper Control of Generation of Code ('Code Injection')
NIST  
CISA-ADP  
Change History
20 change records found show changes
Modified Analysis by NIST 3/13/2025 12:41:27 PM
Action
Type
Old Value
New Value
CVE Modified by CISA-ADP 2/06/2025 3:15:36 PM
Action
Type
Old Value
New Value
Added
CWE
CWE-94
CVE Modified by CVE 11/21/2024 12:49:42 AM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
Added
Reference
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
Added
Reference
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
Added
Reference
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
Added
Reference
http://www.openwall.com/lists/oss-security/2021/05/09/1
Added
Reference
http://www.openwall.com/lists/oss-security/2021/05/10/5
Added
Reference
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
Added
Reference
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
Added
Reference
https://hackerone.com/reports/1154542
Added
Reference
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
Added
Reference
https://www.debian.org/security/2021/dsa-4910
Modified Analysis by NIST 7/24/2024 1:07:58 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Removed
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Changed
Reference Type
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html Exploit, Third Party Advisory, VDB Entry
Changed
Reference Type
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800 Patch, Third Party Advisory
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800 Patch
Changed
Reference Type
https://hackerone.com/reports/1154542 Permissions Required, Third Party Advisory
https://hackerone.com/reports/1154542 Exploit, Issue Tracking, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ Release Notes
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ Release Notes
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ Release Notes
Changed
Reference Type
https://www.debian.org/security/2021/dsa-4910 Third Party Advisory
https://www.debian.org/security/2021/dsa-4910 Mailing List, Third Party Advisory
CVE Modified by GitLab Inc. 5/14/2024 4:14:46 AM
Action
Type
Old Value
New Value
CVE Modified by GitLab Inc. 11/06/2023 10:30:10 PM
Action
Type
Old Value
New Value
Added
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ [No types assigned]
Added
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ [No types assigned]
Added
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ [No types assigned]
Removed
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
Removed
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
Removed
Reference
GitLab Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
CWE Remap by NIST 8/08/2023 10:22:24 AM
Action
Type
Old Value
New Value
Changed
CWE
CWE-74
CWE-94
Modified Analysis by NIST 7/27/2022 12:29:04 PM
Action
Type
Old Value
New Value
Changed
Reference Type
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html No Types Assigned
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
CVE Modified by GitLab Inc. 5/11/2022 2:15:22 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html [No Types Assigned]
Modified Analysis by NIST 11/29/2021 4:06:39 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Changed
Reference Type
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html No Types Assigned
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html Third Party Advisory, VDB Entry
Changed
Reference Type
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html No Types Assigned
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html Exploit, Third Party Advisory, VDB Entry
Changed
Reference Type
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html No Types Assigned
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
Changed
Reference Type
http://www.openwall.com/lists/oss-security/2021/05/09/1 No Types Assigned
http://www.openwall.com/lists/oss-security/2021/05/09/1 Mailing List, Third Party Advisory
Changed
Reference Type
http://www.openwall.com/lists/oss-security/2021/05/10/5 No Types Assigned
http://www.openwall.com/lists/oss-security/2021/05/10/5 Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ Mailing List, Third Party Advisory
CVE Modified by GitLab Inc. 11/17/2021 12:15:08 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned]
Added
Reference
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html [No Types Assigned]
CVE Modified by GitLab Inc. 11/09/2021 8:16:26 PM
Action
Type
Old Value
New Value
Removed
Reference
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned]
CVE Modified by GitLab Inc. 11/04/2021 6:15:10 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned]
CVE Modified by GitLab Inc. 5/16/2021 8:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html [No Types Assigned]
CVE Modified by GitLab Inc. 5/12/2021 12:15:08 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html [No Types Assigned]
CVE Modified by GitLab Inc. 5/10/2021 2:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.openwall.com/lists/oss-security/2021/05/10/5 [No Types Assigned]
CVE Modified by GitLab Inc. 5/09/2021 8:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
http://www.openwall.com/lists/oss-security/2021/05/09/1 [No Types Assigned]
CVE Modified by GitLab Inc. 5/04/2021 11:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/ [No Types Assigned]
Initial Analysis by NIST 5/03/2021 10:29:02 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Added
CWE
NIST CWE-74
Added
CPE Configuration
OR
*cpe:2.3:a:exiftool_project:exiftool:*:*:*:*:*:*:*:* versions from (including) 7.44 up to (excluding) 12.24
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Changed
Reference Type
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800 No Types Assigned
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800 Patch, Third Party Advisory
Changed
Reference Type
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json No Types Assigned
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json Third Party Advisory
Changed
Reference Type
https://hackerone.com/reports/1154542 No Types Assigned
https://hackerone.com/reports/1154542 Permissions Required, Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2021/dsa-4910 No Types Assigned
https://www.debian.org/security/2021/dsa-4910 Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
CVE Modified by GitLab Inc. 5/03/2021 12:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://www.debian.org/security/2021/dsa-4910 [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-22204 NVD
Published Date: 04/23/2021 NVD
Last Modified: 03/13/2025
Source: GitLab Inc.