[MASSMAIL]Security lessons from liblzma

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
[MASSMAIL]Security lessons from liblzma
Дата
Msg-id
ZgdCpFThi9ODcCsJ@momjian.us
Список
Дерево обсуждения
[MASSMAIL]Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma Robert Haas <robertmhaas@gmail.com>
Re: Security lessons from liblzma Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma Joe Conway <mail@joeconway.com>
Re: Security lessons from liblzma Joe Conway <mail@joeconway.com>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Joe Conway <mail@joeconway.com>
Re: Security lessons from liblzma Devrim Gündüz <devrim@gunduz.org>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Joe Conway <mail@joeconway.com>
Re: Security lessons from liblzma Michael Banck <mbanck@gmx.net>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Michael Banck <mbanck@gmx.net>
Re: Security lessons from liblzma Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma Andrew Dunstan <andrew@dunslane.net>
Re: Security lessons from liblzma walther@technowledgy.de
Re: Security lessons from liblzma "David E. Wheeler" <david@justatheory.com>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Devrim Gündüz <devrim@gunduz.org>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Joe Conway <mail@joeconway.com>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Peter Eisentraut <peter@eisentraut.org>
Re: Security lessons from liblzma Greg Sabino Mullane <htamfids@gmail.com>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Robert Haas <robertmhaas@gmail.com>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Robert Haas <robertmhaas@gmail.com>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
Re: Security lessons from liblzma Daniel Gustafsson <daniel@yesql.se>
Re: Security lessons from liblzma Robert Haas <robertmhaas@gmail.com>
Re: Security lessons from liblzma Jacob Champion <jacob.champion@enterprisedb.com>
Re: Security lessons from liblzma Michael Paquier <michael@paquier.xyz>
Re: Security lessons from liblzma Jacob Champion <jacob.champion@enterprisedb.com>
Re: Security lessons from liblzma Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma - libsystemd Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma - libsystemd Magnus Hagander <magnus@hagander.net>
Re: Security lessons from liblzma - libsystemd Tom Lane <tgl@sss.pgh.pa.us>
Re: Security lessons from liblzma - libsystemd Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma - libsystemd Peter Eisentraut <peter@eisentraut.org>
Re: Security lessons from liblzma - libsystemd Andres Freund <andres@anarazel.de>
Re: Security lessons from liblzma - libsystemd Michael Paquier <michael@paquier.xyz>
Re: Security lessons from liblzma - libsystemd Étienne BERSAC <etienne.bersac@dalibo.com>
Re: Security lessons from liblzma - libsystemd Magnus Hagander <magnus@hagander.net>
Re: Security lessons from liblzma Thomas Munro <thomas.munro@gmail.com>
Re: Security lessons from liblzma Bruce Momjian <bruce@momjian.us>
You might have seen reports today about a very complex exploit added to
recent versions of liblzma.  Fortunately, it was only enabled two months
ago and has not been pushed to most stable operating systems like Debian
and Ubuntu.  The original detection report is:

        https://www.openwall.com/lists/oss-security/2024/03/29/4

And this ycombinator discussion has details:

        https://news.ycombinator.com/item?id=39865810

        It looks like an earlier commit with a binary blob "test data"
        contained the bulk of the backdoor, then the configure script
        enabled it, and then later commits patched up valgrind errors
        caused by the backdoor. See the commit links in the "Compromised
        Repository" section.

and I think the configure came in through the autoconf output file
'configure', not configure.ac:

        This is my main take-away from this. We must stop using upstream
        configure and other "binary" scripts. Delete them all and run
        "autoreconf -fi" to recreate them. (Debian already does something
        like this I think.)

Now, we don't take pull requests, and all our committers are known
individuals, but this might have cautionary lessons for us.

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.


В списке pgsql-hackers по дате отправления
От: Noah Misch
Дата:
От: Thomas Munro
Дата:
FAQ