<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Danila Vershinin</title>
    <description>The latest articles on DEV Community by Danila Vershinin (@dvershinin).</description>
    <link>https://dev.to/dvershinin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F397155%2F0f139455-f763-423c-abad-e534661546a1.jpg</url>
      <title>DEV Community: Danila Vershinin</title>
      <link>https://dev.to/dvershinin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dvershinin"/>
    <language>en</language>
    <item>
      <title>NFS2ROOT on CentOS 7: the stock kernel is affected and gets no fix</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Fri, 27 Nov 2026 09:01:54 +0000</pubDate>
      <link>https://dev.to/getpagespeed/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix-1cej</link>
      <guid>https://dev.to/getpagespeed/nfs2root-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix-1cej</guid>
      <description>&lt;p&gt;NFS2ROOT (CVE-2026-99362) is a pre-authentication heap overflow in the Linux kernel's NFS server. A client that can reach TCP 2049 shrinks its NFSv4.1 session reply cache to zero bytes, pads a &lt;code&gt;SEQUENCE&lt;/code&gt; request, and nfsd copies the whole reply into the empty slot buffer. No account or export access is needed. The kernel.org CNA rates it CVSS 9.8, Red Hat rates it Critical.&lt;/p&gt;

&lt;p&gt;On CentOS 7 it reaches every NFS server running the defaults:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stock 3.10:&lt;/strong&gt; affected, per Red Hat, and the CentOS 7 source carries the same unbounded copy. &lt;code&gt;nfsd&lt;/code&gt; serves &lt;code&gt;+4.1 +4.2&lt;/code&gt; out of the box, and having no exports does not help: the overflow happens during session setup. CentOS 7 gets no kernel updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ELRepo &lt;code&gt;kernel-lt&lt;/code&gt; 5.4.278 and &lt;code&gt;kernel-ml&lt;/code&gt; 6.9.7:&lt;/strong&gt; inside the affected range (3.16 and later), and both lines ended without a fix.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CentOS 8:&lt;/strong&gt; RHEL 8 got the fix on 2026-11-26 (&lt;code&gt;4.18.0-553.190.1.el8_10&lt;/code&gt;), CentOS 8 did not. AlmaLinux 8, Rocky 8 and Oracle Linux 8 already ship that kernel, so converting in place is the free way out.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Disclosure: I maintain this package. GetPageSpeed's &lt;code&gt;kernel-lt&lt;/code&gt; has carried the fix since 6.18.62-1, published on 2026-11-07, twelve days before the CVE went public. It uses the same package name as ELRepo, installs beside your current kernel, and is free for any use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum -y install yum-utils
yum-config-manager --enable getpagespeed-extras-corecare
yum -y install kernel-lt
grub2-set-default 0
grubby --default-kernel
reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Already on our 6.18 kernel but older than 6.18.62? &lt;code&gt;yum -y update 'kernel-lt*'&lt;/code&gt;, then check &lt;code&gt;grubby --default-kernel&lt;/code&gt; before you reboot: builds before 6.18.62-2 did not move the GRUB default on update. &lt;code&gt;uname -r&lt;/code&gt; after the reboot is the check that counts, not &lt;code&gt;rpm -q&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The exposure checks, Red Hat's stopgap (stop &lt;code&gt;nfs-server&lt;/code&gt; or firewall 2049) and the rollback are in the &lt;a href="https://www.getpagespeed.com/server-setup/security/nfs2root-cve-2026-99362-centos-7" rel="noopener noreferrer"&gt;full write-up&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>security</category>
      <category>centos</category>
      <category>devops</category>
    </item>
    <item>
      <title>PHP's November 2026 release fixed seven critical bugs. PHP 8.1 and older got none of them</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Wed, 25 Nov 2026 12:11:17 +0000</pubDate>
      <link>https://dev.to/getpagespeed/phps-november-2026-release-fixed-seven-critical-bugs-php-81-and-older-got-none-of-them-1cnm</link>
      <guid>https://dev.to/getpagespeed/phps-november-2026-release-fixed-seven-critical-bugs-php-81-and-older-got-none-of-them-1cnm</guid>
      <description>&lt;p&gt;On November 19, 2026 PHP shipped 8.2.36, 8.3.37, 8.4.28 and 8.5.13. The release fixes seven critical bugs (CVSS v4.0 9.2) and four rated high. Nothing was released for 8.1, 8.0 or 7.x, and the code behind the worst of them is the same in every branch back to 5.3.&lt;/p&gt;

&lt;h2&gt;
  
  
  The two that matter most on old PHP
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;CVE-2026-129496, timezone cache use-after-free.&lt;/strong&gt; When PHP logs to a file, it timestamps each line in the configured timezone. A diagnostic during module startup (an invalid &lt;code&gt;date.timezone&lt;/code&gt;, a deprecated session setting) caches that timezone in memory that is freed when startup ends. A fresh FPM or mod_php worker then touches the freed cache on the first request that triggers an early warning, such as &lt;code&gt;max_input_vars&lt;/code&gt;, and that memory can hold the attacker's request data. The PHP team demonstrated code execution through both PHP-FPM and mod_php.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CVE-2026-129289, PHP-FPM request smuggling.&lt;/strong&gt; If an application opened &lt;code&gt;php://input&lt;/code&gt; and did not read it to the end, PHP skipped discarding the rest of the body. On a kept-alive FastCGI connection those bytes were parsed as a new FastCGI request, bypassing the web server's routing. No authentication needed.&lt;/p&gt;

&lt;p&gt;The rest: phpAfterShell (CVE-2026-126714, partially overwritten session files), a session serializer mismatch (CVE-2026-115560), an FPM epoll use-after-free that reaches the root-owned master (CVE-2026-129291), &lt;code&gt;HTTPS://&lt;/code&gt; in mixed case silently going plaintext, a PHAR signature downgrade, a CGI &lt;code&gt;PATH_INFO&lt;/code&gt; out-of-bounds write, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you cannot upgrade today
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Fix every warning PHP prints at startup, and send PHP errors to syslog instead of a file.&lt;/li&gt;
&lt;li&gt;Restart the PHP master process, not just reload: a running master keeps the bad timezone state.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;session.upload_progress.enabled = 0&lt;/code&gt; in &lt;code&gt;php.ini&lt;/code&gt; closes the easiest phpAfterShell route.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These narrow two of the bugs. The rest need a patched build.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking what you run
&lt;/h2&gt;

&lt;p&gt;On a distro with backports, &lt;code&gt;php -v&lt;/code&gt; tells you nothing: the upstream version does not change when a fix is patched in. Read the package changelog instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rpm -q --changelog php-common &lt;span class="o"&gt;|&lt;/span&gt; grep CVE-2026-129496    &lt;span class="c"&gt;# RPM&lt;/span&gt;
zcat /usr/share/doc/php7.4-common/changelog.Debian.gz &lt;span class="o"&gt;|&lt;/span&gt; grep CVE-2026-129496   &lt;span class="c"&gt;# DEB&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No match means no fix, whatever the version string says.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the fixes exist for old PHP
&lt;/h2&gt;

&lt;p&gt;Disclosure: I maintain the GetPageSpeed packages. We backported the batch to every EOL line we ship: CentOS 7 (PHP 5.4 to 8.5), CentOS 6 (5.3, 7.0, 7.1), Amazon Linux 2 (7.2, 7.4), Remi's php56/php70/php71 collections on EL8 and EL9, Ubuntu 18.04 and 20.04, and Debian 10, plus current PHP 8.0, 8.3 and 8.4 builds for Ubuntu 24.04. They install in place over the packages you already have. Installing is free; commercial production use needs a subscription.&lt;/p&gt;

&lt;p&gt;Full tables, install commands per platform and the one deliberate difference from upstream (session upload progress on 8.1 and older): &lt;a href="https://www.getpagespeed.com/server-setup/php/php-security-release-november-2026" rel="noopener noreferrer"&gt;https://www.getpagespeed.com/server-setup/php/php-security-release-november-2026&lt;/a&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>linux</category>
      <category>devops</category>
    </item>
    <item>
      <title>phpAfterShell on CentOS 7: the fix for PHP 5.4 to 8.5</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Sat, 21 Nov 2026 11:45:15 +0000</pubDate>
      <link>https://dev.to/getpagespeed/phpaftershell-on-centos-7-the-fix-for-php-54-to-85-1jnn</link>
      <guid>https://dev.to/getpagespeed/phpaftershell-on-centos-7-the-fix-for-php-54-to-85-1jnn</guid>
      <description>&lt;p&gt;On 2026-11-19 the PHP project disclosed CVE-2026-126714, named "phpAfterShell" by the security firm depthfirst. PHP's default &lt;code&gt;files&lt;/code&gt; session handler wrote session data non-atomically. An interrupted write can leave attacker-supplied bytes in the session file, and PHP deserializes them on the next &lt;code&gt;session_start()&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The fix is in PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 only. PHP 8.1 and older got no upstream release. CentOS 7 never gets those versions from its usual repositories, so this post is about getting the fix there.&lt;/p&gt;

&lt;p&gt;I maintain these packages at GetPageSpeed. They are free to install; running them for a business needs a subscription. They are drop-in compatible with Remi packages: same package names and configuration files, so a normal upgrade swaps them in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix it
&lt;/h2&gt;

