All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Vulnerability in Git: Remote Code Execution Risk with git clone --recursive

By

dgl

10mo ago· 7 min readenNews

Summary

Using git clone --recursive on an untrusted repo on Unix-like platforms could lead to remote code execution, highlighting a vulnerability in Git. Users are advised to update to a fixed version of Git and related software like GitHub Desktop.

Key quotes

· 3 pulled
If you've ever used an old mechanical typewriter, you know that when you get to the end of the line there's a physical action to get back to the start of the line.
Sometimes this was done through an actual lever on the typewriter, later models had a button.
Because this action — the carriage return — was distinct from the line feed, it has its own character.
Snippet from the RSS feed
tl;dr: On Unix-like platforms, if you use git clone --recursive on an untrusted repo, it could achieve remote code execution. Update to a fixed version of git and other software that embeds Git (including GitHub Desktop).

You might also wanna read