A critical unauthenticated remote code execution flaw, tracked as CVE-2021-22205, affects GitLab CE and EE by improperly validating image files sent to a file parser. The bug impacts GitLab versions from 11.9 onward in the affected ranges >=11.9,<13.8.8, >=13.9,<13.9.6, and >=13.10,<13.10.3, and carries a CVSS 10.0 rating. GitLab said the issue was reported through its HackerOne bug bounty program.
Public exploit details show attackers can upload a malicious DjVu file disguised as a JPG, causing GitLab to pass the file to ExifTool and trigger code execution through the related CVE-2021-22204 weakness. An Exploit Database proof of concept demonstrated successful exploitation against GitLab 13.10.1 and 13.10.2, producing a reverse shell as the git user without authentication or user interaction. GitLab fixed the issue in versions 13.10.3, 13.9.6, and 13.8.8.

See affected versions and whether adversaries are exploiting it.
4 events from the most recent confirmed update back to the earliest known activity.
The CVE record for CVE-2021-22205 was updated. The record continued to describe the GitLab CE/EE flaw as a critical remote code execution vulnerability.
Jacob Baines dated an Exploit Database proof of concept for unauthenticated remote code execution against vulnerable GitLab instances. The exploit used a crafted DjVu file disguised as a JPG to trigger code execution via ExifTool.
The CVE record for CVE-2021-22205 was published, documenting a critical unauthenticated remote code execution vulnerability in GitLab CE/EE. The flaw affected GitLab versions starting from 11.9, including versions before 13.8.8, 13.9.6, and 13.10.3.
A vendor advisory for the GitLab remote code execution issue was published. The issue affected GitLab CE/EE through improper validation of image files passed to a file parser.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.