Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

GitHub and Git Projects Expose Credentials

January 28, 2025
Reading Time: 2 mins read
in Alerts
GitHub and Git Projects Expose Credentials

A series of security vulnerabilities have been discovered in GitHub Desktop and other Git-related projects, potentially allowing attackers to steal Git credentials. These flaws, identified under the name Clone2Leak, are primarily related to the handling of credential retrieval in Git’s systems, particularly the Git Credential Protocol. The vulnerabilities exploit improper handling of messages, where maliciously crafted URLs can lead to the leakage of sensitive data. These flaws can be triggered through various components like GitHub Desktop, Git Credential Manager, and Git LFS, as well as the GitHub CLI.

One major vulnerability involves GitHub Desktop, where a malicious URL can cause credentials to be sent to an attacker-controlled host, exposing them to unauthorized access. Another weakness has been identified in Git Credential Manager, where a carriage-return character in remote URLs can result in credential leakage. Additionally, Git LFS does not properly check for embedded control characters, leading to a carriage return line feed (CRLF) injection through crafted HTTP URLs.

These vulnerabilities allow for the exfiltration of user credentials to attackers, who could use them to access privileged resources.

GitHub CLI has also been found to be vulnerable, especially when used in GitHub Codespaces. A specific exploit in GitHub CLI causes access tokens to be leaked when cloning malicious repositories. This issue arises because certain environment variables are configured to send tokens to non-GitHub hosts, making it easier for attackers to steal tokens when cloning repositories from compromised sources. GitHub has acknowledged these issues and has taken steps to address them, including treating the carriage return vulnerability as a standalone issue and releasing patches in updated versions.

In response to these vulnerabilities, GitHub has advised users to update their software to the latest versions to patch the flaws. For those unable to patch immediately, mitigation measures include avoiding the use of certain Git commands, such as –recurse-submodules when cloning untrusted repositories. Additionally, it’s recommended to disable the credential helper when cloning publicly available repositories to further reduce the risk of credential exposure. These measures are essential to protect against the potential theft of sensitive Git credentials.

Reference:
  • GitHub Desktop Exposes Credentials Due to Multiple Vulnerabilities
Tags: Cyber AlertsCyber Alerts 2025CyberattackCybersecurityJanuary 2025
ADVERTISEMENT

Related Posts

DevOps Servers Hit By JINX0132 Crypto Mine

Fake FB Ban Fix Extension Steals Accounts

June 3, 2025
DevOps Servers Hit By JINX0132 Crypto Mine

Actively Exploited Chrome V8 Flaw Patched

June 3, 2025
DevOps Servers Hit By JINX0132 Crypto Mine

DevOps Servers Hit By JINX0132 Crypto Mine

June 3, 2025
Linux Core Dump Flaws Risk Password Leaks

Linux Core Dump Flaws Risk Password Leaks

June 2, 2025
Linux Core Dump Flaws Risk Password Leaks

GitHub Code Flaw Replicated By AI Models

June 2, 2025
Linux Core Dump Flaws Risk Password Leaks

Google Script Used In New Phishing Scams

June 2, 2025

Latest Alerts

Fake FB Ban Fix Extension Steals Accounts

Actively Exploited Chrome V8 Flaw Patched

DevOps Servers Hit By JINX0132 Crypto Mine

Linux Core Dump Flaws Risk Password Leaks

GitHub Code Flaw Replicated By AI Models

Google Script Used In New Phishing Scams

Subscribe to our newsletter

    Latest Incidents

    Cartier Data Breach Exposes Client Info

    White House Chief of Staff’s Phone Hacked

    The North Face Hit By 4th Credential Hack

    Covenant Health Cyberattack Shuts Hospitals

    Moscow DDoS Attack Cuts Internet For Days

    Puerto Rico’s Justice Department Cyberattack

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial