Fedora: TLS root ca bundle weg und keinen juckts.. 6 Monate lang :(

Da will man Thunderbird updaten und bekommt eine lustige Fehlermeldung, daß das root ca-bundle nicht am Platz ist. Tja.

Fedora: TLS root ca bundle weg und keinen juckts … 6 Monate lang 🙁

und so sieht sowas dann aus:

$ dnf provides /etc/pki/tls/certs/ca-bundle.crt
Paketquellen aktualisieren und laden:
nvidia-container-toolkit ???% | 0.0 B/s | 0.0 B | 00m01s
>>> Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://nvidia.github.io/libnvidia-container/stable/rpm/x86_64/repodata/repomd.xml [error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt] – https://nvidia.github.io/libnvidia-container/stable/rpm/x86_64/repodata/repomd.xml
>>> An Curl handle error
RPM Fusion for Fedora 44 – Nonfree – Updates 100% | 284.9 KiB/s | 663.8 KiB | 00m02s
RPM Fusion for Fedora 44 – Nonfree – NVIDIA Driver 100% | 11.3 KiB/s | 27.5 KiB | 00m02s
RPM Fusion for Fedora 44 – Nonfree 100% | 153.8 KiB/s | 405.8 KiB | 00m03s
RPM Fusion for Fedora 44 – Free – Updates 100% | 264.7 KiB/s | 630.4 KiB | 00m02s
RPM Fusion for Fedora 44 – Free 100% | 247.0 KiB/s | 641.6 KiB | 00m03s

Jetzt ist das nicht erst gestern passiert, sondern schon seit 6 Monaten unbeantwortet als Bug offen und deswegen sollt Ihr erfahren wie man das behebt.

Ursache

Die Struktur der TLS Zertifikate wurde geändert. Das dafür zuständige Paket ca-certificates wurde mit Einführung Fedora 44 umgestellt.  Wie man schon im RPM für Fedora 43 sehen kann:

/etc/pki/ca-trust/source/ca-bundle.legacy.crt

ist das ca-bundle als legacy markiert und wird dann vom Updatescript in das /etc/pki/tls/certs/ca-bundle.crt überführt. Fedora 44 macht das beim Update aber nicht, sondern nur, wenn man es frisch installiert, was gelinde gesagt Schwachsinn ist. Es gibt also extra zwei Scripte für den Install und den Updatepfade die sich, absichtlich oder nicht, widersprechen. Das führt a) zu mehr Pflegeaufwand und b) zu dem bekannten Fehler oben 🙁

Die von DNF benutzte Curl implementierung, und ich bin nicht sicher ob das libcurl oder natives curl ist, greift scheinbar für seine TLS Verifizierung auf das legacy bundle zurück, weswegen es failt.

Wie man das behebt

Da gibt es zwei Wege: (minimal)

ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/tls/certs/ca-bundle.crt

oder, und das zeigt, daß RH und Fedora über das verursachte Problem bestens im Bilde sind:

update-ca-trust –rhbz2387674

Ein Shellargument mit der Bugreport-ID zum Problem, so etwas sieht man nicht alle Tage 🙁 Schade das er nicht auch benutzt wird … grrr..

Der eigentliche Skandal ist, daß das Problem seit 6 Monaten im Bugzilla ist, ohne auch nur mal auf OPEN gesetzt worden zu sein!

https://bugzilla.redhat.com/show_bug.cgi?id=2461749

Hier der „LOW“ Prio Bugreport, der fordert, die Option zu entfernen, damit auch die letzte App kaputt gehen kann .. tja:

https://bugzilla.redhat.com/show_bug.cgi?id=2387674

hat fast geklappt, aber auch MIT der Option ist Curl gefailed, da kann die auch drin bleiben, wenn die keiner benutzt 😀

Update: Fedora hat das PHP Update verkackt.

Vorhin noch geschwärmt, jetzt ist PHP2SHELL Alarm in der Bude:

Fedora hat die PHP Updates nicht in ins Stable gepusht.

Stand: 1:20 Uhr  sind die Pakete zwar im Koji, aber nicht im stable Repo.[mindestens F43 nicht]

Angesichts der Dringlichkeit sollten Sie aber das Testing Repo überspringen.

Wenn Ihr das lest noch kein update habt, zieht Euch die Files für Eure Architektur direkt aus dem Koji.

