CVE-2019-5485 Command Injection in gitlabhook

Critical 10.0 Published Updated

Attackers can execute arbitrary commands via the repository name in the gitlabhook NPM package, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-5485?

CVE-2019-5485 is a critical command injection vulnerability in gitlabhook, published on 13 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

NPM package gitlabhook version 0.0.17 is vulnerable to a Command Injection vulnerability. Arbitrary commands can be injected through the repository name.

Weakness: CWE-78

Which versions are affected by CVE-2019-5485?

2 open source packages ship an affected version, including gitlabhook. It affects 1 product.

PackageAffectedFixed in
gitlabhook npmAll versions to 0.0.17None
gitlabhook npmAll versions to 0.0.17None

Products include Gitlabhook Project Gitlabhook.

How do I fix CVE-2019-5485?

No fix has been published for CVE-2019-5485 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2019-5485 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-549f-73hh-mj38.

Is CVE-2019-5485 in your software?

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

Check your SBOMs for free