CVE-2021-44684 Command injection in github-todos

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via the range argument in the _hook subcommand of the github-todos library.

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-2021-44684?

CVE-2021-44684 is a critical command injection vulnerability in n/a, published on 6 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

naholyr github-todos 3.1.0 is vulnerable to command injection. The range argument for the _hook subcommand is concatenated without any validation, and is directly used by the exec function.

Weakness: CWE-78

Which versions are affected by CVE-2021-44684?

2 open source packages ship an affected version, including github-todos. It affects 1 product.

PackageAffectedFixed in
github-todos npmAll versions to 3.1.0None
github-todos npmAll versions to 3.1.0None

Products include Github-Todos Project Github-Todos.

How do I fix CVE-2021-44684?

No fix has been published for CVE-2021-44684 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-2021-44684 being exploited?

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

Sources

Also known as GHSA-792j-9wj3-j634.

Is CVE-2021-44684 in your software?

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

Check your SBOMs for free