anshumg commented on code in PR #261:
URL: https://github.com/apache/solr-site/pull/261#discussion_r4630797804


##########
content/solr/solr_news/2026-11-19-java4shell-cve.md:
##########
@@ -0,0 +1,53 @@
+Title: Apache Solr and Java4Shell (CVE-2026-114938)
+category: solr/news
+save_as:
+
+*From the Apache Solr PMC*
+
+A critical OpenJDK RCE vulnerability, CVE-2026-114938 ("Java4Shell"), was 
disclosed on November 17, 2026. It is a vulnerability in the Java runtime 
(OpenJDK), **not in Apache Solr** - but Solr was publicly named as an 
application where exploitation was demonstrated, so users should act.
+
+**The fix is to update your JDK.** No Solr release addresses this, because the 
bug is not in Solr.
+
+### Does it affect my Solr?
+
+Your deployment is affected only if **ALL three** conditions are met:
+
+1. The JDK is OpenJDK 17.0.6 or later (Temurin, Corretto, Zulu, Red Hat, 
Oracle, etc.).
+2. The CPU is x86-64 with AVX-512 VBMI (Intel Ice Lake / Sapphire Rapids / 
Emerald Rapids / Granite Rapids; AMD Zen 4+). ARM/Apple Silicon is not 
affected. To check on Linux: `grep -o 'avx512vbmi' /proc/cpuinfo`
+3. A reachable path decodes attacker-controlled Base64.
+
+### What to do
+
+1. **Update your JDK** to a patched build (Oracle Nov 2026 CPU / OpenJDK 
2026-11-17 advisory). Patched builds end in `.1`:
+    * Java 17 → 17.0.21.1
+    * Java 21 → 21.0.13.1
+    * Java 25 → 25.0.5.1
+    * Java 27 → 27.0.1.1
+2. **Restart every Solr node** after patching — a running JVM stays vulnerable 
until restarted.
+3. **If you can't patch yet**, start the JVM with `-XX:-UseBASE64Intrinsics` 
or `-XX:UseAVX=2` (x86-64 only). Do **not** use 
`-XX:DisableIntrinsic=_base64_decodeBlock` alone — it can break JVM startup.
+
+### Official Solr container images
+
+If you run Solr using our [official container 
images](https://hub.docker.com/_/solr):
+
+* Make sure you're on a [supported tag](https://hub.docker.com/_/solr). If 
you're not, upgrade.
+* Supported images are rebuilt regularly with the latest JRE and Linux patches 
and published under the same tags.
+* **Patched images are not available yet.** The Solr images are built on 
Eclipse Temurin, and a rebuilt Solr image can only be published once patched 
Temurin base images are released. That may take anywhere from hours to days.
+* **Don't wait for the new image. Apply the JVM flag now.** Set 
`SOLR_OPTS="-XX:-UseBASE64Intrinsics"` on your current containers (e.g. `docker 
run -e SOLR_OPTS="-XX:-UseBASE64Intrinsics" …`) and recreate them. This 
protects you on the image you're already running.

Review Comment:
   We don't know the performance implications of adding this property so 
updating the JDK is the more ideal scenario.
   Also, this same point was in the section above as well `#3` in the `What to 
do` section.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to