6 ms·
> A back door in the same library is not likely. But libsystemd is not linked to xz only. By removing it, sshd is free of many other potential risks.
by bdd8f1df777b 3y ago
> A back door in the same library is not likely.
But libsystemd is not linked to xz only. By removing it, sshd is free of many other potential risks.
- aborsy 3y agoCorrect, I misread. Still the question remains: what technology could be implemented to mitigate this type of attack (beyond sshd)? For example, Linux sandboxing is poor, and SeLinux is not usually enforced.
- fsflover 3y agoSee: Qubes OS.
- vimax 3y agoDisable calling functions in transitive dependencies, force them to be direct dependencies. Why should sshd be allowed to call an xz function directly without xz being an immediate dependency. I'm not sure what all that would entail with the ifunc stuff, but I remember encountering a glibc linking change moving from Red Hat 6 to RH7 that did something similar and broke the build process for some legacy code.
- hulitu 3y ago> what technology could be implemented to mitigate this type of attack (beyond sshd)? UNIX ? (do one thing and do it well). When your program links with 20 libraries, i have i very hard time to believe that security is one of your goals.
- metalspoon 3y agoI pointed out this weakness the other day on the internet. I got attacked by open source software armies.
- trust_bt_verify 3y agoThanks for sharing.
- ranger_danger 3y agoFOSS zealots are not always security experts.
- ratg13 3y agoMaybe it was because you weren't pointing out anything new? There was a pull request to stop linking liblzma into libsystemd a month before the backdoor was found https://github.com/systemd/systemd/pull/31550 https://github.com/systemd/systemd/pull/31550 This was likely one of many things that pushed the attackers to work faster, and forced them into making mistakes.
- metalspoon 3y agoNo. They couldn't get along with the idea that some open source software packages should also sometimes be cut away, just like all other packages. They felt threatened by the idea that open source maintenance can ever go wrong and started attacking me. They argued closed source was worse. That was not my point at all. I was not raising a weakness of open source. I was just pointing out that linking to libsystemd had that kind of problem.
- flohofwoe 3y agoPlease don't throw despicable systemd zealots and honorable open source zealots into the same bucket ;)
- ikekkdcjkfke 3y agoPlot twist: systemd zealots were all sockpuppets
- baobun 3y agoPlease don't bring group-identity politics here.