nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them
nginx2root is five memory-corruption bugs in nginx (HTTP/2 flow-control integer overflow, plus use-after-frees in HTTP/2 and HTTP/3 upstream handling, the resolver with subrequests, and the mail proxy), paired with an unpatched Linux SCTP use-after-free that escalates a worker compromise to root, even from inside Docker. The most dangerous, CVE-2026-123007, needs only HTTP/2 enabled, affects every release since 1.9.5, and arises because WINDOW_UPDATE enforces the 2^31−1 cap while stream-cancel cleanup returns credit to the connection window unchecked. Origins reachable only through Cloudflare's HTTP proxy are shielded from the HTTP/2 and HTTP/3 bugs because client frames terminate at the edge, but the resolver, mail proxy, Spectrum and directly reachable origins are not. Patch to nginx 1.30.7/1.31.9 and restart, or disable http2/http3, use fixed upstreams, restrict mail listeners and block the SCTP module.
Related posts
- Docker patches Java4Shell and the NGINX HTTP/2 with Docker Hardened Images
Docker mediumAdeptJava4Shell (CVE-2026-114938) is a HotSpot memory-corruption bug in the AVX-512 VBMI Base64 decoding intrinsic that writes up to 62 bytes past a heap buffer, enabling heap disclosure and pre-auth RCE in apps like Keycloak and Jenkins on Java 17.0.6+ running on affected x86-64 CPUs. Exposure requires a vulnerable Java version, an AVX-512 VBMI host, and attacker-controlled Base64 input. The guidance covers checking CPU flags and runtime versions in shell-less images, tracking which vendor builds are fixed, and applying -XX:-UseBASE64Intrinsics as a stopgap. That flag must be set via JAVA_TOOL_OPTIONS or JDK_JAVA_OPTIONS, not JAVA_OPTS, with care around FIPS images, Java 8 and child JVMs, then verified on the running process; NGINX HTTP/2 fixes ship in 1.30.7 and 1.31.9.
- Incident Report: October 16th, 2025
Railway easyNoviceA traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization. New proxies could not initialize, failed health checks and were pulled by load balancers, causing 2-3 minutes of intermittent HTTP/TCP failures (404s, 522s) across all regions while private networking stayed unaffected. Recovery came as caching absorbed the load. Fixes include higher memory limits, tiered memory alerts and overload safeguards, with a memory-efficient rewrite and a multi-region architecture planned to isolate failures per region.
- How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)
Cloudflare mediumAdeptruby2shell (CVE-2026-132825) is a heap buffer overflow in Ruby's string case conversion: in 14 legacy single-byte encodings, uppercasing the German ß writes two bytes (SS) but reserves room for one, so 21 sharp s characters overflow by a byte, with proofs of concept reaching remote code execution. Default Rails and classic Sinatra apps are exposed before authentication because Rack's MethodOverride middleware upcases the `_method` parameter, which an attacker can send in a legacy charset via a multipart POST. Cloudflare added Block-by-default managed rules for this CVE and the related integer overflow GHSA-87fm-7w84-j2px on all plans, and suggests attack-score custom rules as extra defense. It stresses that the WAF cannot see direct-to-origin, internal or non-HTTP paths, so upgrading to Ruby 3.3.14, 3.4.13 or 4.0.10 and restarting all processes is the real fix.
- php2shell: patching PHP is easy, finding it is the hard part
Sourcegraph mediumAdept
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two unauthenticated RCE memory-safety bugs (CVE-2026-109618/109619, dubbed php2shell) in the request lifecycle, reachable on mod_php via a crafted multipart POST before application code runs. PHP 8.1 and older get no fix. The hard part is inventorying every PHP runtime across Dockerfiles, OS package installs, Helm charts, CI workflows and Composer pins, and concrete regex searches are given for each. Remediation order: patch internet-facing mod_php first, restart workers, rotate credentials the web user can read, preserve forensics, rebuild images, and isolate EOL hosts. The rest is a pitch for Sourcegraph Deep Search and Agentic Batch Changes to automate the inventory and version bumps.
- How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)
Cloudflare mediumAdeptJava4Shell (CVE-2026-114938, CVSS 9.2) is a memory-corruption bug in OpenJDK's AVX-512 Base64 decoder intrinsic. Malformed padding at the tail produces a negative length that becomes a 64-byte write, overflowing the output array: 64 'A's plus '=' write 62 bytes past a 50-byte buffer, and the overflow happens before Java rejects the input. Calif chained it into heap leaks and RCE against Keycloak, Jira, Jenkins and others, but only on OpenJDK 17.0.6+ running on x86-64 CPUs with AVX-512 VBMI. Cloudflare shipped managed WAF rules in Log mode plus attack-score guidance, and says patching or the -XX:-UseBASE64Intrinsics / -XX:UseAVX=2 flags are the real fix because non-HTTP, outbound TLS and internal paths bypass any WAF.