CVE-2021-44684: OS Command Injection in github-todos

- 1 min

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.

Proof of Concept

$ github-todos _hook --range "a..'; touch pwned"

References