&lt;p&gt;For base-name packages (&lt;code&gt;php-common&lt;/code&gt;, &lt;code&gt;php-fpm&lt;/code&gt;), enable the channel for your PHP version only for the transaction. This example is PHP 7.4:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum --enablerepo=getpagespeed-extras-php74 upgrade &lt;span class="s1"&gt;'php-*'&lt;/span&gt;
systemctl restart php-fpm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;php74&lt;/code&gt; with your version, &lt;code&gt;php54&lt;/code&gt; to &lt;code&gt;php85&lt;/code&gt;. The restart matters: running workers keep the old code in memory until they restart.&lt;/p&gt;

&lt;p&gt;Check that the fix landed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rpm -q --changelog php-common &lt;span class="o"&gt;|&lt;/span&gt; grep CVE-2026-126714
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One line of output means you have the fix. No output means you do not. Do not rely on &lt;code&gt;php -v&lt;/code&gt;: a backported fix keeps the old version number.&lt;/p&gt;

&lt;p&gt;Software collections (&lt;code&gt;php74-php-*&lt;/code&gt;) and the stock CentOS 7 PHP 5.4 have their own commands, listed in the full guide linked at the bottom.&lt;/p&gt;

&lt;h2&gt;
  
  
  A PHP2Shell patch is not enough
&lt;/h2&gt;

&lt;p&gt;If you patched PHP2Shell (CVE-2026-109618 and CVE-2026-109619) in October, you are not done. phpAfterShell is a separate flaw that the October fix did not address, and it is a different fix. A server can be fully patched for one and open to the other.&lt;/p&gt;

&lt;p&gt;The GetPageSpeed checker reads pasted &lt;code&gt;rpm&lt;/code&gt;, &lt;code&gt;dpkg&lt;/code&gt;, &lt;code&gt;apk&lt;/code&gt; or &lt;code&gt;php -v&lt;/code&gt; output, knows distro backports, and tells a PHP2Shell-only build from one that has both fixes: &lt;a href="https://www.getpagespeed.com/phpaftershell" rel="noopener noreferrer"&gt;https://www.getpagespeed.com/phpaftershell&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  If you cannot upgrade today
&lt;/h2&gt;

&lt;p&gt;Set this in &lt;code&gt;php.ini&lt;/code&gt; or the FPM pool configuration, then restart PHP:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;session.upload_progress.enabled&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It closes only the easiest route. Calling &lt;code&gt;ini_set()&lt;/code&gt; from the application is too late, because the setting is read before your code runs.&lt;/p&gt;

&lt;p&gt;Sessions stored in Redis or a database are not affected by the file-write defect. Moving them is a bigger change than the upgrade, but it removes the whole class for your application.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is known
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;No exploitation had been reported as of 2026-11-21.&lt;/li&gt;
&lt;li&gt;The PHP project says a usable gadget chain in the application is needed. depthfirst reports a chain that needs none. Plan for the worse case.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The commercial part
&lt;/h2&gt;

&lt;p&gt;The packages are free to install. Personal, development and evaluation use is free. Running them for a business needs a subscription.&lt;/p&gt;

&lt;p&gt;Besides CentOS 7, the fix is published for CentOS 6, Amazon Linux 2, the EL8 and EL9 php56, php70 and php71 collections, Ubuntu 18.04 and 20.04, and Debian 10, covering PHP 5.3 to 8.5.&lt;/p&gt;

&lt;p&gt;Full guide, with the collection commands and a table of the first fixed build per PHP version: &lt;a href="https://www.getpagespeed.com/server-setup/php/phpaftershell-on-centos-7" rel="noopener noreferrer"&gt;https://www.getpagespeed.com/server-setup/php/phpaftershell-on-centos-7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Release overview: &lt;a href="https://www.getpagespeed.com/server-setup/php/php-security-release-november-2026" rel="noopener noreferrer"&gt;https://www.getpagespeed.com/server-setup/php/php-security-release-november-2026&lt;/a&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>linux</category>
      <category>centos</category>
    </item>
    <item>
      <title>NGINX2Root: why nginx -v can't tell you if you're patched</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Thu, 19 Nov 2026 08:44:36 +0000</pubDate>
      <link>https://dev.to/getpagespeed/nginx2root-why-nginx-v-cant-tell-you-if-youre-patched-n18</link>
      <guid>https://dev.to/getpagespeed/nginx2root-why-nginx-v-cant-tell-you-if-youre-patched-n18</guid>
      <description>&lt;p&gt;On 2026-11-18 five NGINX CVEs went public under the name nginx2root. Two hit HTTP/2 (CVE-2026-123007, CVE-2026-123633). One hits HTTP/3 with an upstream (CVE-2026-121810). One needs a resolver, a variable in &lt;code&gt;proxy_pass&lt;/code&gt; and subrequests such as &lt;code&gt;mirror&lt;/code&gt; (CVE-2026-123634). The last one is the mail proxy with &lt;code&gt;auth_http&lt;/code&gt; (CVE-2026-113425). Upstream fixed them only in 1.30.7 (stable) and 1.31.9 (mainline). Older branches get no upstream release.&lt;/p&gt;

&lt;p&gt;That last sentence is where most people go wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your distro fixes it without changing the version
&lt;/h2&gt;

&lt;p&gt;Distributions don't jump to 1.30.7. They backport the patches into the version they already ship. After the fix, &lt;code&gt;nginx -v&lt;/code&gt; still prints 1.18.0, 1.22.1 or 1.24.0, exactly as before. The only thing that changes is the package release:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dpkg -l nginx      &lt;span class="c"&gt;# Debian / Ubuntu&lt;/span&gt;
rpm -q nginx       &lt;span class="c"&gt;# RHEL family, Amazon Linux&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Ubuntu 24.04 the fixed package is &lt;code&gt;1.24.0-2ubuntu7.20&lt;/code&gt;. On AlmaLinux 9 it's &lt;code&gt;1.20.1-32.el9_9.1.alma.4&lt;/code&gt;, on AlmaLinux 10 &lt;code&gt;1.26.3-16.el10_3.1.alma.3&lt;/code&gt;. &lt;code&gt;nginx -v&lt;/code&gt; on those boxes still says 1.24.0, 1.20.1 and 1.26.3. A version-string scanner flags them as vulnerable, and a human comparing against "1.30.7" concludes the same.&lt;/p&gt;

&lt;p&gt;It also works the other way. AlmaLinux's first builds on the day fixed only the two HTTP/2 CVEs. So "the package was updated today" doesn't mean "all five are fixed". You need to know which CVEs a specific package release covers.&lt;/p&gt;

&lt;p&gt;Where things stood on 2026-11-19:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04, 24.04, 26.04: fixed that morning in USN-9159-1 (16.04-20.04 for Ubuntu Pro only)&lt;/li&gt;
&lt;li&gt;Debian 12 and 13: vulnerable, no DSA&lt;/li&gt;
&lt;li&gt;RHEL 8/9/10: affected, no erratum; Rocky follows RHEL&lt;/li&gt;
&lt;li&gt;AlmaLinux 9/10 and the nginx:1.24 / nginx:1.26 streams: backports shipped&lt;/li&gt;
&lt;li&gt;Amazon Linux 2 (nginx1 extra) and 2023: fixed at 1.30.7&lt;/li&gt;
&lt;li&gt;Alpine 3.22-3.24: fixed (1.28.3-r8 backport, 1.30.7-r0)&lt;/li&gt;
&lt;li&gt;CentOS 7: nothing. EPEL is frozen at nginx 1.20.1-10.el7, and the nginx.org CentOS 7 repo stopped at 1.26.1&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A reload doesn't load the new binary
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;nginx -s reload&lt;/code&gt; and &lt;code&gt;systemctl reload nginx&lt;/code&gt; re-read the config. The running master keeps executing the old binary. After any package update, do a full restart. Then confirm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;readlink /proc/&lt;span class="nv"&gt;$(&lt;/span&gt;cat /run/nginx.pid&lt;span class="o"&gt;)&lt;/span&gt;/exe
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the output ends in &lt;code&gt;(deleted)&lt;/code&gt;, the process is still running the binary the package manager just replaced. You're not patched yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning off HTTP/2 is a partial measure
&lt;/h2&gt;

&lt;p&gt;Removing &lt;code&gt;http2&lt;/code&gt; from your &lt;code&gt;listen&lt;/code&gt; lines (or setting &lt;code&gt;http2 off&lt;/code&gt;) blocks the two HTTP/2 CVEs. It does nothing for the other three. Check your &lt;code&gt;nginx -T&lt;/code&gt; output for HTTP/3, for a &lt;code&gt;resolver&lt;/code&gt; combined with a variable in &lt;code&gt;proxy_pass&lt;/code&gt;, and for the mail module with &lt;code&gt;auth_http&lt;/code&gt;. If none of those appear, disabling HTTP/2 is a reasonable stopgap until a package lands. If any do, it isn't enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Close the root step too
&lt;/h2&gt;

&lt;p&gt;The "root" in nginx2root comes from a Linux kernel SCTP bug that turns worker-level code execution into root. That bug has no CVE and no fix yet. If the host doesn't use SCTP, block the module:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;'install sctp /bin/false'&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; sudo tee /etc/modprobe.d/disable-sctp.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This doesn't fix the NGINX CVEs, but it removes the escalation path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking it without reading changelogs
&lt;/h2&gt;

