[CLSA-2026:1789777054] Fix CVE(s): CVE-2022-31627
Type:
security
Severity:
Critical
Release date:
2026-09-19 00:17:52 UTC
Description:
* ALTPHP-2571: restore the sticky-writable mode on /opt/alt/php81/var/lib/php/session from the Debian/Ubuntu postinst - dh_installdirs and dh_fixperms shipped it as 755 root:root, so no non-root user could write session data * ALTEAPLN-3: no change to the Debian packaging - alt-php81-cli has never depended on the FPM package here. Recorded for parity with the RPM side, where a hard Requires was dropped so the FPM package can be removed on servers that only use PHP Selector via lsapi * ALTEAPLN-15: stop shipping the empty /opt/cpanel/alt-php81/root/etc/php-fpm.d/_.conf placeholder in the package. cPanel counts any *.conf in that directory as an enabled FPM pool and kept restarting alt-php81-fpm through chkservd on servers that never use FPM, even with the unit disabled. The alt-php81-php-fpm post-install script now creates the file with mode 0644 only when cPanel is absent - the only case where it is wanted, to silence php-fpm's include-glob warning - and deletes it when cPanel is present. Since no package owns the file any more, a new -php-fpm postrm removes it on remove and purge, so a stray *.conf cannot be left behind to re-trigger this bug if cPanel is installed later The default www pool is removed on cPanel hosts too, the same way as _.conf. cPanel writes its own per-domain pool under /opt/cpanel/alt-phpXY/root/etc/php-fpm.d when FPM is enabled through its API - verified serving a request with SAPI fpm-fcgi from that pool alone - so the shipped default pool was only letting the service run on hosts that never use FPM. It is still shipped and used off cPanel * ALTEAPLN-33: set rotate 7 in the FPM logrotate config. It carried no rotate directive, so logrotate applied its default of 0 and deleted the previous log on every rotation, leaving no error-log history at all. Found while adding this config to php53-55, which had none
CVEs fixed:
Updated packages:
  • alt-php81_8.1.34-30_amd64.deb
    sha:3a74f648e8c38f4f9208b22b9c71c7c930a10287
  • alt-php81-bcmath_8.1.34-30_amd64.deb
    sha:91e093ddedcc4a10fc762a63ad37aa15b2131ded
  • alt-php81-cli_8.1.34-30_amd64.deb
    sha:5e38ad859c4c2799dde9b0a14649a3f8ccedf125
  • alt-php81-common_8.1.34-30_amd64.deb
    sha:bcd8674c65bac7b42925706d0ad097c7b4e8def9
  • alt-php81-dba_8.1.34-30_amd64.deb
    sha:0c5d57d7b29bc92eff442907c9e1cf062a3473c2
  • alt-php81-dev_8.1.34-30_amd64.deb
    sha:6761039aa71037e06bdb622f24de7ae1cabd9929
  • alt-php81-enchant_8.1.34-30_amd64.deb
    sha:ff9e948a697eea52f529f391575feb40f003ad83
  • alt-php81-firebird_8.1.34-30_amd64.deb
    sha:b14d7d100d1a948e6d68b32220d9ca780eab80f6
  • alt-php81-gd_8.1.34-30_amd64.deb
    sha:df3e2ba963a4fc7dd9c37b7a1b0bf6a6c828a74f
  • alt-php81-imap_8.1.34-30_amd64.deb
    sha:e481561c0c76b1e586fade3a79edac0aac73a8f3
  • alt-php81-intl_8.1.34-30_amd64.deb
    sha:8618c67bb3f9f0b07d75a44b7f29d1e4127c4034
  • alt-php81-ldap_8.1.34-30_amd64.deb
    sha:02dee249f0e772ce54cbd068f7fa2895112a394c
  • alt-php81-mbstring_8.1.34-30_amd64.deb
    sha:e2f2990c104e95303b740a75365a3b11d0270d83
  • alt-php81-mysqlnd_8.1.34-30_amd64.deb
    sha:858f241579e2a2df12456a8a3536825bd33c5691
  • alt-php81-odbc_8.1.34-30_amd64.deb
    sha:5c1c4f973d7a3bee3258b063fe5a1eb8b33d29fd
  • alt-php81-opcache_8.1.34-30_amd64.deb
    sha:0af4c617076e5a21b53744d8ff801266c216a347
  • alt-php81-pdo_8.1.34-30_amd64.deb
    sha:feb43511c76228030f23b8a932d930da90b4bb50
  • alt-php81-pgsql_8.1.34-30_amd64.deb
    sha:86832e4a8e2be73b50f51aee5ecc0c23c31177db
  • alt-php81-php-fpm_8.1.34-30_amd64.deb
    sha:b6093924c4362e00f56ff3101613705f5d7a98f2
  • alt-php81-process_8.1.34-30_amd64.deb
    sha:c960b657d480772bcdecc0c4fe770ae7a8c2737b
  • alt-php81-pspell_8.1.34-30_amd64.deb
    sha:28b064ea99bdfe6b1a62aa0776f6b6fa288f1765
  • alt-php81-snmp_8.1.34-30_amd64.deb
    sha:bdc62a384f103bd1879bd786074d1e73e4d3ebf9
  • alt-php81-soap_8.1.34-30_amd64.deb
    sha:815d2d294fb0a3c026549694c8f46aed7de9488a
  • alt-php81-sodium_8.1.34-30_amd64.deb
    sha:120e65f57feacfe091493fb804979eb579f1e878
  • alt-php81-tidy_8.1.34-30_amd64.deb
    sha:b51a4f1b859fe2947fcdb2b96aed67145abc4a00
  • alt-php81-xml_8.1.34-30_amd64.deb
    sha:2e3bf3878730a0a5ea157613276f34f2f88c8fab
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.