Google spills beans on severe Github security flaw

Lock
(Image credit: Shutterstock)

Google's Project Zero team has publicly disclosed a high severity flaw in GitHub that could be exploited to launch injection attacks on the popular developer platform.

The search giant's team of security analysts is well regarded for discovering major vulnerabilities in popular software and earlier this week, it disclosed a Windows 10 zero-day that could allow hackers to seize control of users' computers. 

Back in January, Project Zero changed its disclosure policy to give vendors a full 90 days before disclosing issues in their systems or software. This is why GitHub was given until October 18 to fix its high severity flaw after Google's researchers discovered it back in July. With the deadline approaching, GitHub deprecated vulnerable commands in October and released a security advisory warning users to update their workflows.

In mid-October, the developer platform then accepted a 14-day grace period from Project Zero knowing that the vulnerability would be publicly disclosed on November 2.

Injection attacks

The vulnerability, tracked as CVE-2020-15228, deals with the fact that workflow commands in GitHub Actions are extremely vulnerable to injection attacks. These commands serve as a communication channel between executed actions and the Action Runner on the platform.

Senior information security engineer at Google, Felix Wilhem explained in a Project Zero report that almost all projects with complex Github Actions are vulnerable to injection attacks, saying:

“The big problem with this feature is that it is highly vulnerable to injection attacks. As the runner process parses every line printed to STDOUT looking for workflow commands, every Github action that prints untrusted content as part of its execution is vulnerable. In most cases, the ability to set arbitrary environment variables results in remote code execution as soon as another workflow is executed. I’ve spent some time looking at popular Github repositories and almost any project with somewhat complex Github actions is vulnerable to this bug class.”

Fixing the issue entirely will be quite difficult for Github as the way workflow commands are implemented is “fundamentally insecure”, according to Wilhem. While the command syntax can be deprecated as a short-term solution to the problem, a long-term fix would require workflow commands to be moved to some out-of-bounds channel though this would also break other pieces of dependent code.

Just before the grace period came to an end, GitHub requested an additional 48 hour extension from Project Zero not to patch the issue but to notify additional customers as well as to determine a final date to fix the vulnerability.

Via Neowin

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
cybersecurity
Chinese government hackers allegedly spent years undetected in foreign phone networks
Data leak
A major Keenetic router data leak could put a million households at risk
Code Skull
Interpol operation arrests 300 suspects linked to African cybercrime rings
Insecure network with several red platforms connected through glowing data lines and a black hat hacker symbol
Multiple routers hit by new critical severity remote command injection vulnerability, with no fix in sight
Code Skull
This dangerous new ransomware is hitting Windows, ARM, ESXi systems
An abstract image of a lock against a digital background, denoting cybersecurity.
Critical security flaw in Next.js could spell big trouble for JavaScript users
Latest in News
Open AI
OpenAI unveiled image generation for 4o – here's everything you need to know about the ChatGPT upgrade
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
NetSuite EVP Evan Goldberg at SuiteConnect London 2025
"It's our job to deliver constant innovation” - NetSuite head on why it wants to be the operating system for your whole business
Monster Hunter Wilds
Monster Hunter Wilds Title Update 1 launches in early April, adding new monsters and some of the best-looking armor sets I need to add to my collection