this post was submitted on 05 Apr 2024
174 points (91.0% liked)

Linux

48090 readers
792 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 7 months ago* (last edited 7 months ago) (1 children)

People are still trying to deconstruct this exploit to figure out how the RCE worked.

True, but we do know how it got into xz in the first place. Human error and bad practice, we wouldn't have to reverse engineer the exploit if xz didn't allow binary commits all together. It's a very convoluted exploit with hiding "junk" and using awk and other commands to cut around that junk and combining it creating a payload and executing it. Our reliance on binary blobs is a double edged sword.

supply chain attacks are effectively impossible to eliminate as an attack vector by a developer-user of a N-level dependency. Not having dependencies or auditing every dependency is unreasonable in most cases.

Also true, because human error is impossible to snuff out completely, however it can be reduced if companies donated to the projects they use. For example, Microsoft depends on XZ and doesn't donate them anything. It's free as in freedom not cost. Foss devs aren't suppliers, it comes as is. If you want improvements in the software your massive company relies on, then donate, otherwise don't expect anything, they aren't your slaves.

[–] [email protected] 1 points 7 months ago (1 children)

You can't test a archive program without binaries

[–] [email protected] 18 points 7 months ago (2 children)

Generate the binaries during test execution from known (version controlled) inputs, plaintext files and things. Don't check binaries into source control, especially not intentionally corrupt ones that other maintainers and observers don't know what they may contain.

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago)

Exactly this. Couldn't have said it better myself.

[–] [email protected] 0 points 7 months ago

laughs in Gentoo