---
title: Tip: two stopgaps for this week's big patches: turn off HTTP/2 on exposed NGINX and the Base64 intrinsic on affected JVMs | ctxsec
url: https://ctxsec.com/items/tip-nginx-http2-and-java4shell-stopgaps-until-you-can-patch
description: "If you can't patch NGINX or the JDK today, both bugs have a config switch that removes the vulnerable path. Use them as a stopgap, then patch."
status: "guidance from nginx.org/CERT-EU and OpenJDK/Red Hat advisories (Nov 17-18, 2026)"
published: 2026-11-19
---

> If you can't patch NGINX or the JDK today, both bugs have a config switch that removes the vulnerable path. Use them as a stopgap, then patch.

[← Tips & Guides](/tips) · [markdown](/items/tip-nginx-http2-and-java4shell-stopgaps-until-you-can-patch.md)

guidance from nginx.org/CERT-EU and OpenJDK/Red Hat advisories (Nov 17-18, 2026)

2026-11-19 11:43 AM ET

### Tip: two stopgaps for this week's big patches: turn off HTTP/2 on exposed NGINX and the Base64 intrinsic on affected JVMs

- **NGINX:** remove `http2` from internet-facing `listen` lines or set `http2 off;`, run `nginx -t`, then restart (not reload). Expect clients to fall back to HTTP/1.1.
- **Java:** on x86-64 hosts with `avx512vbmi`, add `-XX:-UseBASE64Intrinsics` (e.g., via `JAVA_TOOL_OPTIONS`) and restart. Don't push `-XX:UseAVX=2` to ARM64 hosts; the JVM won't start.
- **Verify:** `curl -sI --http2 https://host/` should show HTTP/1.1, and `java -XX:+PrintFlagsFinal -version | grep UseBASE64Intrinsics` should show false.
- **Then patch:** NGINX 1.31.9/1.30.7; JDK 17.0.21.1/21.0.13.1/25.0.5.1/27.0.1.1. Remove the stopgaps afterwards.

Sources: [nginx.org security advisories (1.31.9 / 1.30.7)](https://nginx.org/en/security_advisories.html) · [CERT-EU Security Advisory 2026-022: Critical vulnerabilities in Nginx (Nov 2026)](https://www.cert.europa.eu/publications/security-advisories/2026-022/) · [Red Hat RHSB-2026-018: OpenJDK CVE-2026-114938 ('java4shell')](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018) · [CERT-EU Security Advisory 2026-021: High severity vulnerability in Java SE and OpenJDK](https://www.cert.europa.eu/publications/security-advisories/2026-021/)
