CVE-2024-50349 is a low-severity vulnerability affecting Git, a popular distributed revision control system. This vulnerability allows attackers to exploit the way Git prompts users for credentials in terminal sessions. If users are misled into entering their credentials, they could inadvertently provide sensitive information to untrusted sites. The CVSS score of 2.1 indicates a low severity, but the potential for user confusion poses a notable risk to organizations, particularly those relying on Git for version control.
The vulnerability stems from Git printing the host name for which credentials are requested without adequately sanitizing the input. Attackers can craft URLs that include ANSI escape sequences, which may manipulate the terminal display and mislead users into thinking they are interacting with trusted services. Thus, users could enter credentials thinking they are secure when, in fact, they are being sent to malicious sites.
Organizations should prioritize patching immediately as the vulnerability has been addressed in recent Git releases. Users are advised to upgrade to the latest versions to mitigate the risk effectively. Those unable to upgrade should exercise caution and avoid cloning from untrusted URLs, particularly recursive clones, to minimize exposure to this vulnerability.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)