PT-2021-24153 · Gitit · Gitit

Dwisiswant0

·

Published

2021-12-06

·

Updated

2021-12-08

·

CVE-2021-44685

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Git-it versions through 4.4.0
Description: The issue allows OS command injection at the Branches Aren't Just For Birds challenge step. During the verification process, it attempts to run the reflog command followed by the current branch name, which is not sanitized for execution.
Recommendations: For versions through 4.4.0, as a temporary workaround, consider disabling the execution of the reflog command with unsanitized branch names until a patch is available. Restrict access to the Branches Aren't Just For Birds challenge step to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this issue.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-44685
GHSA-WJQC-J537-J9GJ

Affected Products

Gitit