&lt;p&gt;I maintain the GetPageSpeed package repository, and we built a free browser-based checker for this: &lt;a href="https://www.getpagespeed.com/nginx2root" rel="noopener noreferrer"&gt;https://www.getpagespeed.com/nginx2root&lt;/a&gt;. Paste the output of &lt;code&gt;nginx -v&lt;/code&gt;, &lt;code&gt;rpm -q nginx&lt;/code&gt; or &lt;code&gt;dpkg -l nginx&lt;/code&gt; and it accounts for the distro backports. Paste &lt;code&gt;nginx -T&lt;/code&gt; and it maps your config to the CVEs that are actually reachable.&lt;/p&gt;

</description>
      <category>nginx</category>
      <category>security</category>
      <category>linux</category>
      <category>devops</category>
    </item>
    <item>
      <title>CVE-2026-80668 on CentOS 7: the stock kernel is affected and gets no fix</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Sat, 07 Nov 2026 16:32:18 +0000</pubDate>
      <link>https://dev.to/dvershinin/cve-2026-80668-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix-11fm</link>
      <guid>https://dev.to/dvershinin/cve-2026-80668-on-centos-7-the-stock-kernel-is-affected-and-gets-no-fix-11fm</guid>
      <description>&lt;p&gt;CVE-2026-80668 is a use-after-free in Linux netfilter connection tracking: an expectation created by a protocol helper (FTP, SIP, H.323) can outlive its master connection. The kernel.org CNA rates it CVSS 9.8, remote and unauthenticated. Red Hat rates it Moderate.&lt;/p&gt;

&lt;p&gt;On CentOS 7 it reaches the kernel most servers still run:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stock 3.10:&lt;/strong&gt; affected, per Red Hat, and CentOS 7 gets no kernel updates. Automatic helper assignment is still on (&lt;code&gt;net.netfilter.nf_conntrack_helper = 1&lt;/code&gt;). In a test VM, enabling firewalld's &lt;code&gt;ftp&lt;/code&gt; service and sending one &lt;code&gt;PASV&lt;/code&gt; from an unauthenticated client created the object this bug frees too early.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ELRepo &lt;code&gt;kernel-lt&lt;/code&gt; 5.4.278 and &lt;code&gt;kernel-ml&lt;/code&gt; 6.9.7:&lt;/strong&gt; outside this CVE's affected range, but both carry CVE-2026-99270, a remote TCP use-after-free, and get no more builds.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Disclosure: I maintain this package. GetPageSpeed's &lt;code&gt;kernel-lt&lt;/code&gt; 6.18.62 uses the same package name, installs beside your current kernel, and is free for any use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;yum-utils
yum-config-manager &lt;span class="nt"&gt;--enable&lt;/span&gt; getpagespeed-extras-corecare
yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;kernel-lt
grub2-set-default 0
grubby &lt;span class="nt"&gt;--default-kernel&lt;/span&gt;
reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Already on our 6.18 kernel? &lt;code&gt;yum -y update 'kernel-lt*'&lt;/code&gt; is enough: 6.18.62-2 makes the new kernel the GRUB default itself, which earlier packages did not.&lt;/p&gt;

&lt;p&gt;I ran both paths on CentOS 7 VMs against the live repository. The exposure checks, a stopgap for servers you cannot reboot yet, and the rollback are in the &lt;a href="https://www.getpagespeed.com/server-setup/security/cve-2026-80668-centos-7" rel="noopener noreferrer"&gt;full write-up&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>security</category>
      <category>centos</category>
      <category>devops</category>
    </item>
    <item>
      <title>Brotli CVE-2026-111497 on CentOS 7: ngx_brotli is fine, libbrotli is not</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Thu, 05 Nov 2026 05:16:52 +0000</pubDate>
      <link>https://dev.to/dvershinin/brotli-cve-2026-111497-on-centos-7-ngxbrotli-is-fine-libbrotli-is-not-3k05</link>
      <guid>https://dev.to/dvershinin/brotli-cve-2026-111497-on-centos-7-ngxbrotli-is-fine-libbrotli-is-not-3k05</guid>
      <description>&lt;p&gt;CVE-2026-111497, the Brotli bug that also goes by HTTP2Shell, Broccoli2Shell and Node2Shell, is an out-of-bounds write in the Brotli &lt;strong&gt;decoder&lt;/strong&gt; (&lt;code&gt;c/dec/decode.c&lt;/code&gt;). It affects Google Brotli 1.0.3 through 1.2.0, is fixed in 1.0.10, 1.1.1 and 1.2.1, and CISA lists it as exploited.&lt;/p&gt;

&lt;p&gt;Most of the coverage is about Node.js. If you run NGINX on an EL box, two questions matter: is the Brotli module affected, and where does your decoder come from?&lt;/p&gt;

