# The upstream xz repository and the xz tarballs have been backdoored

**URL:** <https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253>\
**Category:** Important notifications\
**Created:** [March 29, 2024, 9:17pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253 "2024-03-29T21:17:38Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [March 31, 2024, 7:28am UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/41 "2024-03-31T07:28:14Z")

</div>

> [@zer0exia](#):
>
> I wonder how many other _sleeper maintainers_ still exist out there, that already reached the “trusted” status just waiting and bidding their time.

That’s the main question.

There are plenty of tools to bombard code that analyze common red flag patterns + AI tools to do the same…but still it begs for manual checks before pushing anything.

A motivated bad actor can have more than 1 trusted user, and can approve it’s own bad code…

I guess only automation pre-checks + manual reviewers (preferably at least 10 regular trusted ones should evaluate every commit) which is not trivial task.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [March 31, 2024, 7:51am UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/42 "2024-03-31T07:51:20Z")

</div>

Another malicious commit was found

> <https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27?permalink_comment_id=5006724#gistcomment-5006724>

---

<div class="post-metadata">

**Author:** ![baudwalk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/baudwalk/32/45312_2.png) [@baudwalk](https://forum.endeavouros.com/u/baudwalk)\
**Post date:** [March 31, 2024, 11:51am UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/43 "2024-03-31T11:51:51Z")

</div>

Just to satisfy my paranoia, as I was just about to install on a new laptop: The EndeavourOS\_Galileo-Neo-2024.01.25.iso predates the backdoor, and installing with that will put the post-backdoor-fix version on the target system?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 12:12pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/44 "2024-03-31T12:12:49Z")

</div>

If you do an online install, you will get the latest no-backdoor-ed version automatically.

If you do an offline install followed by an upgrade, you will land on the latest no-backdoor-ed version as well.

---

<div class="post-metadata">

**Author:** ![linuxislife](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/linuxislife/32/91372_2.png) [@linuxislife](https://forum.endeavouros.com/u/linuxislife)\
**Post date:** [March 31, 2024, 12:51pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/45 "2024-03-31T12:51:18Z")

</div>

Oh I just noticed your new avatar!  
Is it out of support for `xz` developers or just funny timing?! 😅

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 1:04pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/46 "2024-03-31T13:04:50Z")

</div>

Just to 👻 the LinuXZ community.

😜 🤣

---

<div class="post-metadata">

**Author:** ![SemLraug](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/semlraug/32/83299_2.png) [@SemLraug](https://forum.endeavouros.com/u/SemLraug)\
**Post date:** [March 31, 2024, 5:07pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/47 "2024-03-31T17:07:36Z")

</div>

![afbeelding](https://forum.endeavouros.com/uploads/default/original/3X/f/9/f94a50bd61e1fd1e9db82f2c22c31cb1dd6c4580.jpeg)

Edit: sorry, forgot the credits: [https://infosec.exchange/@fr0gger/112189232773640259](https://infosec.exchange/@fr0gger/112189232773640259)

---

<div class="post-metadata">

**Author:** ![NX-01](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nx-01/32/36098_2.png) [@NX-01](https://forum.endeavouros.com/u/NX-01)\
**Post date:** [March 31, 2024, 5:09pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/48 "2024-03-31T17:09:31Z")

</div>

Hi guys!

I saw this thread today, and since both of my machines had Version 5.6.1-1 I updated both and removed the old versions from paccache.

Then I reread the thread and also read the thread over at the arch forums. Unfortunately, most of this stuff is way beyond my technical knowledge. So I would like to recapitulate here how I understood what I read, pls correct me if I’m wrong:

**There is a backdoor in specific versions of xz. But although those versions have been used in Arch we are not sure if those actually indeed contained the backdoor**  
Referring to this:  
“By disassembling the liblzma library (which is the affected part, as far as I’ve understood), it appears that our packages might have never been affected by the backdoor, due to a deb/rpm check in the script that decides whether to inject the vulnerability or not.”

**But even when the backdoor was indeed present it couldn’t have been used/exploited**  
Referring to this:  
“Arch does not directly link openssh to liblzma, and thus this attack vector is not possible.”

So, not really an issue for Arch, correct?

But there could be more and it looks like there are hints that there is more. The Arch thread mentions something about a disabled sandbox. I think this hasn’t been mentioned here so far, can anyone explain pls?  
Referring to this:  
" Upgrade to the 5.6.1-2 release, which doesn’t have the SSH backdoor, but _does_ disable the landlock sandbox and possibly more."

---

<div class="post-metadata">

**Author:** ![Stagger\_Lee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stagger_lee/32/93385_2.png) [@Stagger\_Lee](https://forum.endeavouros.com/u/Stagger_Lee)\
**Post date:** [March 31, 2024, 5:29pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/49 "2024-03-31T17:29:27Z")

</div>

> [@NX-01](#):
>
> So, not really an issue for Arch, correct?

Correct.

> [@NX-01](#):
>
> But there could be more

Possibly, though probably unlikely.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 5:49pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/50 "2024-03-31T17:49:30Z")

</div>

A Micro- $oft/saft/shaft/shift/shoft/whatever engineer caught Ze Bug!!

Micro- $oft/saft/shaft/shift/shoft/whatever loves LinuXZ!

I love it!

🤣

---

<div class="post-metadata">

**Author:** ![anon26269396](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@anon26269396](https://forum.endeavouros.com/u/anon26269396)\
**Post date:** [March 31, 2024, 5:56pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/51 "2024-03-31T17:56:05Z")

</div>

Will your next avatar be Ze Bug 🤣

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 5:57pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/52 "2024-03-31T17:57:28Z")

</div>

Don’t give me ideas … 🤣

---

<div class="post-metadata">

**Author:** ![linuxislife](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/linuxislife/32/91372_2.png) [@linuxislife](https://forum.endeavouros.com/u/linuxislife)\
**Post date:** [March 31, 2024, 6:17pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/53 "2024-03-31T18:17:39Z")

</div>

I guess if you’re in the loop of Micro$tuff software development, you’re in a good position to know that you’d much better use anything else. (to the point where you even feel the urge to report any problem on your favorite OS) 😅

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [March 31, 2024, 6:40pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/54 "2024-03-31T18:40:08Z")

</div>

thanks for the finding that. I often _do_ need the seasame st. version vs tech articles 😀.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 6:44pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/55 "2024-03-31T18:44:03Z")

</div>

I read that if you have Micro- $oft/saft/shaft/shift/shoft/whatever’s Wind- oze/-blows/-woes/whatever installed in dualboot with Linux, it can compromise your system by injecting #%@!ware into your Linux kernel.

It’s just “funny” how they could pass on this one, a Golden opportunity discovered by Micro- $oft/saft/shaft/shift/shoft/whatever’s principal software engineer.

His job may be hanging on very thin thread 🤣

---

<div class="post-metadata">

**Author:** ![linuxislife](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/linuxislife/32/91372_2.png) [@linuxislife](https://forum.endeavouros.com/u/linuxislife)\
**Post date:** [March 31, 2024, 7:24pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/56 "2024-03-31T19:24:59Z")

</div>

> [@pebcak](#):
>
> His job may be hanging on very thin thread

…or maybe his was part of a greater one:

> [@pebcak](#):
>
> dualboot with Linux, it can compromise your system

It’s never pleasant when it’s not YOUR backdoor I guess 🤣

But otherwise, where did you see about the dual boot stuff ?  
(Even if I assume the “needed” backdoors are probably already in place everywhere at the hardware level anyway…)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 31, 2024, 7:32pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/57 "2024-03-31T19:32:32Z")

</div>

> [@linuxislife](#):
>
> It’s never pleasant when it’s not YOUR backdoor I guess 🤣

I would venture to say that they have enough resources to be able to exploit it 🤔

> [@linuxislife](#):
>
> But otherwise, where did you see about the dual boot stuff ?

> Seek, and ye shall find --Matthew 7:7

It’s much closer than you think 😉

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [March 31, 2024, 8:35pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/58 "2024-03-31T20:35:44Z")

</div>

never will I use the trite and cliched ‘Windoze’ when referring to the dark star. For now on it’s Microshaft.  
I take back the thumbs up I gave you and will now replace it with a Gold Medal:)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [April 1, 2024, 1:06pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/59 "2024-04-01T13:06:17Z")

</div>

> **By rebuilding the entire codebase against a known uncompromised version of the XZ library, openSUSE aims to safeguard its users against potential breaches and maintain the trustworthiness of its distribution.**
> 
> If you use this fantastic rolling-release distribution, you’ll be amazed that around 2000 updates are ready for you today. That’s correct – openSUSE Tumbleweed has rebuilt its whole codebase and every package.
> 
> [https://linuxiac.com/tumbleweed-users-face-urgent-2000-package-updates/](https://linuxiac.com/tumbleweed-users-face-urgent-2000-package-updates/)

```auto
The following 29 patterns are going to be upgraded:
  apparmor base basesystem documentation enhanced_base fonts fonts_opt gnome_basic gnome_basis gnome_basis_opt gnome_games gnome_imaging gnome_internet gnome_multimedia gnome_office gnome_utilities gnome_yast imaging laptop minimal_base
  multimedia office sw_management x11 x11_enhanced x11_yast x86_64_v3 yast2_basis yast2_desktop

The following product is going to be upgraded:
  openSUSE Tumbleweed 20240326-0 -> 20240329-0

The following NEW package is going to be installed:
  kernel-default-6.8.1-1.2

The following package is going to be REMOVED:
  kernel-default-6.8.1-1.1

The following package requires a system reboot:
  kernel-default-6.8.1-1.2

2098 packages to upgrade, 1 new, 1 to remove.
Overall download size: 1.67 GiB. Already cached: 0 B. After the operation, additional 2.4 MiB will be used.

    Note: System reboot required.

```

![image](https://forum.endeavouros.com/uploads/default/original/3X/5/a/5aa43b925d6dcc59671809a174c2666871e7d283.png)

👆🏾

---

<div class="post-metadata">

**Author:** ![winnyace](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/winnyace/32/138974_2.png) [@winnyace](https://forum.endeavouros.com/u/winnyace)\
**Post date:** [April 1, 2024, 1:34pm UTC](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253/60 "2024-04-01T13:34:19Z")

</div>

Now that’s commitment. Kudos to the OpenSUSE team.

[Previous page](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253.md?page=2)

[Next page](https://forum.endeavouros.com/t/the-upstream-xz-repository-and-the-xz-tarballs-have-been-backdoored/53253.md?page=4)