https://koji.fedoraproject.org/koji/packageinfo?packageID=72

alles was keine DEBUGINFO im Namen hat runterladen und per :

dnf update ./php*rpm 

updaten!

Update: 12:49 Uhr

Die Pakete haben es in das Testing Repo geschafft. So könntet Ihr jetzt updaten:

sudo dnf –enable-repo=updates-testing update php-fpm

oder auch nur „php“ , je nachdem was Ihr so braucht.

PHP Apocalypse abgewendet

So Freund, wir  sind wieder online. Wieso wieder Online fragt Ihr, na wegen PHP2SHELL !

PHP Apocalypse abgewendet

PHP hat zwar früher als erwartet das Embargo für die PHP Patche freigegeben, aber dank eines Geniestreichs, waren unsere Server schneller wieder am Netz als andere, denn die Mirrors der Updatepakete waren nicht aktuell. Hätte man auf die gewartet, hätte es Stunden dauern können.

Was ist überhaupt passiert:

Security advisory: Critical remote code execution vulnerabilities, update now

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately.

Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. We consider the risk highest for mod_php, with a demonstrated exploit where an unauthenticated request can trigger the attack before any application code runs.

The vulnerabilities:

  • RCE via OOM corruption, CVE-2026-109618 (GHSA-w8hw-w9fx-j79w): out-of-memory handling can interrupt PHP while internal request data is only partially initialized. Request cleanup may then treat the invalid data as valid.
  • RCE via stale global state, CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp): request-owned internal state can survive after its backing memory has been freed. A later request handled by the same worker may use that stale state before normal initialization resets it.

How to update:

  • Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35. Source downloads are on our downloads page. Windows source and binaries are on the same page.
  • Linux distributions and LTS vendors received the patches in advance, so check your vendor for updated packages.
  • PHP 8.1 and older no longer receive updates from the PHP project. Some distributions and LTS vendors provide backported fixes, so contact your vendor for details, or upgrade to a supported version.
  • If you rely on the volunteer-maintained rpms.remirepo.net, we urge you to switch to distribution packages or build from source, so you can immediately apply updates. The repo will not have updates today.
  • Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1 to help people building from source or without access to an LTS vendor.

If you cannot update immediately: while only an update is a complete solution, the following measures reduce exposure to specific attack paths but do not make an installation safe.

RCE via OOM corruption (CVE-2026-109618):

  • Set memory_limit=-1, preferably in a way applications can’t override, such as php_admin_value in the FPM pool or Apache configuration, and check that no pool, directory or application setting puts a finite limit back. This removes the controllable PHP memory limit failure, but an underlying allocation failure can still reach the vulnerable path.
  • Set a low post_max_size. For applications that don’t require file uploads, set post_max_size = 8M. If file uploads are necessary, set post_max_size = 32M. Keep upload_max_filesize below post_max_size. Consider enforcing limits at the web server or proxy level for decoded request size, input field count, multipart part count, header count, and nesting depth. These limits must also cover requests without a usable Content-Length.
  • Use a container or cgroup limit as an availability boundary, preferably with a policy that kills only the affected worker. Do not substitute RLIMIT_AS or RLIMIT_DATA, as these can cause the vulnerable allocation failure.

RCE via stale global state (CVE-2026-109619):

  • Set session.upload_progress.enabled=0 and restart every worker. Use php.ini, an FPM pool or server configuration that applies before request parsing. Do not rely on ini_set() or FPM .user.ini. This blocks the confirmed session paths but not other variants.
  • On PHP 8.5, set fatal_error_backtraces=0 and restart every worker. This blocks the confirmed fatal backtrace path only.
  • Remove invalid or deprecated settings applied per request that emit diagnostics before initialization. Hiding diagnostics with error_reporting, display_errors or @ does not help.
  • Fix attacker-reachable fatal errors and execution timeouts, including failures in callbacks, upload or import processing and cleanup.

The advisories linked above have the full technical details.

Quelle: php.net

Da 24h Zeit waren wurden heute Mittag im Geheimen bereits das Update für Fedora kompiliert. Daher konnte man die Pakete bereits früher haben als die Mirrors. Letztendlich wurden die dann über unsere Updateserver verteilt, so daß alle unsere Server das für ein normales Update wie jedes andere behandelt haben.