VOOZH about

URL: https://thenewstack.io/linux-xz-and-the-great-flaws-in-open-source/

⇱ Linux xz and the Great Flaws in Open Source - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-06-27 09:37:41
Linux xz and the Great Flaws in Open Source
podcast,video,
Linux / Open Source

Linux xz and the Great Flaws in Open Source

The Linux xz utils backdoor exploit shows how vulnerable open source is to social engineering, said TesitfySec's John Kjell, speaking with Chris Pirillo in this episode of The New Stack Makers.
Jun 27th, 2024 9:37am by Alex Williams
👁 Featued image for: Linux xz and the Great Flaws in Open Source

SEATTLE —  The Linux xz utils backdoor exploit exposes flaws in the open source ecosystem and how it works. That’s one takeaway from this On the Road interview on The New Stack Makers with John Kjell, director of open source at TestifySec.

The interview, hosted by tech evangelist Chris Pirillo, was recorded at Open Source Summit North America.

A maintainer for the Linux xz utils compromised the project by adding malicious code to a new release. Discovered earlier this spring, the orchestrated exploit illuminates how the conditions in the open source community allowed a maintainer, often the most trusted person on an open source project, to betray his colleagues most fundamentally.

The maintainer placed the backdoor malware in the upstream xz repository’s tarballs. A Microsoft engineer discovered the malware when determining why a download of xz utils using SSH took way too long. He looked into it a bit and found the malicious code.

Talk about betrayal. 

“This library is used with openSSH and so part of the code inside of it allowed backdoor to be inserted so that whenever someone would do an SSH connection, they could basically get in,” Kjell said. “They could either remotely execute code on that server, or they could directly log into that server.”

One Takeaway: Open Source Is Fragile

The most extraordinary fragility in open source is the people who face a weight of pressure to fix CVEs and make updates. Economic forces come into play. Company leadership requires updates to make new features available in their products.

The xz attackers knew of this pressure and used social engineering to get one of their members close to the project and eventually get accepted as a maintainer. The rest is pretty ugly.

Red Hat gave the vulnerability its highest threat rating. The backdoor can be anywhere. Why? It’s used with SSH and OpenSSH. So when the maintainer added the code, it spread far and wide in Debian, Ubuntu, etc. 

How this crew (nation-state actors?) got into the community shows our fragility and resiliency. Linus Torvalds said at the Open Source Summit that a community member found the obfuscated code soon after it was planted.

Still, the bad actors established trust, knowing that they could put pressure on the maintainer. They could be aggressive but also sympathetic by volunteering to help.

“They started just showing up and contributing to different open source projects,” Kjell said. “And one of the projects they contributed to was actually utils. And over time, they built up more trust, they, you know, did more commits, then, you know, the, the social engineering aspects started kind of cropping up.”

The economics of open source depend on contributions. Maintainers love their work and take pride in what they do. They all have their vulnerabilities, which opens them to predators who exploit the conditions that the maintainer faces. 

“This isn’t most people’s day job, they don’t get paid to do this” Kjell said. “They get badgered by these large upstream distros, companies selling these things, to have more releases to fix problems.

“And so, other accounts started badgering the sole maintainer of this project, saying you need to do more, you need to do it faster, you need to address all these concerns. And then this person walks in and says, ‘I’m happy to help.’ They had built up enough credibility beforehand to be introduced, and over time, that led to being able to handle sensitive bug reports and create their own releases. And that was how we ended up in the situation where we had the backdoor put in.”

A deep need for open source is as much an economic issue as a technical one. Organizations need open source software that manages every aspect of their business. They depend on maintainers but also put considerable pressure on them to keep the software patched and updated.

These economic conditions open the door, so to speak, exposing fragilities in the open source supply chain. Thank goodness people are also so resilient. 

TRENDING STORIES
Alex Williams is founder and publisher of The New Stack. He's a longtime technology journalist who did stints at TechCrunch, SiliconAngle and what is now known as ReadWrite. Alex has been a journalist since the late 1980s, starting at the...
Read more from Alex Williams
SHARE THIS STORY
TRENDING STORIES
Microsoft and Red Hat OpenShift are sponsors of The New Stack.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.