[CLSA-2026:1789784451] Fix CVE(s): CVE-2022-31627
Type:
security
Severity:
Critical
Release date:
2026-09-19 02:21:09 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:3787105e91a0925e347951fc8762f8e7cfa97917
  • alt-php81-bcmath_8.1.34-30_amd64.deb
    sha:8ed5d51428d6a0083b1657ebbd404919cb560e3b
  • alt-php81-cli_8.1.34-30_amd64.deb
    sha:c51228e80ac0ea24e4c4bfa2b519463e4ee0e67e
  • alt-php81-common_8.1.34-30_amd64.deb
    sha:b6a0696755e0009968c337b9d5f1af19a70e6d38
  • alt-php81-dba_8.1.34-30_amd64.deb
    sha:284543f1ebc0e42fd9d821941dede41746101ff9
  • alt-php81-dev_8.1.34-30_amd64.deb
    sha:105f39cc68d8791d9e46f90b563fa795f2e06525
  • alt-php81-enchant_8.1.34-30_amd64.deb
    sha:a2fc63b263a2a85d0f2aea74919dc7720c94cccf
  • alt-php81-firebird_8.1.34-30_amd64.deb
    sha:1e4d7fc4f6b602154a7156f35b5789af0a501908
  • alt-php81-gd_8.1.34-30_amd64.deb
    sha:e1ad24150feb96f44b9aab2007d178d6c836f242
  • alt-php81-imap_8.1.34-30_amd64.deb
    sha:d1e426a5e8a911176b5b654d059937605fda4577
  • alt-php81-intl_8.1.34-30_amd64.deb
    sha:dbb5c2b755f2bd1f690ab0a67432c68f9a251fad
  • alt-php81-ldap_8.1.34-30_amd64.deb
    sha:49c834ae53b8988b5d100ed68baa1d25227d4ea3
  • alt-php81-mbstring_8.1.34-30_amd64.deb
    sha:4206d38fbfbf0b08c4dafa63f66ebb7bb856cbc2
  • alt-php81-mysqlnd_8.1.34-30_amd64.deb
    sha:7320a296c341cd0ac7c830b62e37612320ba1dcc
  • alt-php81-odbc_8.1.34-30_amd64.deb
    sha:ec6aa9e4a408dc31785b856a933d10ba212f7b8e
  • alt-php81-opcache_8.1.34-30_amd64.deb
    sha:c0363a00ea1d5c50dc7de953ed81c1232bbe80bd
  • alt-php81-pdo_8.1.34-30_amd64.deb
    sha:36d7270e1ed41e44977de6bc236efb5449860647
  • alt-php81-pgsql_8.1.34-30_amd64.deb
    sha:05b824288a807582e295be2112f6d7eed59bddbe
  • alt-php81-php-fpm_8.1.34-30_amd64.deb
    sha:b010d17b51d625255ad769a463fdd3df4d32b0d0
  • alt-php81-process_8.1.34-30_amd64.deb
    sha:cc2486ea2692b4bda42831e2e6050a208e3e6140
  • alt-php81-pspell_8.1.34-30_amd64.deb
    sha:3f0dedc765985209f0979a1bb8c89e470c7d56f4
  • alt-php81-snmp_8.1.34-30_amd64.deb
    sha:278c19e523c493e0a6fe8a36daad142e05945231
  • alt-php81-soap_8.1.34-30_amd64.deb
    sha:c4539a7d57e6eb9f8e425649ef1a1e085dbfd6f4
  • alt-php81-sodium_8.1.34-30_amd64.deb
    sha:2d8dcebdf692168c10c946d16eb1dfcb927d9593
  • alt-php81-tidy_8.1.34-30_amd64.deb
    sha:093484ce08cf8bc6d3eeaf7d4251de2463b7a20f
  • alt-php81-xml_8.1.34-30_amd64.deb
    sha:8df47b36ed0970a809cdb852caeaf8a7cd6c8ce3
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.