&lt;h2&gt;
  
  
  ngx_brotli: not affected
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;ngx_brotli&lt;/code&gt; compresses responses and serves &lt;code&gt;.br&lt;/code&gt; files. It never decompresses, so it never runs the vulnerable code. F5 says the same about the NGINX Plus Brotli module (&lt;a href="https://my.f5.com/manage/s/article/K000163902" rel="noopener noreferrer"&gt;K000163902&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ldd&lt;/code&gt; on CentOS 7 confirms it: the filter module links only &lt;code&gt;libbrotlienc&lt;/code&gt; and &lt;code&gt;libbrotlicommon&lt;/code&gt;, and the static module links no Brotli library at all.&lt;/p&gt;

&lt;p&gt;The one NGINX module that does decode is &lt;code&gt;unbrotli&lt;/code&gt;, which decompresses &lt;code&gt;Content-Encoding: br&lt;/code&gt; responses from upstreams. A hostile or compromised backend feeds it attacker-controlled data, so it is exposed through the system library.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually decodes Brotli on your server
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rpm &lt;span class="nt"&gt;-q&lt;/span&gt; &lt;span class="nt"&gt;--whatrequires&lt;/span&gt; &lt;span class="s1"&gt;'libbrotlidec.so.1()(64bit)'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a CentOS 7 test box that printed &lt;code&gt;brotli&lt;/code&gt;, &lt;code&gt;openssl35-libs&lt;/code&gt;, &lt;code&gt;libcurl-latest&lt;/code&gt;, &lt;code&gt;curl-latest&lt;/code&gt; and &lt;code&gt;nginx-module-unbrotli&lt;/code&gt;. Note that &lt;code&gt;rpm -q --whatrequires libbrotli&lt;/code&gt; prints nothing useful: packages depend on the soname, not the package name.&lt;/p&gt;

&lt;p&gt;All of them link the system library, so one package update fixes all of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  CentOS 7: EPEL stopped at a vulnerable build
&lt;/h2&gt;

&lt;p&gt;RHEL, Rocky Linux and AlmaLinux 8 to 10 shipped fixed &lt;code&gt;brotli&lt;/code&gt;/&lt;code&gt;libbrotli&lt;/code&gt; within days. CentOS 7 got its Brotli from EPEL 7, which is archived. Its last build, &lt;code&gt;libbrotli-1.0.9-10.el7&lt;/code&gt;, sits inside the affected range and will never be updated. Amazon Linux 2 servers that took Brotli from EPEL are in the same spot.&lt;/p&gt;

&lt;p&gt;GetPageSpeed ships &lt;code&gt;libbrotli&lt;/code&gt; 1.2.1 for CentOS 7 and Amazon Linux 2, x86_64 and aarch64, with the same package split as EPEL, so it upgrades EPEL's build in place:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
yum &lt;span class="nt"&gt;-y&lt;/span&gt; update libbrotli brotli
rpm &lt;span class="nt"&gt;-q&lt;/span&gt; libbrotli          &lt;span class="c"&gt;# expect libbrotli-1.2.1-5.el7&lt;/span&gt;
systemctl restart nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Free to install; commercial production use requires a subscription. Disclosure: I maintain this package.&lt;/p&gt;

&lt;p&gt;Restart matters: a running process keeps the old library mapped. Find the stragglers with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-l&lt;/span&gt; &lt;span class="s1"&gt;'libbrotlidec.*(deleted)'&lt;/span&gt; /proc/[0-9]&lt;span class="k"&gt;*&lt;/span&gt;/maps 2&amp;gt;/dev/null
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Things the library update does not cover
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python bindings&lt;/strong&gt; compile Brotli into their own extension. Old &lt;code&gt;python-brotli&lt;/code&gt; and &lt;code&gt;python34-brotli&lt;/code&gt; 1.0.7 builds need replacing by &lt;code&gt;python2-brotli&lt;/code&gt; / &lt;code&gt;python36-brotli&lt;/code&gt; 1.2.1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundled copies&lt;/strong&gt;: Node.js, Firefox and anything else that vendors Brotli need their own update.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Block &lt;code&gt;Content-Encoding: br&lt;/code&gt;"&lt;/strong&gt; only helps where the server decompresses request bodies. It does nothing for unbrotli, curl or OpenSSL, which receive Brotli from the other side of the connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full write-up, with the RHEL/Alma/Rocky and Debian/Ubuntu fixed versions and how each command was tested in clean containers, is on &lt;a href="https://www.getpagespeed.com/server-setup/security/brotli-cve-2026-111497" rel="noopener noreferrer"&gt;GetPageSpeed&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>security</category>
      <category>linux</category>
      <category>nginx</category>
      <category>centos</category>
    </item>
    <item>
      <title>CVE-2026-98432 on CentOS 7: the stock kernel is fine, ELRepo kernels are not</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Sun, 01 Nov 2026 19:36:27 +0000</pubDate>
      <link>https://dev.to/dvershinin/cve-2026-98432-on-centos-7-the-stock-kernel-is-fine-elrepo-kernels-are-not-1615</link>
      <guid>https://dev.to/dvershinin/cve-2026-98432-on-centos-7-the-stock-kernel-is-fine-elrepo-kernels-are-not-1615</guid>
      <description>&lt;p&gt;CVE-2026-98432 is a remote use-after-free in Linux IPv4 TCP connection setup, rated CVSS 9.8. Anthropic showed an exploit, written by Claude after initial prompting, that gets root on servers with a multipath TCP listener: 48 minutes to leak a kernel pointer, five more to reach a shell.&lt;/p&gt;

&lt;p&gt;On CentOS 7 the answer depends on which kernel you boot.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stock 3.10:&lt;/strong&gt; not affected, per Red Hat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ELRepo &lt;code&gt;kernel-ml&lt;/code&gt; 6.9.7:&lt;/strong&gt; the bug is present, and MPTCP is on by default. Go 1.24 and later open MPTCP listeners by default, and &lt;code&gt;ss -lnt&lt;/code&gt; shows them as ordinary TCP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ELRepo &lt;code&gt;kernel-lt&lt;/code&gt; 5.4.278:&lt;/strong&gt; the bug is present. There is no MPTCP, so the demonstrated chain does not apply, but the bug sits in the regular TCP path. Amazon patched its own 5.4 kernel.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those two ELRepo versions are the final EL7 builds, from June 2024, so &lt;code&gt;yum update&lt;/code&gt; has nothing to offer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Disclosure: I maintain this package. GetPageSpeed's &lt;code&gt;kernel-lt&lt;/code&gt; 6.18.60 uses the same package name, installs beside your current kernel, and is free for any use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;yum-utils
yum-config-manager &lt;span class="nt"&gt;--enable&lt;/span&gt; getpagespeed-extras-corecare
yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;kernel-lt
grub2-set-default 0
grubby &lt;span class="nt"&gt;--default-kernel&lt;/span&gt;
reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Do not skip &lt;code&gt;grub2-set-default 0&lt;/code&gt;. On a server pinned to an ELRepo kernel, the new kernel installs but the old one stays the default.&lt;/p&gt;

&lt;p&gt;I ran this on CentOS 7 VMs starting from both ELRepo kernels. The stopgaps for servers you cannot reboot yet, the rollback and the test results are in the &lt;a href="https://www.getpagespeed.com/server-setup/security/cve-2026-98432-centos-7" rel="noopener noreferrer"&gt;full write-up&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>security</category>
      <category>centos</category>
      <category>devops</category>
    </item>
    <item>
      <title>Eleven PHP versions, two package shapes, one CentOS 7: shipping the PHP2Shell fix everywhere</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Fri, 23 Oct 2026 20:02:13 +0000</pubDate>
      <link>https://dev.to/getpagespeed/eleven-php-versions-two-package-shapes-one-centos-7-shipping-the-php2shell-fix-everywhere-4dm1</link>
      <guid>https://dev.to/getpagespeed/eleven-php-versions-two-package-shapes-one-centos-7-shipping-the-php2shell-fix-everywhere-4dm1</guid>
      <description>&lt;p&gt;The day after PHP2Shell (CVE-2026-109618 and CVE-2026-109619) went public, we shipped patched PHP 5.6, 7.0, 7.3 and 8.0 for CentOS 7. I wrote up &lt;a href="https://dev.to/getpagespeed/backporting-the-php2shell-fix-to-php-56-and-70-on-centos-7-4b17"&gt;how those first backports were ported and proven&lt;/a&gt;. This is the follow-up: getting from "the versions we had time for" to every PHP a CentOS 7 box can run, 5.6 through 8.4, in both of Remi's package shapes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real problem was the matrix, not the patch
&lt;/h2&gt;

&lt;p&gt;Once the fix was ported to 5.6 and 7.0, the hard engineering was done. What was left was combinatorics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;11 PHP versions (5.6, 7.0 to 7.4, 8.0 to 8.4)&lt;/li&gt;
&lt;li&gt;2 package shapes per version: Remi's base-name &lt;code&gt;php-*&lt;/code&gt; (replaces system PHP, from &lt;code&gt;remi-phpNN&lt;/code&gt;) and the &lt;code&gt;phpNN-php-*&lt;/code&gt; software collection (side by side, from &lt;code&gt;remi-safe&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;a different starting point per version: a frozen EL7 build, a maintained EL8+ source, or plain upstream&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Doing that as 11 separate packaging repos meant 11 copies of the same build glue drifting apart. So the per-version repos were folded into one matrix repo: a &lt;code&gt;matrix.yml&lt;/code&gt; declares each version's source, collection name, channel and twin mode, and an &lt;code&gt;assemble.sh&lt;/code&gt; renders each CI unit's build directory from it. The SCL twin of a version is generated from the base spec, not committed by hand. Adding 7.1 and 7.2 became a &lt;code&gt;matrix.yml&lt;/code&gt; row plus that version's patches.&lt;/p&gt;

&lt;p&gt;Two versions (5.6 and 8.0) keep two committed specs, because Remi's base and SCL specs for them differ by hundreds of hunks (the base builds ZTS, the collection does not). Merging them would either drop ZTS from the base shape or produce an unmaintainable spec. Two small deltas over Remi beat one big one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the packages live
&lt;/h2&gt;

&lt;p&gt;The channel layout ended up mirroring Remi's own, which keeps the install story uniform:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Base-name&lt;/strong&gt; &lt;code&gt;php-*&lt;/code&gt; for version NN lives in an opt-in &lt;code&gt;getpagespeed-extras-phpNN&lt;/code&gt; channel, enabled per transaction: &lt;code&gt;yum --enablerepo=getpagespeed-extras-php74 upgrade 'php-*'&lt;/code&gt;. It has to be opt-in, because a base-name &lt;code&gt;php&lt;/code&gt; from another version would out-version whatever the host runs on an unscoped &lt;code&gt;yum update&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Collections&lt;/strong&gt; (&lt;code&gt;php56-php-*&lt;/code&gt; to &lt;code&gt;php84-php-*&lt;/code&gt;) live in the always-enabled main repository, like &lt;code&gt;remi-safe&lt;/code&gt;. Their names are version-prefixed, so they can never collide with anything.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PHP 8.4 was the odd one out: Remi never built it for EL7, so there was no collection to be compatible with. It became the first collection under a GetPageSpeed prefix, &lt;code&gt;/opt/getpagespeed/php84&lt;/code&gt; instead of &lt;code&gt;/opt/remi/php84&lt;/code&gt;. That is why every example uses &lt;code&gt;scl enable php84 -- php -v&lt;/code&gt; instead of a hardcoded path: &lt;code&gt;scl&lt;/code&gt; resolves the prefix, so the commands look the same for every version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Runtime libraries: no Remi repository required
&lt;/h2&gt;

&lt;p&gt;The Remi EL7 builds link libraries only Remi ever shipped (gd3php, oniguruma5php, libicu69/73, the &lt;code&gt;phpNN-runtime&lt;/code&gt; metapackages). Leaving those on Remi's frozen mirror would make every fresh install depend on it. They are rebuilt from Remi's own SRPMs with identical names, SONAMEs and file lists, one release higher, so a Remi host upgrades in place and a fresh host needs only the GetPageSpeed release package.&lt;/p&gt;

&lt;p&gt;PHP 8.4 goes further and links maintained libraries instead: OpenSSL 3.5 LTS (namespaced, never replacing the system 1.0.2), ICU 74, libzip 1.11, libpq 17 and libxml2 2.13.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing that it serves pages, not just that it builds
&lt;/h2&gt;

&lt;p&gt;Package-level tests (phpt suite, &lt;code&gt;php -m&lt;/code&gt; parity, the PHP2Shell probes before and after, &lt;code&gt;yum downgrade&lt;/code&gt; back to Remi) all run on the CLI. None of them prove a channel can actually serve a request through Apache.&lt;/p&gt;

&lt;p&gt;So there is a separate runtime suite. For every channel it starts a clean CentOS 7 container and runs four scenarios:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;fresh&lt;/code&gt;: install from the repository on an empty host&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;upgrade&lt;/code&gt;: start from a Remi host with PECL extensions and ionCube loaded, run the documented upgrade command, fail if any extension is lost&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scl-fresh&lt;/code&gt; and &lt;code&gt;scl-upgrade&lt;/code&gt;: the same for the collection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each scenario serves a probe page through mod_php &lt;strong&gt;and&lt;/strong&gt; through PHP-FPM behind &lt;code&gt;proxy_fcgi&lt;/code&gt;, and asserts the SAPI, the version, the build provider, sessions, gd, intl, mbstring and opcache, that the CLI and web SAPIs load the same extensions, and that the logs are clean. It runs on every change and nightly against the published repository, and a red job there is treated as a customer-visible break. On October 24 it ran 45 of 45 green.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
&lt;span class="c"&gt;# base-name, replaces system PHP:&lt;/span&gt;
yum &lt;span class="nt"&gt;--enablerepo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;getpagespeed-extras-php74 upgrade &lt;span class="s1"&gt;'php-*'&lt;/span&gt;
&lt;span class="c"&gt;# or the collection, side by side:&lt;/span&gt;
yum upgrade &lt;span class="s1"&gt;'php74-php*'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same two commands work for every version from 5.6 to 8.3, and for 8.4 once its stack or collection is installed. Version-by-version details, the full fix lists and the rollback notes are in the &lt;a href="https://www.getpagespeed.com/server-setup/php/php2shell-on-centos-7" rel="noopener noreferrer"&gt;CentOS 7 PHP2Shell guide&lt;/a&gt;. If you are on Ubuntu 20.04 instead, the same problem and a free fix are covered in &lt;a href="https://www.getpagespeed.com/server-setup/php/php2shell-on-ubuntu-debian" rel="noopener noreferrer"&gt;PHP2Shell on Ubuntu 20.04&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The packages are free to install. If your CentOS 7 servers run a business, &lt;a href="https://www.getpagespeed.com/repo-subscribe#ultra-annual" rel="noopener noreferrer"&gt;GetPageSpeed Ultra&lt;/a&gt; is what funds the next round of these backports.&lt;/p&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>linux</category>
      <category>centos</category>
    </item>
    <item>
      <title>PHP2Shell: why php -v can't tell you if you're patched</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Fri, 23 Oct 2026 08:50:48 +0000</pubDate>
      <link>https://dev.to/dvershinin/php2shell-why-php-v-cant-tell-you-if-youre-patched-3gc3</link>
      <guid>https://dev.to/dvershinin/php2shell-why-php-v-cant-tell-you-if-youre-patched-3gc3</guid>
      <description>&lt;p&gt;PHP2Shell is two critical PHP bugs disclosed on October 21, 2026: &lt;strong&gt;CVE-2026-109618&lt;/strong&gt; (remote code execution via out-of-memory corruption) and &lt;strong&gt;CVE-2026-109619&lt;/strong&gt; (remote code execution via stale global state). Both are CVSS 4.0 9.2 and need no authentication. Attacks are already happening.&lt;/p&gt;

&lt;p&gt;Upstream fixed only PHP &lt;strong&gt;8.5.12, 8.4.27, 8.3.36 and 8.2.35&lt;/strong&gt;. Everything else depends on your vendor.&lt;/p&gt;

&lt;h2&gt;
  
  
  The version-number trap
&lt;/h2&gt;

&lt;p&gt;Most people check with &lt;code&gt;php -v&lt;/code&gt;. On a patched Ubuntu 24.04 that still prints &lt;code&gt;PHP 8.3.6&lt;/code&gt;, because Ubuntu backported the fix into its own package (&lt;code&gt;8.3.6-0ubuntu0.24.04.13&lt;/code&gt;). Debian, RHEL, AlmaLinux, Rocky, Remi and others do the same in different ways. A version scanner that only reads the upstream number flags patched servers as vulnerable, and can wave through an unpatched EOL build.&lt;/p&gt;

&lt;p&gt;The package release is what matters:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rpm &lt;span class="nt"&gt;-qa&lt;/span&gt; &lt;span class="s1"&gt;'php*'&lt;/span&gt;        &lt;span class="c"&gt;# RHEL, CentOS, Alma, Rocky&lt;/span&gt;
dpkg &lt;span class="nt"&gt;-l&lt;/span&gt; &lt;span class="s1"&gt;'php*'&lt;/span&gt;        &lt;span class="c"&gt;# Debian, Ubuntu&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I built a &lt;a href="https://www.getpagespeed.com/php2shell#check" rel="noopener noreferrer"&gt;free PHP2Shell checker&lt;/a&gt; that reads that output in your browser and knows each vendor's fixed builds. Nothing you paste leaves the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  What NGINX can and can't do
&lt;/h2&gt;

&lt;p&gt;We tested edge mitigations on Rocky Linux 10 with NGINX 1.30 and PHP-FPM 8.3. Three results surprised me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stock NGINX already blunts one attack path.&lt;/strong&gt; CVE-2026-109618 can use a multipart body "without a usable declared content length". With the default &lt;code&gt;fastcgi_request_buffering on&lt;/code&gt;, NGINX de-chunks the body and hands PHP-FPM the real &lt;code&gt;CONTENT_LENGTH&lt;/code&gt;. Keep buffering on for PHP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;client_max_body_size&lt;/code&gt; is the best single lever.&lt;/strong&gt; NGINX rejects an oversized chunked body with &lt;code&gt;413&lt;/code&gt; before PHP parses a byte.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The popular &lt;code&gt;PHP_VALUE&lt;/code&gt; trick does not work.&lt;/strong&gt; &lt;code&gt;fastcgi_param PHP_VALUE "session.upload_progress.enabled=0"&lt;/code&gt; left upload progress enabled in our test. Set it in the FPM pool instead:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;php_admin_flag&lt;/span&gt;&lt;span class="nn"&gt;[session.upload_progress.enabled]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="na"&gt;off&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The advisory also warns that per-request INI values from the frontend which raise a warning are themselves a trigger for CVE-2026-109619, so audit what you send:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rn&lt;/span&gt; &lt;span class="s1"&gt;'PHP_VALUE\|PHP_ADMIN_VALUE'&lt;/span&gt; /etc/nginx /etc/php-fpm.d /etc/php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;None of this replaces updating PHP. Edge rules stop the known request shapes, and the advisories document paths that need no special upload at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Still on CentOS 7? Or frozen on Ubuntu 20.04?
&lt;/h2&gt;

&lt;p&gt;Remi stopped building for CentOS 7 in June 2024, and php.net shipped nothing for PHP 7.x there. GetPageSpeed's Everpatch publishes PHP2Shell-fixed builds of PHP 5.6 to 8.4 for CentOS 7, in both Remi package shapes, free to install. Personal, development and evaluation use is free. Commercial production requires &lt;a href="https://www.getpagespeed.com/repo-subscribe#ultra-annual" rel="noopener noreferrer"&gt;Ultra&lt;/a&gt; for up to 10 servers running your own organization's services, or &lt;a href="https://www.getpagespeed.com/fleet-subscribe" rel="noopener noreferrer"&gt;Fleet&lt;/a&gt; for client servers you administer or larger fleets, under the &lt;a href="https://www.getpagespeed.com/terms#free-channels" rel="noopener noreferrer"&gt;repository terms&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
yum &lt;span class="nt"&gt;--enablerepo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;getpagespeed-extras-php74 upgrade &lt;span class="s1"&gt;'php-*'&lt;/span&gt;
systemctl restart php-fpm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Everpatch also ships patched DEB packages for the suites the Surý PPA dropped: PHP 7.4 and 8.0-8.4 for Ubuntu 20.04, PHP 7.2 for Ubuntu 18.04 and PHP 7.3 for Debian 10, all on amd64. These keep the existing package names and configuration layout, so you can update your current PHP branch while planning the OS migration. The &lt;a href="https://www.getpagespeed.com/server-setup/php/php2shell-on-ubuntu-debian" rel="noopener noreferrer"&gt;Ubuntu and Debian guide&lt;/a&gt; lists package versions and upgrade commands. These are PHP packages; they do not provide complete Ubuntu OS maintenance.&lt;/p&gt;

&lt;p&gt;Then restart every PHP process, whatever your platform. Running workers keep the old code in memory.&lt;/p&gt;

&lt;p&gt;The full write-up has fixed versions per distro, the ModSecurity rules we tested, detection commands and a timeline: &lt;a href="https://www.getpagespeed.com/php2shell" rel="noopener noreferrer"&gt;PHP2Shell: check, fix and mitigate&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>nginx</category>
      <category>linux</category>
    </item>
    <item>
      <title>Backporting the PHP2Shell fix to PHP 5.6 and 7.0 on CentOS 7</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Thu, 22 Oct 2026 06:15:28 +0000</pubDate>
      <link>https://dev.to/getpagespeed/backporting-the-php2shell-fix-to-php-56-and-70-on-centos-7-4b17</link>
      <guid>https://dev.to/getpagespeed/backporting-the-php2shell-fix-to-php-56-and-70-on-centos-7-4b17</guid>
      <description>&lt;p&gt;&lt;strong&gt;Update, October 24:&lt;/strong&gt; the fix now covers every PHP from 5.6 to 8.4 on CentOS 7, in both Remi package shapes. How we got there: &lt;a href="https://dev.to/getpagespeed/eleven-php-versions-two-package-shapes-one-centos-7-shipping-the-php2shell-fix-everywhere-4dm1"&gt;Eleven PHP versions, two package shapes, one CentOS 7&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is a pair of unauthenticated RCEs in PHP, rated CVSS v4.0 9.2. The PHP project fixed 8.2 and newer, published source-only backports for 7.4, 8.0 and 8.1, and nothing for 7.3 and older. CentOS 7 boxes still running Remi's PHP 5.6 or 7.0 had no binary fix anywhere. Here is how we ported it and how we convinced ourselves the port is right.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the upstream fix actually does
&lt;/h2&gt;

&lt;p&gt;Both bugs share a root cause: PHP's out-of-memory handling is a &lt;code&gt;longjmp&lt;/code&gt; (&lt;code&gt;zend_bailout()&lt;/code&gt;). When that fires in the middle of request startup, say while &lt;code&gt;rfc1867.c&lt;/code&gt; is parsing a multipart body, request state is left half built. Cleanup then trusts it (CVE-2026-109618), or a freed pointer survives into the next request on the same worker (CVE-2026-109619).&lt;/p&gt;

&lt;p&gt;The security team's minimal backport for EOL branches (&lt;code&gt;php-src&lt;/code&gt; branch &lt;code&gt;PHP-7.4-CVE-2026-109618-109619&lt;/code&gt;, commit 712e60f9) does three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stop unwinding on allocator failure.&lt;/strong&gt; A new &lt;code&gt;zend_mm_safe_error_ex()&lt;/code&gt; prints the error and calls &lt;code&gt;_exit(1)&lt;/code&gt; instead of bailing out. Every overflow site in &lt;code&gt;zend_alloc&lt;/code&gt;, &lt;code&gt;zend_hash&lt;/code&gt;, the string-concat VM handlers and friends routes through it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reset request globals on shutdown.&lt;/strong&gt; NULL out freed request strings in &lt;code&gt;SAPI.c&lt;/code&gt;, clear &lt;code&gt;http_globals&lt;/code&gt;, reset user error and exception handlers, the handler stacks and the object store at the end of &lt;code&gt;shutdown_executor()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Close the known entry points.&lt;/strong&gt; Header whitelisting and de-duplication in &lt;code&gt;rfc1867.c&lt;/code&gt;, and the session upload-progress hook disabled outright.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Porting to 7.3 and 7.0
&lt;/h2&gt;

&lt;p&gt;7.3 is close enough to 7.4 that most hunks applied cleanly. The interesting differences:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;7.3 has no pre-free &lt;code&gt;!fast_shutdown&lt;/code&gt; block in &lt;code&gt;zend_execute_API.c&lt;/code&gt;, so the handler reset has to go where 7.4 runs it on the fast-shutdown path, before the object store is freed.&lt;/li&gt;
&lt;li&gt;7.3's in-place &lt;code&gt;CONCAT&lt;/code&gt; extend path had no overflow check at all. We added the upstream check, then regenerated &lt;code&gt;zend_vm_execute.h&lt;/code&gt; with &lt;code&gt;zend_vm_gen.php&lt;/code&gt; (first proving the generator is byte-identical on the unpatched tree). The result has 34 safe-exit sites, the same as upstream 7.4.&lt;/li&gt;
&lt;li&gt;Remi's base already carries the CVE-2023-0662 &lt;code&gt;max_multipart_body_parts&lt;/code&gt; patch, so those &lt;code&gt;rfc1867.c&lt;/code&gt; hunks were dropped instead of duplicated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;7.0 needed real adaptation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;7.0 has no &lt;code&gt;_zend_new_array_0()&lt;/code&gt;, so &lt;code&gt;array_init_singleton()&lt;/code&gt; became &lt;code&gt;array_init()&lt;/code&gt; plus &lt;code&gt;nTableSize = 1&lt;/code&gt;, the same table shape upstream creates.&lt;/li&gt;
&lt;li&gt;7.0 has no fast-shutdown branch and destroys the handler stacks inside a &lt;code&gt;zend_try&lt;/code&gt;. The reset runs once at the very end of &lt;code&gt;shutdown_executor()&lt;/code&gt;, after every destroy.&lt;/li&gt;
&lt;li&gt;7.0's &lt;code&gt;estrdup&lt;/code&gt; overflow sites passed an &lt;code&gt;int&lt;/code&gt; to &lt;code&gt;%zu&lt;/code&gt;; we used upstream's format.&lt;/li&gt;
&lt;li&gt;7.0 is C89, so the session hook is disabled with &lt;code&gt;|| 1&lt;/code&gt; rather than &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  PHP 5.6: start from a vendor port, then fix it
&lt;/h2&gt;

&lt;p&gt;For 5.6 we started from a commercial vendor's published 5.6 adaptation and audited it hunk by hunk against upstream 7.4 and our own 7.0 port. It was right about the allocator, &lt;code&gt;rfc1867.c&lt;/code&gt;, &lt;code&gt;SAPI.c&lt;/code&gt; and the session hook. It missed part of the shutdown reset: it cleared &lt;code&gt;error_handling&lt;/code&gt; and &lt;code&gt;exception&lt;/code&gt;, but not the user error and exception handlers, the three handler stacks, or the object store. In 5.6, &lt;code&gt;zend_ptr_stack_destroy()&lt;/code&gt; leaves &lt;code&gt;elements&lt;/code&gt; dangling, which is exactly the stale-state shape CVE-2026-109619 exploits. We added the missing resets.&lt;/p&gt;

&lt;p&gt;A public community patch set for 5.6 touches only the allocator, session and &lt;code&gt;rfc1867.c&lt;/code&gt;, and omits the shutdown resets entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Proving it
&lt;/h2&gt;

&lt;p&gt;Each build runs through the same harness in a pristine CentOS 7 container:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the exact Remi NEVRAs the host has today.&lt;/li&gt;
&lt;li&gt;Run both PHP2Shell probes and require them to reproduce. The out-of-memory probe exits 255 and the upload-progress hook runs.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;yum upgrade&lt;/code&gt; to our build. Require both probes to fail: the OOM probe exits 1 and the hook never runs.&lt;/li&gt;
&lt;li&gt;Run the full phpt suite against the baseline. The only accepted differences are nine tests whose behaviour changes by design (eight &lt;code&gt;rfc1867&lt;/code&gt; tests and &lt;code&gt;bug45392&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Diff &lt;code&gt;php -m&lt;/code&gt; (including PECL and ionCube), check configuration is preserved and PHP-FPM serves after an OOM request.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;yum downgrade&lt;/code&gt; back to Remi and confirm it works.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Builds that pass went to production the next day on PrestaShop 1.6 and Magento 1 servers with nothing more than a PHP-FPM restart.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trade-off
&lt;/h2&gt;

&lt;p&gt;With the fix, hitting &lt;code&gt;memory_limit&lt;/code&gt; kills the worker immediately: no shutdown functions, no flushed output. Upstream made the same call for its EOL backports. If your code relies on a shutdown handler to log memory exhaustion, it will go quiet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;The packages are free in the GetPageSpeed repository and replace Remi's in place:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yum &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
yum &lt;span class="nt"&gt;--enablerepo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;getpagespeed-extras-php70 upgrade &lt;span class="s1"&gt;'php-*'&lt;/span&gt;   &lt;span class="c"&gt;# or php56, php80&lt;/span&gt;
systemctl restart php-fpm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PHP 7.3 (Remi SCL), PHP 8.4.27, and the full per-version details are in the &lt;a href="https://www.getpagespeed.com/server-setup/php/php2shell-on-centos-7" rel="noopener noreferrer"&gt;PHP2Shell on CentOS 7 guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>linux</category>
      <category>centos</category>
    </item>
    <item>
      <title>Find Linux Packages Across Repositories with pkgdex</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Sun, 18 Oct 2026 17:44:27 +0000</pubDate>
      <link>https://dev.to/getpagespeed/find-linux-packages-across-repositories-with-pkgdex-3eok</link>
      <guid>https://dev.to/getpagespeed/find-linux-packages-across-repositories-with-pkgdex-3eok</guid>
      <description>&lt;p&gt;Installing a package is usually easy once you know its name and which repository provides it. Finding that combination can take longer, especially when you work across several Linux distributions.&lt;/p&gt;

&lt;p&gt;Does the package exist for your distribution release? Is there an ARM build? Which package contains a particular executable? Is the result from the distribution itself or a third-party publisher?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pkgdex.org/" rel="noopener noreferrer"&gt;pkgdex&lt;/a&gt; puts those questions into a searchable package index. I built pkgdex and run &lt;a href="https://www.getpagespeed.com/" rel="noopener noreferrer"&gt;GetPageSpeed&lt;/a&gt;, whose repositories are included alongside distribution repositories and other publishers. Here is a practical way to use it, starting with NGINX.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with a package name
&lt;/h2&gt;

&lt;p&gt;Open the &lt;a href="https://pkgdex.org/search/nginx" rel="noopener noreferrer"&gt;search results for nginx&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The results are grouped by distribution and release. Each row identifies the repository, architecture, package filename, and description. That makes it possible to see where a package comes from before opening its details.&lt;/p&gt;

&lt;p&gt;A name search can also return related packages. For example, the NGINX results include modules and configuration packages as well as the server itself. Read the package name and description rather than assuming every match installs the same thing.&lt;/p&gt;

&lt;p&gt;Start with the distribution release you actually run, then check the architecture. An &lt;code&gt;x86_64&lt;/code&gt; result and an &lt;code&gt;aarch64&lt;/code&gt; result are different builds. A familiar package name does not make a build for another distribution interchangeable with yours.&lt;/p&gt;

&lt;p&gt;If you prefer browsing first, the &lt;a href="https://pkgdex.org/" rel="noopener noreferrer"&gt;home page&lt;/a&gt; lists distributions and repositories. The wider index also includes BSD, macOS, and Flatpak sources, but this walkthrough stays with Linux packages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspect the package before installing
&lt;/h2&gt;

&lt;p&gt;Follow a package filename to its detail page. For a concrete example, this &lt;a href="https://pkgdex.org/opensuse/leap%2016.0/x86_64/oss/nginx-1.27.2-160000.2.2.rpm.html" rel="noopener noreferrer"&gt;NGINX package for openSUSE Leap 16.0&lt;/a&gt; shows its version, architecture, repository, license, dependencies, provided capabilities, and file list.&lt;/p&gt;

&lt;p&gt;The file list answers questions that a short package description cannot: where is the executable, which configuration paths are included, and does this build ship the module you need?&lt;/p&gt;

&lt;p&gt;The page also provides installation guidance and a download link. Treat it as information about that particular build. For an actual installation, use your distribution's package manager with the appropriate repository configured, so it can resolve dependencies and apply updates.&lt;/p&gt;

&lt;p&gt;Finding an older version in an index is useful for investigation. It does not mean that version is the best choice for a new server, or that it is the version your configured repositories will currently install.&lt;/p&gt;

&lt;h2&gt;
  
  
  Search by a file you recognize
&lt;/h2&gt;

&lt;p&gt;Sometimes you know the executable path but not the package name. Switch to the &lt;strong&gt;Files&lt;/strong&gt; search scope instead of guessing.&lt;/p&gt;

&lt;p&gt;Try &lt;a href="https://pkgdex.org/search/files/%2Fusr%2Fbin%2Fhtop" rel="noopener noreferrer"&gt;finding packages that contain /usr/bin/htop&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;That search returns packages whose indexed file metadata matches the path. You can then inspect the result for your distribution and architecture.&lt;/p&gt;

&lt;p&gt;Using the full path helps narrow the question. Searching for just &lt;code&gt;htop&lt;/code&gt; in file metadata can also match completion scripts or other filenames containing that text. Neither result tells you what is installed on your own machine; pkgdex searches repository metadata.&lt;/p&gt;

&lt;p&gt;The search tabs also expose &lt;strong&gt;Summary&lt;/strong&gt;, &lt;strong&gt;Provides&lt;/strong&gt;, and &lt;strong&gt;Requires&lt;/strong&gt; scopes. Those are useful when your starting point is a description or a dependency capability rather than a package name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limit discovery to one publisher
&lt;/h2&gt;

&lt;p&gt;If you already know which publisher you want, a global search adds unnecessary results.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://pkgdex.org/getpagespeed" rel="noopener noreferrer"&gt;GetPageSpeed publisher page&lt;/a&gt; groups our indexed repositories. For a specific example, open the &lt;a href="https://pkgdex.org/getpagespeed/search/nginx-module-brotli" rel="noopener noreferrer"&gt;GetPageSpeed search for nginx-module-brotli&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This keeps the search within GetPageSpeed while showing builds across distribution releases, architectures, and repository variants. It is a convenient starting point for checking whether we package a module for a particular target.&lt;/p&gt;

&lt;p&gt;Before installing an NGINX dynamic module, check that its build matches your NGINX packaging and version. A search match alone does not establish compatibility. Access and subscription terms belong to the source repository; being searchable in pkgdex does not change them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the results as JSON
&lt;/h2&gt;

&lt;p&gt;For a script or a non-commercial project, the public API offers the same kind of package discovery without scraping HTML:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;--fail&lt;/span&gt; &lt;span class="nt"&gt;--silent&lt;/span&gt; &lt;span class="nt"&gt;--show-error&lt;/span&gt; &lt;span class="nt"&gt;--max-time&lt;/span&gt; 20 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s1"&gt;'https://pkgdex.org/api/search/nginx'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response is a JSON array. Returned fields include &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;version&lt;/code&gt;, &lt;code&gt;arch&lt;/code&gt;, &lt;code&gt;repo_name&lt;/code&gt;, &lt;code&gt;distro&lt;/code&gt;, and &lt;code&gt;repo_version&lt;/code&gt;, plus an &lt;code&gt;id&lt;/code&gt; for looking up package details. Do not assume a single response is a complete inventory of every match.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://pkgdex.org/api-docs" rel="noopener noreferrer"&gt;API documentation&lt;/a&gt; describes scoped searches, package detail lookup, and MCP tools for assistants. It currently specifies free use for non-commercial projects, no authentication, and a maximum of 10 requests per second.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try your next package lookup
&lt;/h2&gt;

&lt;p&gt;Start with a package name, a missing file, or a publisher you already use. Narrow the result to your distribution release and architecture, inspect the package metadata, and then return to your package manager for installation.&lt;/p&gt;

&lt;p&gt;Try it at &lt;a href="https://pkgdex.org/" rel="noopener noreferrer"&gt;pkgdex.org&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>devops</category>
      <category>opensource</category>
      <category>tools</category>
    </item>
    <item>
      <title>How We Made NGINX Vary Cache Purges 1000x Faster</title>
      <dc:creator>Danila Vershinin</dc:creator>
      <pubDate>Sun, 18 Oct 2026 06:47:30 +0000</pubDate>
      <link>https://dev.to/getpagespeed/how-we-made-nginx-vary-cache-purges-1000x-faster-528l</link>
      <guid>https://dev.to/getpagespeed/how-we-made-nginx-vary-cache-purges-1000x-faster-528l</guid>
      <description>&lt;p&gt;If you purge NGINX cache entries selectively, there is a trap hiding behind one innocent response header: &lt;code&gt;Vary&lt;/code&gt;. The moment your upstream says &lt;code&gt;Vary: Accept-Encoding&lt;/code&gt; (or you enable &lt;a href="https://nginx.org/r/gzip_vary" rel="noopener noreferrer"&gt;&lt;code&gt;gzip_vary&lt;/code&gt;&lt;/a&gt;), NGINX stores one cache file per distinct request header value under the same cache key. An NGINX Vary cache purge therefore has to remove &lt;em&gt;all&lt;/em&gt; of those files, not just one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://nginx-extras.getpagespeed.com/modules/cache-purge/" rel="noopener noreferrer"&gt;ngx_cache_purge&lt;/a&gt; 2.6.2 fixed the correctness side of this. An exact purge now deletes every stored variant of the key, not just the variant matching the purge request's own headers. Release 2.7.0, out now, fixes the cost side. Here is the story, with benchmarks.&lt;/p&gt;

&lt;h2&gt;
  
  
  A purge, end to end
&lt;/h2&gt;

&lt;p&gt;A minimal setup with the module loaded. The cached location itself accepts &lt;code&gt;PURGE&lt;/code&gt; requests from localhost:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="k"&gt;proxy_cache_path&lt;/span&gt; &lt;span class="n"&gt;/var/cache/nginx/site&lt;/span&gt; &lt;span class="s"&gt;keys_zone=site:10m&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;server&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kn"&gt;listen&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="kn"&gt;location&lt;/span&gt; &lt;span class="n"&gt;/&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kn"&gt;proxy_pass&lt;/span&gt;        &lt;span class="s"&gt;http://backend&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kn"&gt;proxy_cache&lt;/span&gt;       &lt;span class="s"&gt;site&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kn"&gt;proxy_cache_key&lt;/span&gt;   &lt;span class="nv"&gt;$uri$is_args$args&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="kn"&gt;proxy_cache_valid&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt; &lt;span class="mi"&gt;10m&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;# same-location purging: PURGE method on the same URL&lt;/span&gt;
        &lt;span class="kn"&gt;proxy_cache_purge&lt;/span&gt; &lt;span class="s"&gt;PURGE&lt;/span&gt; &lt;span class="s"&gt;from&lt;/span&gt; &lt;span class="mf"&gt;127.0&lt;/span&gt;&lt;span class="s"&gt;.0.1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now two different clients request the same URL. The backend answers with &lt;code&gt;Vary: Accept-Encoding&lt;/code&gt;, so NGINX stores two cache files for the one key &lt;code&gt;/style.css&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'Accept-Encoding: gzip'&lt;/span&gt; http://example.com/style.css   &lt;span class="c"&gt;# variant 1&lt;/span&gt;
curl http://example.com/style.css                              &lt;span class="c"&gt;# variant 2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A purge is the same URL with the &lt;code&gt;PURGE&lt;/code&gt; method. One request removes the key and every variant, and the &lt;code&gt;Cache-Purge-Result&lt;/code&gt; header tells you exactly how many files went away:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; PURGE &lt;span class="nt"&gt;-i&lt;/span&gt; http://127.0.0.1/style.css
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt; &lt;span class="m"&gt;200&lt;/span&gt; &lt;span class="ne"&gt;OK&lt;/span&gt;
&lt;span class="na"&gt;Content-Type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;text/html&lt;/span&gt;
&lt;span class="na"&gt;Cache-Purge-Result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;exact; count=2&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;...&lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Successful purge&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&amp;lt;p&amp;gt;&lt;/span&gt;Key : /style.css&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;...&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;count=2&lt;/code&gt; is both variants. Before 2.6.2 the same request would have removed at most one file - whichever variant matched the purge request's own &lt;code&gt;Accept-Encoding&lt;/code&gt; - and typically answered &lt;code&gt;412 Precondition Failed&lt;/code&gt; while stale variants stayed servable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Vary variants are invisible to a purge
&lt;/h2&gt;

&lt;p&gt;NGINX names a variant's cache file by hashing the cache key together with the &lt;em&gt;requesting client's&lt;/em&gt; header values. The gzip client above produces one file name; the no-encoding client produces another. The purge request knows the cache key. It cannot know every &lt;code&gt;Accept-Encoding&lt;/code&gt; string your clients have ever sent, so it cannot compute the variant file names. NGINX keeps no on-disk index of variants either. (Our &lt;a href="https://www.getpagespeed.com/server-setup/nginx/nginx-proxy-cache-microcaching" rel="noopener noreferrer"&gt;proxy cache and microcaching guide&lt;/a&gt; covers how these cache files are laid out.)&lt;/p&gt;

&lt;p&gt;That leaves exactly one correct way to find the variants: walk the whole cache zone and check each file's embedded &lt;code&gt;KEY:&lt;/code&gt; line. This is what 2.6.2 does. It is the same cost class as a wildcard purge: O(every file in the zone) for a single exact purge.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much does the scan cost?
&lt;/h2&gt;

&lt;p&gt;We measured an NGINX Vary cache purge against zones of 10k, 100k and 1M small cache files. Setup: single worker, Linux ext4 in a container on Apple M2; the benchmark script (&lt;code&gt;bench/variant_scan_bench.sh&lt;/code&gt;) ships in the module source, so the numbers are reproducible. "Warm" means the page cache already holds the zone; "cold" is the first purge after the page cache was dropped:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Files in zone&lt;/th&gt;
&lt;th&gt;Cold purge&lt;/th&gt;
&lt;th&gt;Warm purge&lt;/th&gt;
&lt;th&gt;Non-Vary purge (control)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;10,000&lt;/td&gt;
&lt;td&gt;0.5 s&lt;/td&gt;
&lt;td&gt;0.03 s&lt;/td&gt;
&lt;td&gt;0.2 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;100,000&lt;/td&gt;
&lt;td&gt;4.5 s&lt;/td&gt;
&lt;td&gt;0.2 s&lt;/td&gt;
&lt;td&gt;0.2 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1,000,000&lt;/td&gt;
&lt;td&gt;227 s&lt;/td&gt;
&lt;td&gt;~1 s&lt;/td&gt;
&lt;td&gt;0.1 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each warm cell is the median of three trials that agreed within a few percent. The non-Vary control purge stayed at a fraction of a millisecond across every zone size and run. That control is the measurement noise floor, and the effects above sit two to six orders of magnitude over it. These are order-of-magnitude numbers from a laptop-hosted VM, not lab-grade latencies, but the shape is unambiguous.&lt;/p&gt;

&lt;p&gt;The scary part is not the number itself. It is that &lt;strong&gt;the NGINX worker is blocked for the whole scan&lt;/strong&gt;. A purge that takes 4.5 seconds means one worker serving nothing for 4.5 seconds. On a CDN-sized zone with a million files, a cold purge parks a worker for minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix: a variant index that never guesses
&lt;/h2&gt;

&lt;p&gt;Version 2.7.0 introduces a shared-memory &lt;strong&gt;variant index&lt;/strong&gt;: a map from each cache key to the variant hashes that were stored or served for it. When an exact purge finds the key in the index, it unlinks exactly those files. That is O(number of variants) instead of O(zone).&lt;/p&gt;

&lt;p&gt;The interesting part is how it stays correct. An index that &lt;em&gt;might&lt;/em&gt; be missing a variant is worse than no index. Trusting it would leave stale content servable after a "successful" purge, which is precisely the bug 2.6.2 eliminated. So the index follows one rule:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An index entry is created only at the moment an exact purge has just removed every file for the key. That is the one state in which "no variants exist" is provably true.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;From then on, a header filter records each variant NGINX stores or serves into that entry. Anything that casts doubt drops the entry: an NGINX restart, the entry being evicted under index memory pressure, or more than 64 variants on one key. The next purge then simply falls back to the full scan, which re-seeds the index on completion. Stale entries pointing at files the cache manager already evicted are skipped harmlessly. Correctness is never traded for speed; the worst case is always exactly the 2.6.2 behavior.&lt;/p&gt;

&lt;p&gt;In practice that means: the &lt;em&gt;first&lt;/em&gt; exact purge of a Vary'd key in an NGINX instance's lifetime scans. Every purge after that is indexed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which purges pay what
&lt;/h2&gt;

&lt;p&gt;Not every purge is affected, and the expensive case is narrower than it may sound:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Purge request&lt;/th&gt;
&lt;th&gt;Cached response&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;Typical latency&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PURGE /style.css&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;no &lt;code&gt;Vary&lt;/code&gt; header&lt;/td&gt;
&lt;td&gt;direct key lookup, one file unlinked&lt;/td&gt;
&lt;td&gt;sub-millisecond, any zone size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PURGE /style.css&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;has &lt;code&gt;Vary&lt;/code&gt;, first purge of this key&lt;/td&gt;
&lt;td&gt;full zone scan, index seeded&lt;/td&gt;
&lt;td&gt;seconds to minutes, grows with zone size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PURGE /style.css&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;has &lt;code&gt;Vary&lt;/code&gt;, repeat purge&lt;/td&gt;
&lt;td&gt;index lookup, variants unlinked directly&lt;/td&gt;
&lt;td&gt;milliseconds, any zone size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;PURGE /css/*&lt;/code&gt; (wildcard), &lt;code&gt;purge_all&lt;/code&gt;, cache tags&lt;/td&gt;
&lt;td&gt;any&lt;/td&gt;
&lt;td&gt;zone walk by design - candidates cannot be enumerated&lt;/td&gt;
&lt;td&gt;grows with zone size&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two practical notes. You can tell which path a purge took from the error log at &lt;code&gt;info&lt;/code&gt; level: the scan logs &lt;code&gt;exact purge removed N vary variant(s)&lt;/code&gt; and the indexed path appends &lt;code&gt;via variant index&lt;/code&gt;. And if a response should never have had variants in the first place, &lt;a href="https://nginx.org/r/proxy_ignore_headers" rel="noopener noreferrer"&gt;&lt;code&gt;proxy_ignore_headers Vary&lt;/code&gt;&lt;/a&gt; in the cached location avoids the whole topic - at the price of serving one representation to all clients.&lt;/p&gt;

&lt;h2&gt;
  
  
  The payoff
&lt;/h2&gt;

&lt;p&gt;Same benchmark, index enabled (the default):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Files in zone&lt;/th&gt;
&lt;th&gt;First purge (scan, seeds index)&lt;/th&gt;
&lt;th&gt;Repeat purge (indexed)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;100,000&lt;/td&gt;
&lt;td&gt;17.7 s (cold)&lt;/td&gt;
&lt;td&gt;0.2-0.4 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1,000,000&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;td&gt;1-5 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Repeat purges land in the &lt;strong&gt;0.2-2 ms&lt;/strong&gt; range regardless of zone size. At a million files that is roughly a 1000× improvement over the warm scan, and five orders of magnitude over the cold one. Purge results are identical either way: &lt;code&gt;Cache-Purge-Result: exact; count=N&lt;/code&gt; reports the same counts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuration
&lt;/h2&gt;

&lt;p&gt;Nothing to do. The index is on by default with an 8 MB shared memory zone, which tracks tens of thousands of purged keys. One &lt;code&gt;http&lt;/code&gt;-level directive controls it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="c1"&gt;# default; size it up for very large purge-heavy deployments&lt;/span&gt;
&lt;span class="k"&gt;cache_purge_variant_index&lt;/span&gt; &lt;span class="mi"&gt;8m&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;# or always use the full scan&lt;/span&gt;
&lt;span class="k"&gt;cache_purge_variant_index&lt;/span&gt; &lt;span class="no"&gt;off&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Non-Vary purges never scan and never touch the index. If your upstreams send no &lt;code&gt;Vary&lt;/code&gt; header, none of this affects you: purges were and remain sub-millisecond.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting it
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;ngx_cache_purge&lt;/code&gt; 2.7.0 is available from the &lt;a href="https://nginx-extras.getpagespeed.com/modules/cache-purge/" rel="noopener noreferrer"&gt;GetPageSpeed repositories&lt;/a&gt; for all supported RPM and DEB platforms:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# RHEL-likes&lt;/span&gt;
dnf &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;https://extras.getpagespeed.com/release-latest.rpm
dnf &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nb"&gt;install &lt;/span&gt;nginx-module-cache-purge

&lt;span class="c"&gt;# Debian/Ubuntu: see the repo setup instructions, then&lt;/span&gt;
apt &lt;span class="nb"&gt;install &lt;/span&gt;nginx-module-cache-purge
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then load the module and reload NGINX:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="k"&gt;load_module&lt;/span&gt; &lt;span class="nc"&gt;modules/ngx&lt;/span&gt;&lt;span class="s"&gt;_http_cache_purge_module.so&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The full changelog, directive reference and the correctness model live on the &lt;a href="https://nginx-extras.getpagespeed.com/modules/cache-purge/" rel="noopener noreferrer"&gt;cache-purge module page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you run WordPress behind NGINX, the module pairs well with our &lt;a href="https://www.getpagespeed.com/server-setup/nginx/supercharging-wordpress-with-nginx-cache-purge-say-goodbye-to-mounts-and-permissions-hassles" rel="noopener noreferrer"&gt;WordPress cache purge setup&lt;/a&gt;. And if you came here comparing purging options, &lt;a href="https://www.getpagespeed.com/server-setup/ngx_cache_purge-closing-the-gap-with-varnish" rel="noopener noreferrer"&gt;ngx_cache_purge vs Varnish&lt;/a&gt; covers the feature gap this module keeps closing.&lt;/p&gt;

</description>
      <category>nginx</category>
      <category>caching</category>
      <category>performance</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
