CVE-2020-13347 Command injection in GitLab Runner

Critical 9.1 Published Updated

Attackers can execute arbitrary commands on Windows hosts via the DOCKER_AUTH_CONFIG variable in GitLab Runner with Docker executor.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13347?

CVE-2020-13347 is a critical command injection vulnerability in Gitlab Gitlab, published on 7 Oct 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A command injection vulnerability was discovered in Gitlab runner versions prior to 13.2.4, 13.3.2 and 13.4.1. When the runner is configured on a Windows system with a docker executor, which allows the attacker to run arbitrary commands on Windows host, via DOCKER_AUTH_CONFIG build variable.

Weakness: CWE-22

Which versions are affected by CVE-2020-13347?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 12.0.013.2.4, 13.3.2, 13.4.1

Products include Gitlab Gitlab.

How do I fix CVE-2020-13347?

Upgrade gitlab to a fixed version for your release line: 13.2.4, 13.3.2 or 13.4.1.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-13347 being exploited?

There is no known exploitation of CVE-2020-13347 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2020-13347, GHSA-6x9x-gp76-v665, UBUNTU-CVE-2020-13347.

Is CVE-2020-13347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free