A backdoor in xz
A backdoor in xz
Posted Mar 30, 2024 9:57 UTC (Sat) by cesarb (subscriber, #6266)In reply to: A backdoor in xz by DimeCadmium
Parent article: A backdoor in xz
Posted Mar 31, 2024 1:33 UTC (Sun)
by DimeCadmium (subscriber, #157243)
[Link] (3 responses)
The solution you are looking for is *monitoring*.
Posted Mar 31, 2024 1:45 UTC (Sun)
by intelfx (subscriber, #130118)
[Link] (2 responses)
It might be "equivalent" in an information-theoretical sense (everything that can be achieved with one, is also achievable with the other), but it's absolutely not equivalent in _practical reliability_.
Setting up a proper "notifying" double-fork (which, I remind you, means that the immediate child has to wait for the grandchild to initialize and only then exit, because in most cases the initialization must be completed in the grandchild) is tenfold more _complicated_ and _easier to get wrong_ than simply writing a line into a pre-existing socket that the supervisor has prepared for you.
Even more: all known cases of proper notifying double-fork implementatoin involve creating a temporary pipe or socket between the child and the grandchild, precisely for the reasons described above. As such, we are choosing between a notify-by-socket implemented _once_ and a notify-by-socket implemented _over and over again_ in each daemon. The choice must be obvious, unless you specifically have an irrational axe to grind against systemd.
Posted Mar 31, 2024 6:22 UTC (Sun)
by DimeCadmium (subscriber, #157243)
[Link] (1 responses)
Indeed it must be, considering that we are discussing the result of everyone sharing a single implementation of it.
Posted Mar 31, 2024 12:25 UTC (Sun)
by bluca (subscriber, #118303)
[Link]
$ apt-cache rdepends liblzma5 | wc -l
If it hadn't been libsystemd in the middle of the dependency chain, it would have been something else. The exploit was primed and ready to add more backdoors for other arbitrary workflows, with pre-prepared and unused "test files" signatures that we'll now never know what would have attacked.
A backdoor in xz
A backdoor in xz
A backdoor in xz
A backdoor in xz
354