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

China Hackers Breach Telecom Firm

China Hackers Breach Telecom Firm

October 24, 2025
China Hackers Breach Telecom Firm

Lazarus Hits European Defense Firms

October 24, 2025
China Hackers Breach Telecom Firm

YouTube Videos Used As Malware Traps

October 24, 2025
Gift Card Heist Via Cloud Hackers

Gift Card Heist Via Cloud Hackers

October 23, 2025
Gift Card Heist Via Cloud Hackers

Fake Zoom Calls Target Ukraine Aid

October 23, 2025
Gift Card Heist Via Cloud Hackers

MuddyWater Launches Global Spying

October 23, 2025

Latest Alerts

China Hackers Breach Telecom Firm

YouTube Videos Used As Malware Traps

Lazarus Hits European Defense Firms

Gift Card Heist Via Cloud Hackers

MuddyWater Launches Global Spying

Fake Zoom Calls Target Ukraine Aid

Subscribe to our newsletter

    Latest Incidents

    Hackers Breach Verstappen Data

    Toys R Us Canada Data Breach Alert

    Shaq Range Rover Stolen After Hack

    Ransomware Hits Jewett Cameron

    Salt Typhoon Hacks European Telecom

    JFL Loses 800K Weekly After Hack

    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