Learn about Centmin Mod LEMP Stack today
Become a Member

Security Java4Shell CVE-2026-114938: Elasticsearch/OpenSearch on CentOS 7, AlmaLinux/Rocky Linux 8, 9, 10

Discussion in 'System Administration' started by eva2000, Nov 21, 2026 at 5:08 PM.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    60,588
    12,631
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,298
    Local Time:
    10:44 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    On 17 November 2026, OpenJDK and Oracle fixed CVE-2026-114938, nicknamed "Java4Shell". It's a memory-corruption bug in Java's Base64 decoder that can lead to remote code execution. Elastic has confirmed that Elasticsearch 7.17.3 and later are affected. An authenticated user with read access can get remote code execution, and an unauthenticated one can crash the node.

    Centmin Mod doesn't install Java, Elasticsearch or OpenSearch itself. But many XenForo forums run Elasticsearch next to Centmin Mod for XenForo Enhanced Search, often installed with the community guide at https://community.centminmod.com/threads/how-to-install-elasticsearch-7-x-for-xenforo.19272/. This post covers those servers on CentOS 7 and AlmaLinux/Rocky Linux 8, 9 and 10.

    In plain English: am I affected, and what do I do?

    Elasticsearch is the search engine that XenForo Enhanced Search uses to make forum search faster and smarter. It's a separate program on your server, written in Java, and it comes with its own copy of Java. That copy of Java has a bug: on some newer server CPUs, specially crafted data can let an attacker take over the Elasticsearch program. OpenSearch is a close cousin of Elasticsearch and is affected the same way.

    Am I affected? Three questions:

    1. Does your server run Elasticsearch or OpenSearch? Run rpm -q elasticsearch opensearch. If both say "is not installed" and you never set them up any other way (for example in Docker), this doesn't affect you and you can stop here.
    2. Is it a recent version? If you installed or updated it in the last few years (Elasticsearch 7.17.3 or newer), almost certainly yes. Step 2 has the details.
    3. Does your CPU have the feature the bug needs? Run the check in Step 1. If it doesn't print all four words, your CPU can't trigger the bug today.

    If all three answers are "yes", the bug can be used against your server, but only by someone who can send requests to Elasticsearch. Centmin Mod's firewall (CSF) doesn't open Elasticsearch's port to the internet, which already helps a lot.

    What do I do?

    1. Now (a couple of minutes): add one setting that switches off the buggy code, and restart Elasticsearch (Step 3). Do this even if your CPU check came back clean.
    2. Now: check that Elasticsearch can't be reached from the internet or by other sites on your server (Step 5).
    3. When you can: switch Elasticsearch to a fixed Java (Step 4), or update Elasticsearch once Elastic releases a fixed version (Step 6).

    All commands run as root over SSH. If you're not comfortable with that, ask whoever manages your server, or post in this thread with the output of the check commands.

    Short version for experienced admins

    • Your server can only be attacked when all three are true: Elasticsearch/OpenSearch runs on OpenJDK 17.0.6+ or 18+, the CPU supports AVX-512 VBMI, and an attacker can send requests to it.
    • Installing java-11-openjdk as the guide suggests does not protect you. Elasticsearch 7.x and newer use their own bundled Java under /usr/share/elasticsearch/jdk, which is an affected version from 7.17.3 onwards.
    • Do these now, whatever your CPU: add -XX:-UseBASE64Intrinsics to the JVM options and restart, and make sure ports 9200 and 9300 can't be reached from the internet.
    • Proper fix on AlmaLinux/Rocky Linux 8, 9 and 10: they already ship fixed OpenJDK 17, 21 and 25 packages, so point Elasticsearch at the distro Java 21.
    • Proper fix on CentOS 7: its repos have no fixed Java 17+ package, so use a fixed Eclipse Temurin 21 build, or move the server to EL9/EL10.
    • Elastic's own fixed releases (8.19.26, 9.4.10, 9.5.7, 9.6.0) aren't out yet, and no fixed 7.17.x release has been announced.

    Step 1: Check your CPU

    Code (Text):
    grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'


    The vulnerable code only runs on x86-64 CPUs with AVX-512 VBMI, for example Intel Xeon Ice Lake, Sapphire Rapids and newer, or AMD Zen 4 and newer. It needs all four words (avx512f, avx512bw, avx512vbmi and bmi2) in the output above. If you see all four, your CPU can trigger the bug.

    • If any of the four is missing, for example only bmi2 prints, or avx512vbmi is absent as on Skylake and Cascade Lake Xeons, Java never generates the vulnerable code on that CPU, so the server can't be exploited today.
    • Java checks the CPU once, when it starts. A VPS that's resized, powered off and on, or moved to newer hardware can come back with AVX-512 VBMI. Re-run the check after any of those, and apply the Step 3 setting anyway. It costs next to nothing.
    • Don't use the check from OpenSearch's blog, grep -m1 -ow avx512_vbmi /proc/cpuinfo. The Linux flag is called avx512vbmi, so that command prints nothing even on affected CPUs.
    • ARM servers aren't affected.

    Step 2: Find out which Java Elasticsearch/OpenSearch really uses

    Elasticsearch comes with its own copy of Java inside its install folder (the "bundled" Java) and uses it instead of any Java you installed separately. These commands show the installed versions, the bundled Java's version, and any setting that tells Elasticsearch to use a different Java:

    Code (Text):
    rpm -qa | grep -Ei 'elasticsearch|opensearch|openjdk'
    /usr/share/elasticsearch/jdk/bin/java -version 2>&1 | head -n1
    /usr/share/opensearch/jdk/bin/java -version 2>&1 | head -n1
    grep -E '^\s*(ES_JAVA_HOME|JAVA_HOME|OPENSEARCH_JAVA_HOME)=' /etc/sysconfig/elasticsearch /etc/sysconfig/opensearch 2>/dev/null


    And the Java the running server actually uses. Elasticsearch records its process number in a pidfile, which this reads (on 8.x and 9.x the process systemd reports is only a launcher); for OpenSearch, the process systemd reports is the server itself:

    Code (Text):
    pid=$(cat /run/elasticsearch/elasticsearch.pid 2>/dev/null)
    if [ -n "$pid" ] && [ -r "/proc/$pid/cmdline" ]; then readlink -f /proc/$pid/exe; else echo 'Elasticsearch is not running'; fi
    pid=$(systemctl show -p MainPID opensearch 2>/dev/null | cut -d= -f2)
    if [ "${pid:-0}" -gt 0 ]; then readlink -f /proc/$pid/exe; else echo 'OpenSearch is not running'; fi


    If the path is /usr/share/elasticsearch/jdk/bin/java (or /usr/share/opensearch/jdk/bin/java), it's the bundled Java. An ES_JAVA_HOME or OPENSEARCH_JAVA_HOME line in the sysconfig file switches to another Java; a JAVA_HOME line only counts on Elasticsearch 7.x and OpenSearch, as Elasticsearch 8.x and 9.x ignore it. XenForo Enhanced Search 2.3 needs Elasticsearch 7.2 or newer. Here's what each version bundles:

    • Elasticsearch 7.0 to 7.17.2, 8.0 to 8.1.2: Bundled Java 17.0.2 or older; Status not affected
    • Elasticsearch 7.17.3 to 7.17.13: Bundled Java 18 to 20; Status affected, and these Java versions will never get a fix
    • Elasticsearch 7.17.14 to 7.17.21: Bundled Java 21 (7.17.19: 22); Status affected
    • Elasticsearch 7.17.22 to 7.17.29 (latest 7.x): Bundled Java 22; Status affected, and Java 22 will never get a fix
    • Elasticsearch 8.1.3 to 8.19.25, 9.x: Bundled Java 18 to 27; Status affected, fix due in 8.19.26, 9.4.10, 9.5.7, 9.6.0
    • OpenSearch 1.0 to 2.5: Bundled Java 15, 11 or 17.0.5 and older; Status not affected
    • OpenSearch 2.6 to 3.10.0: Bundled Java 17.0.6 to 25; Status affected, fix planned in 2.19.8 and 3.10.1

    Java 8 and Java 11 aren't affected, so the java-1.8.0-openjdk and java-11-openjdk packages are fine for this CVE. They just usually aren't what Elasticsearch runs on.

    Step 3: Turn off the vulnerable code now

    This is the workaround Elastic and OpenSearch recommend: a one-line Java setting that switches off the buggy fast routine, so Java uses its normal Base64 code instead. The 17-: at the start means it only applies on Java 17 and newer. That matters because Java 8 doesn't know the setting and wouldn't start with it. Most forums only need the Elasticsearch commands; skip the OpenSearch and Docker parts unless you use them.

    Elasticsearch 7.7 and newer (RPM install):

    Code (Text):
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    chgrp elasticsearch /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    chmod 0640 /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    systemctl restart elasticsearch


    OpenSearch (RPM install):

    Code (Text):
    mkdir -p /etc/opensearch/jvm.options.d
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /etc/opensearch/jvm.options.d/cve-2026-114938.options
    chgrp opensearch /etc/opensearch/jvm.options.d/cve-2026-114938.options
    chmod 0640 /etc/opensearch/jvm.options.d/cve-2026-114938.options
    systemctl restart opensearch


    On Elasticsearch older than 7.7, add the same 17-:-XX:-UseBASE64Intrinsics line to the end of /etc/elasticsearch/jvm.options instead.

    Docker (advanced, skip if you don't use Docker): the files above don't reach a container, and a container can't read a 0640 file owned by a host group. For Elasticsearch, create a world-readable copy and mount it where Elastic documents:

    Code (Text):
    mkdir -p /opt/es-docker
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /opt/es-docker/cve-2026-114938.options
    chmod 0644 /opt/es-docker/cve-2026-114938.options


    Add -v /opt/es-docker/cve-2026-114938.options:/usr/share/elasticsearch/config/jvm.options.d/cve-2026-114938.options:ro to the container's settings and recreate the container. For OpenSearch, add the flag to the container's OPENSEARCH_JAVA_OPTS together with your heap settings, for example OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g -XX:-UseBASE64Intrinsics.

    Check that it's active once the restart has finished (RPM installs):

    Code (Text):
    pid=$(cat /run/elasticsearch/elasticsearch.pid 2>/dev/null)
    if [ -n "$pid" ] && [ -r "/proc/$pid/cmdline" ]; then tr '\0' '\n' < /proc/$pid/cmdline | grep -Fx -- '-XX:-UseBASE64Intrinsics' || echo 'workaround NOT active'; else echo 'Elasticsearch is not running'; fi
    pid=$(systemctl show -p MainPID opensearch 2>/dev/null | cut -d= -f2)
    if [ "${pid:-0}" -gt 0 ]; then tr '\0' '\n' < /proc/$pid/cmdline | grep -Fx -- '-XX:-UseBASE64Intrinsics' || echo 'workaround NOT active'; else echo 'OpenSearch is not running'; fi


    If it prints -XX:-UseBASE64Intrinsics, the workaround is active and you're protected while you work on the real fix. If it prints workaround NOT active, re-check the file and restart.

    For Docker, or to check through the API, look for the flag under jvm.input_arguments:

    Code (Text):
    curl -s 'http://localhost:9200/_nodes/jvm?filter_path=**.version,**.input_arguments&pretty' | grep -E '"version"|BASE64'


    Notes:

    • On Elasticsearch 8.x with security on, the curl above needs https:// plus --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic (or -k -u elastic for a Docker container).
    • Never set -XX:+UseBASE64Intrinsics (with a plus), as that turns the vulnerable code back on.
    • -XX:UseAVX=2 also works, but it turns off every AVX-512 speed-up in Java, not just Base64. The Base64 setting is the narrower choice.
    • Expect little or no slowdown for XenForo search. Only Base64 encoding and decoding inside Elasticsearch falls back to the normal code path.

    Step 4: Get a fixed Java

    This is the real fix: make Elasticsearch use a copy of Java that has the bug fixed. The Step 3 setting keeps you protected until then. First check that your search server supports the Java you're switching to:

    • Elastic's JVM support matrix lists Java 21 for Elasticsearch 7.17.14 and newer, for 8.x from 8.15 on, and for 9.x. Elastic itself bundled Java 21 with most releases from 7.17.14 to 7.17.21. Check the matrix (linked under Sources) for your exact version, and on an older release update Elasticsearch first.
    • OpenSearch supports Java 21 from 2.12. For OpenSearch 2.6 to 2.11, use Java 17 (EL8 and EL9 only) or update OpenSearch first.
    • This step doesn't apply to Docker. Elastic says bringing your own Java doesn't work with its Docker images, so wait for fixed images.

    AlmaLinux and Rocky Linux 8, 9 and 10

    Both distros published fixed OpenJDK packages on 19 November 2026. These versions, or newer, include the fix:

    • java-17-openjdk: EL8 17.0.21.1.2-2.1.el8; EL9 17.0.21.1.2-2.2.el9; EL10 not shipped
    • java-21-openjdk: EL8 21.0.13.1.2-1.1.el8; EL9 21.0.13.1.2-1.2.el9; EL10 21.0.13.1.2-1.2.el10
    • java-25-openjdk: EL8 not shipped; EL9 25.0.5.1.2-1.1.el9; EL10 25.0.5.1.2-1.1.el10

    The Rocky Linux 8 builds carry an el8_10 release suffix, and AlmaLinux 9 and 10 add .alma.1.

    Installing a fixed package doesn't change anything by itself, because Elasticsearch keeps using its bundled Java. First install or update the distro Java 21:

    Code (Text):
    dnf -y install java-21-openjdk-headless &&
    dnf -y update 'java-*-openjdk*' &&
    /usr/lib/jvm/jre-21-openjdk/bin/java -version


    The version must say 21.0.13.1 or newer; if it doesn't, fix that before going on. Then point Elasticsearch at it. These commands write the Java location into /etc/sysconfig/elasticsearch, the settings file the service reads when it starts, and restart Elasticsearch. Each command only runs if the one before it worked:

    Code (Text):
    sed -i '/^ES_JAVA_HOME=/d' /etc/sysconfig/elasticsearch &&
    printf '\nES_JAVA_HOME=%s\n' /usr/lib/jvm/jre-21-openjdk >> /etc/sysconfig/elasticsearch &&
    systemctl restart elasticsearch


    • Re-run the running-server check from Step 2: it should now show a path under /usr/lib/jvm/.
    • For OpenSearch 2.12 and newer, do the same with OPENSEARCH_JAVA_HOME in /etc/sysconfig/opensearch and restart opensearch. For OpenSearch 2.6 to 2.11 on EL8 or EL9, use java-17-openjdk-headless and /usr/lib/jvm/jre-17-openjdk instead (its version must say 17.0.21.1 or newer).
    • /usr/lib/jvm/jre-21-openjdk is an alternatives link that points at the newest installed Java 21 (unless you've set that alternative by hand), so the setting survives later dnf update runs.
    • On Rocky Linux 9 and 10, use a plain dnf update as above. As of 21 November, Rocky's update metadata has no security advisory for these packages, so dnf update --security skips them.
    • EPEL's java-latest-openjdk has no fix. Don't point Elasticsearch at it.
    • After each Java update, restart Elasticsearch: a running Java keeps using the old code until it restarts.

    CentOS 7

    CentOS 7 is end of life. Its own repos never had Java 17 or newer, and the TuxCare extended support repo we checked only carries Java 8 and 11, with no CentOS 7 fix listed by TuxCare for this CVE. Elasticsearch 7.17.29's bundled Java 22 will never be fixed, Elastic hasn't announced a fixed 7.17.x release, and Elasticsearch 7.17 itself reached end of support on 15 January 2026. Elastic's support matrix still lists CentOS 7 for Elasticsearch 8.x (not 9.x), and OpenSearch stopped testing on it in 2024. So once Elasticsearch 8.19.26 ships, its fixed bundled Java should be another way out on CentOS 7, if Elastic still lists CentOS 7 for it.

    Your options:

    Option 1: keep the Step 3 setting in place. That's the main protection on CentOS 7.

    Option 2 (advanced): run Elasticsearch 7.17.14 or newer on a fixed Eclipse Temurin 21 build (a free Java build from the Eclipse Foundation) instead of the bundled Java. Adoptium says its builds should work with glibc 2.17 or newer, which CentOS 7 has, though CentOS 7 isn't on its officially supported list. Each command only runs if the one before it worked, and the java -version line proves Temurin runs before Elasticsearch is switched over:

    Code (Text):
    cd /opt &&
    curl -fLO 'https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.13.1%2B2/OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz' &&
    curl -fLO 'https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.13.1%2B2/OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz.sha256.txt' &&
    sha256sum -c OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz.sha256.txt &&
    tar xzf OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz &&
    /opt/jdk-21.0.13.1+2/bin/java -version &&
    ln -sfnT /opt/jdk-21.0.13.1+2 /opt/temurin-21 &&
    sed -i '/^ES_JAVA_HOME=/d' /etc/sysconfig/elasticsearch &&
    printf '\nES_JAVA_HOME=%s\n' /opt/temurin-21 >> /etc/sysconfig/elasticsearch &&
    systemctl restart elasticsearch


    Nothing updates this Java automatically. For each new Temurin 21 release, download and check it the same way, point the /opt/temurin-21 link at the new folder and restart Elasticsearch.

    Option 3: the long-term fix is moving the forum to an AlmaLinux or Rocky Linux 9 or 10 server, where the distro keeps Java patched.

    Step 5: Keep Elasticsearch private

    Elastic says the remote code execution needs an authenticated user. Elasticsearch 7.x has no login by default on the free (basic) licence, though, and some people turn it off on 8.x with xpack.security.enabled: false. Elasticsearch takes requests on port 9200 (and talks to other Elasticsearch servers on port 9300). Without a login, anything that can reach port 9200 has full access. So it matters that only your own server can reach it. These commands show which addresses Elasticsearch listens on, its network settings, and the ports your firewall opens:

    Code (Text):
    ss -lntp | grep -E ':(9200|9300)\b'
    grep -nE '^[^#]*(network\.host|http\.host|transport\.host|xpack|security)' /etc/elasticsearch/elasticsearch.yml 2>/dev/null
    grep -nE '^[^#]*(network\.host|http\.host|plugins\.security\.disabled)' /etc/opensearch/opensearch.yml 2>/dev/null
    grep -E '^TCP6?_IN' /etc/csf/csf.conf


    • ss should only show 127.0.0.1, [::1] or [::ffff:127.0.0.1] for ports 9200 and 9300. Those all mean "this server only". Anything else, such as 0.0.0.0 or *, means it listens on every network. The guide's network.host: localhost does this on 7.x.
    • On 8.x and newer, the security auto-configuration writes http.host: 0.0.0.0 into elasticsearch.yml, which opens 9200 on every interface and overrides network.host. If the grep shows it, change it to http.host: 127.0.0.1 and restart.
    • Centmin Mod's CSF Firewall doesn't open 9200 or 9300. Look through the TCP_IN and TCP6_IN lines for 9200, 9300 or a range that covers them (such as 9000:9999). If you added one, remove it and run csf -r.
    • Also check /etc/csf/csf.allow: IPs listed there are always allowed through the firewall, not only on the TCP_IN ports.
    • The real test is from another machine: curl -m5 http://YOUR_SERVER_IP:9200/ (and with https://) should time out or be refused. A login or certificate error still means the port is reachable.
    • If Elasticsearch runs on a separate server, bind it to a private address, allow 9200 only from your web server's IP, and never expose 9300 to the internet.
    • If you run Elasticsearch in Docker, publish it as -p 127.0.0.1:9200:9200. With stock Docker, published ports bypass CSF. Centmin Mod's Docker addon (addons/docker.sh) sets "iptables": false, so CSF filters published ports there instead, and its csf-setup step adds the Docker bridge network to csf.allow.
    • Nginx in front of Elasticsearch doesn't help. Calif's write-up notes that the Elasticsearch attack fits in one complete request, so Nginx request buffering doesn't block it.
    • Where you can, turn on Elasticsearch security with a user that XFES uses. On 8.x with its own self-signed certificate, set XFES's TLS verification to "custom". PHP-FPM can't read files under /etc/elasticsearch, so copy the certificate first, for example install -m 0644 /etc/elasticsearch/certs/http_ca.crt /etc/pki/tls/certs/elasticsearch-http_ca.crt, and give XFES that path.

    What about forum search? XenForo Enhanced Search sends what members type as a plain text value inside a JSON search query. It doesn't use any Elasticsearch feature that Base64-decodes user input. So forum search on its own doesn't look like a way in, as far as we can tell from the XFES 2.3.13 code. Steps 3 and 4 are still the fix.

    Step 6: Update when fixed releases ship

    Elastic and OpenSearch will release versions that come with a fixed Java. Updating to one of those is the simplest long-term fix. As of 21 November 2026, Elasticsearch 8.19.26, 9.4.10, 9.5.7 and 9.6.0 (with a fixed bundled Java 27.0.1.1) aren't published. Nor is OpenSearch 2.19.8, which OpenSearch's release schedule puts in the 8 to 15 December 2026 window, or 3.10.1. When they're out, on AlmaLinux and Rocky Linux:

    Code (Text):
    dnf --refresh --enablerepo=elasticsearch update elasticsearch &&
    systemctl restart elasticsearch



    On CentOS 7, where yum has no --refresh:

    Code (Text):
    yum clean expire-cache &&
    yum --enablerepo=elasticsearch update elasticsearch &&
    systemctl restart elasticsearch


    • Elastic's repo file is set to disabled, hence --enablerepo. If yours has a different name, dnf repolist all | grep -i elastic (yum repolist all on CentOS 7) shows it.
    • The update stays within the major version your repo is set up for. A 7.x repo tops out at 7.17.29, which has no fix. Moving from 7.17 to 8.19 is a major upgrade, so test XFES with it first.
    • For OpenSearch: dnf --refresh update opensearch && systemctl restart opensearch (on CentOS 7: yum clean expire-cache && yum update opensearch && systemctl restart opensearch).
    • If you set ES_JAVA_HOME or OPENSEARCH_JAVA_HOME in Step 4, the server keeps using that Java after the update. Remove the line and restart if you want the fixed bundled Java back.
    • Then check the bundled version: /usr/share/elasticsearch/jdk/bin/java -version should show 27.0.1.1, and /usr/share/opensearch/jdk/bin/java -version 21.0.13.1 or 25.0.5.1. OpenSearch's 2.19 branch was still pinned to the unfixed 21.0.13 at the time of writing, so check rather than assume. Keep the Step 3 setting until the version matches.

    What's not affected

    • Centmin Mod's own stack: Nginx, PHP-FPM, MariaDB, Redis and Memcached don't use Java.
    • Java 8 and Java 11, including java-1.8.0-openjdk and java-11-openjdk from the distro or TuxCare.
    • Elasticsearch 7.17.2 and older and 8.0 to 8.1.2 on their bundled Java, and OpenSearch 1.0 to 2.5. Their Java is older than 17.0.6, where Red Hat and Calif say the bug starts. Elastic doesn't list them by name and OpenSearch's advisory just says "Java 17 and later", so apply Step 3 anyway: it's harmless on any Java 17.
    • CPUs without AVX-512 VBMI, and ARM servers.
    • Kibana, Beats and Elastic Agent, which Elastic lists as not affected.

    Logstash 8.6.2 and newer is affected too, through its elastic_integration filter, though Elastic says only to the crash (denial of service) side.

    Sources

     
  2. eva2000

    eva2000 Administrator Staff Member

    60,588
    12,631
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,298
    Local Time:
    10:44 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Java4Shell (CVE-2026-114938): what it means for Centmin Mod servers running XenForo with Elasticsearch

    On 17 November 2026, Oracle and OpenJDK fixed a serious Java bug that Calif, whose researchers are credited with finding it, named "Java4Shell". If your XenForo forum uses XenForo Enhanced Search (XFES) with Elasticsearch or OpenSearch, the Java inside your search server is very likely affected. This thread covers what the bug is, whether it applies to your server, what an attacker could do, and how to mitigate it today.

    In plain English: am I affected, and what do I do?

    Elasticsearch is the search engine that XenForo Enhanced Search uses to make forum search faster and smarter. It's a separate program on your server, written in Java, and it comes with its own copy of Java. That copy of Java has a bug: on some newer server CPUs, specially crafted data can let an attacker take over the Elasticsearch program. OpenSearch is a close cousin of Elasticsearch and is affected the same way.

    Am I affected? Three questions:

    1. Does your server run Elasticsearch or OpenSearch? Run rpm -q elasticsearch opensearch. If both say "is not installed" and you never set them up any other way (for example in Docker), this doesn't affect you and you can stop here.
    2. Is it a recent version? If you installed or updated it in the last few years (Elasticsearch 7.17.3 or newer), almost certainly yes. The table below has the details.
    3. Does your CPU have the feature the bug needs? Run the CPU check below. If it doesn't print all four words, your CPU can't trigger the bug today.

    If all three answers are "yes", the bug can be used against your server, but only by someone who can send requests to Elasticsearch. Centmin Mod's firewall (CSF) doesn't open Elasticsearch's port to the internet, which already helps a lot.

    What do I do?

    1. Now (a couple of minutes): add one setting that switches off the buggy code, and restart Elasticsearch (Mitigate, Step 1). Do this even if your CPU check came back clean.
    2. Now: check that Elasticsearch can't be reached from the internet or by other sites on your server (Step 2).
    3. When you can: switch Elasticsearch to a fixed Java (Step 3), or update Elasticsearch once Elastic releases a fixed version (Step 4).

    All commands run as root over SSH. If you're not comfortable with that, ask whoever manages your server, or post in this thread with the output of the check commands.

    Short version for experienced admins

    • Centmin Mod itself doesn't install Java, Elasticsearch or OpenSearch. This thread is about the Elasticsearch or OpenSearch server you added for XFES. If you installed any other Java 17+ app, check that too.
    • Elasticsearch 7.17.3 and newer (on the 8.x line, 8.1.3 and newer), 9.x and OpenSearch 2.6 and newer all ship an affected Java. Installing java-11-openjdk doesn't change that on its own, because Elasticsearch uses its own bundled Java.
    • It can only be exploited on CPUs with AVX-512 VBMI, for example Intel Xeon Ice Lake and newer or AMD Zen 4 and newer. Check yours with the command below.
    • Mitigate now, on every server: add -XX:-UseBASE64Intrinsics to the JVM options, restart, and make sure ports 9200 and 9300 can't be reached from the internet.
    • Fixed Elasticsearch and OpenSearch releases aren't out yet. AlmaLinux and Rocky Linux 8, 9 and 10 already have fixed Java packages you can point your search server at.

    What is Java4Shell?

    Java4Shell is a memory-corruption bug in Java's Base64 decoder, not in Elasticsearch itself. Base64 is a common way of packing data into plain text; Elasticsearch decodes it, for example, to read login details. To make that fast, Java swaps in a hand-written routine that uses AVX-512, a set of special instructions on newer Intel and AMD server CPUs. Certain input makes that routine write past the end of its memory buffer. Calif showed that the right data can turn that into running the attacker's own code inside the Java program.

    • Affected Java: OpenJDK 17.0.6 and newer, where Red Hat and Calif say the vulnerable code first appeared, up to but not including the November 2026 fixed releases. That covers builds from any vendor: OpenJDK, Temurin, Oracle, Corretto and the distro packages.
    • Fixed Java: 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1.
    • The short-lived releases between them (18 to 20, 22 to 24 and 26) are end of life and won't get a fix. Elastic counts the Elasticsearch versions that bundle them as affected.
    • Not affected: OpenJDK 8 and 11, including the distro java-1.8.0-openjdk and java-11-openjdk packages. Oracle's commercial Java 8 Performance Pack and its GraalVM 17/21 builds are affected, but they don't come from EL repos.
    • Severity: Oracle rates it 8.1 (High). Red Hat rates it 9.8 (Critical). As of 20 November it wasn't on CISA's list of vulnerabilities exploited in the wild.

    The bug sits in Java, so anything Java-based that decodes Base64 from untrusted data is in scope. For a Centmin Mod forum server, that's almost always Elasticsearch or OpenSearch.

    Is it relevant to your server?

    Your search server can only be exploited when all three of these are true. Java also has to have compiled the vulnerable code first, but don't count on that: with security on, a busy node does it by itself, and anyone who can reach the node can warm it up (see Impact).

    1. Your Elasticsearch or OpenSearch runs on an affected Java

    Elasticsearch and OpenSearch come with their own copy of Java inside their install folder (the "bundled" Java, in /usr/share/elasticsearch/jdk or /usr/share/opensearch/jdk), and they use it instead of any Java you installed separately. The Centmin Mod community guide (https://community.centminmod.com/threads/how-to-install-elasticsearch-7-x-for-xenforo.19272/) installs java-11-openjdk alongside Elasticsearch 7.x, but Elasticsearch 7.x and newer ignore it unless ES_JAVA_HOME (or, on 7.x only, JAVA_HOME) points at it. XFES 2.3 needs Elasticsearch 7.2 or newer.

    • Elasticsearch 7.0 to 7.17.2, 8.0 to 8.1.2: Bundled Java 17.0.2 or older; Status not affected
    • Elasticsearch 7.17.3 to 7.17.29: Bundled Java 18 to 22; Status affected, no fix announced
    • Elasticsearch 8.1.3 and newer, 9.x: Bundled Java 18 to 27; Status affected, fix due in 8.19.26, 9.4.10, 9.5.7, 9.6.0
    • OpenSearch 1.0 to 2.5: Bundled Java 15, 11 or 17.0.5 and older; Status not affected
    • OpenSearch 2.6 to 3.10.0: Bundled Java 17.0.6 to 25; Status affected, fix planned in 2.19.8 and 3.10.1

    Check what you have. These commands print the installed versions, the version of the bundled Java, and any setting that tells Elasticsearch to use a different Java:

    Code (Text):
    rpm -q elasticsearch opensearch
    /usr/share/elasticsearch/jdk/bin/java -version 2>&1 | head -n1
    /usr/share/opensearch/jdk/bin/java -version 2>&1 | head -n1
    grep -E '^\s*(ES_JAVA_HOME|JAVA_HOME|OPENSEARCH_JAVA_HOME)=' /etc/sysconfig/elasticsearch /etc/sysconfig/opensearch 2>/dev/null


    If the last command prints an ES_JAVA_HOME or OPENSEARCH_JAVA_HOME line, your search server runs that Java instead of the bundled one. A JAVA_HOME line only counts on Elasticsearch 7.x and OpenSearch; Elasticsearch 8.x and 9.x ignore it. The check at the end of Step 1 below shows which Java the running server really uses.

    2. Your CPU has AVX-512 VBMI

    Code (Text):
    grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'


    If it prints all four words (avx512f, avx512bw, avx512vbmi and bmi2), your CPU can trigger the bug. Calif lists Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD Zen 4 and newer, but the check above is what counts.

    • If any of the four is missing, Java never generates the vulnerable code, so the server can't be exploited today. That includes CPUs where only bmi2 prints, as on some older VPS CPUs, and Skylake or Cascade Lake Xeons, which have avx512f and avx512bw but not avx512vbmi.
    • Java checks the CPU once at startup. A VPS that's resized, powered off and on, or migrated can come back on a newer CPU. Apply the mitigation anyway.
    • Don't use the check from OpenSearch's blog, grep -m1 -ow avx512_vbmi /proc/cpuinfo. The Linux flag is called avx512vbmi, so that command prints nothing even on affected CPUs.
    • Centmin Mod only supports x86-64, so ARM servers don't come into it.

    3. Someone untrusted can send it requests

    Elasticsearch takes requests on port 9200 (and talks to other Elasticsearch servers on port 9300). An attacker needs to reach that port, either from the internet or through something else running on your server. More on that under Impact.

    Impact

    What an attacker can do

    • Elastic: an attacker with at least read access to Elasticsearch can run their own code on the server (remote code execution), and an attacker with no access can crash it.
    • OpenSearch: its advisory simply calls it unauthenticated remote code execution, so treat a reachable OpenSearch node as exposed without a login.
    • The attacker's code runs as the elasticsearch or opensearch user. It can read, change or delete your search indexes and break forum search, and it gives the attacker a foothold to attack other services on the server. XFES doesn't keep a full copy of each post in the index (it turns off Elasticsearch's _source storage), but the index still holds the searchable words from every post.
    • With Elasticsearch security turned on, Elasticsearch Base64-decodes the Authorization: Basic header of every request that sends one, to check the login. So a busy node has the vulnerable code compiled and ready, and an attacker can warm it up without a password.
    • A failed attack usually crashes the Java process. Elasticsearch stopping unexpectedly (systemctl status elasticsearch shows it failed), or hs_err_pid*.log crash files in /var/log/elasticsearch (/var/log/opensearch for OpenSearch), are worth a look.

    What it means for XenForo

    • Elasticsearch 7.x has no login by default on the free (basic) licence, and some forums turn it off on 8.x with xpack.security.enabled: false. With no login, anything that can reach port 9200 has full access, which includes the read access Elastic says the attack needs.
    • Forum search isn't a known way in. XFES sends what members type as plain text inside a JSON search query. It doesn't use scroll IDs, binary fields or any other Elasticsearch feature that Base64-decodes user input, as far as we can see in the XFES 2.3.13 code. Elastic hasn't said which API its attack uses, though, so treat that as "no known path", not "proven safe".

    The realistic risks for a Centmin Mod forum server are:

    • Port 9200 reachable from the internet, through a CSF rule, csf.allow entry or a Docker port mapping.
    • Another site on the same server. Centmin Mod servers often host several sites. A hacked WordPress site, or a bug in any PHP app that can be tricked into making web requests for an attacker (SSRF), can reach localhost:9200 from inside the server.
    • Stolen XFES credentials. The Elasticsearch user and password stored in XenForo's options have more than read access.

    Mitigate

    Step 1: Turn off the vulnerable code (everyone, now)

    This is the workaround Elastic and OpenSearch recommend: a one-line Java setting that switches off the buggy fast routine, so Java uses its normal Base64 code instead. The 17-: at the start applies it only on Java 17 and newer, because Java 8 doesn't know the setting and wouldn't start. Most forums only need the Elasticsearch commands; skip the OpenSearch and Docker parts unless you use them.

    Elasticsearch 7.7 and newer (RPM install):

    Code (Text):
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    chgrp elasticsearch /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    chmod 0640 /etc/elasticsearch/jvm.options.d/cve-2026-114938.options
    systemctl restart elasticsearch


    OpenSearch (RPM install):

    Code (Text):
    mkdir -p /etc/opensearch/jvm.options.d
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /etc/opensearch/jvm.options.d/cve-2026-114938.options
    chgrp opensearch /etc/opensearch/jvm.options.d/cve-2026-114938.options
    chmod 0640 /etc/opensearch/jvm.options.d/cve-2026-114938.options
    systemctl restart opensearch


    Docker (advanced, skip if you don't use Docker): the files above don't reach a container, and a container can't read a 0640 file owned by a host group. For Elasticsearch, create a world-readable copy and mount it where Elastic documents:

    Code (Text):
    mkdir -p /opt/es-docker
    printf '%s\n' '17-:-XX:-UseBASE64Intrinsics' > /opt/es-docker/cve-2026-114938.options
    chmod 0644 /opt/es-docker/cve-2026-114938.options


    Add -v /opt/es-docker/cve-2026-114938.options:/usr/share/elasticsearch/config/jvm.options.d/cve-2026-114938.options:ro to the container's settings and recreate the container. For OpenSearch, add the flag to the container's OPENSEARCH_JAVA_OPTS together with your heap settings, for example OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g -XX:-UseBASE64Intrinsics. To check a container, look for the flag under jvm.input_arguments in curl -s 'http://localhost:9200/_nodes/jvm?pretty' (on 8.x with security on, use curl -sk -u elastic 'https://localhost:9200/_nodes/jvm?pretty').

    Check that the setting took effect once the restart has finished (RPM installs). Elasticsearch records its process number in a pidfile, which this reads; on 8.x and 9.x the process systemd reports is only a launcher, so don't use that one:

    Code (Text):
    pid=$(cat /run/elasticsearch/elasticsearch.pid 2>/dev/null)
    if [ -n "$pid" ] && [ -r "/proc/$pid/cmdline" ]; then readlink -f /proc/$pid/exe; tr '\0' '\n' < /proc/$pid/cmdline | grep -Fx -- '-XX:-UseBASE64Intrinsics' || echo 'workaround NOT active'; else echo 'Elasticsearch is not running'; fi


    For OpenSearch, the systemd main process is the server:

    Code (Text):
    pid=$(systemctl show -p MainPID opensearch | cut -d= -f2)
    if [ "${pid:-0}" -gt 0 ]; then readlink -f /proc/$pid/exe; tr '\0' '\n' < /proc/$pid/cmdline | grep -Fx -- '-XX:-UseBASE64Intrinsics' || echo 'workaround NOT active'; else echo 'OpenSearch is not running'; fi


    • The first line shows which Java the server runs. If the next line prints -XX:-UseBASE64Intrinsics, the workaround is active and you're protected while you work on the real fix. If it prints workaround NOT active, re-check the file and restart.
    • Never use -XX:+UseBASE64Intrinsics (with a plus): that turns the vulnerable code back on.
    • Forum search keeps working the same. Only Base64 work inside the search server uses the slower, normal code path.

    Step 2: Keep Elasticsearch private

    These commands show which addresses Elasticsearch listens on, its network settings, and the ports your firewall opens:

    Code (Text):
    ss -lntp | grep -E ':(9200|9300)\b'
    grep -nE '^[^#]*(network\.host|http\.host|xpack|security)' /etc/elasticsearch/elasticsearch.yml 2>/dev/null
    grep -nE '^[^#]*(network\.host|http\.host|plugins\.security\.disabled)' /etc/opensearch/opensearch.yml 2>/dev/null
    grep -E '^TCP6?_IN' /etc/csf/csf.conf


    • ss should only show 127.0.0.1, [::1] or [::ffff:127.0.0.1] for 9200 and 9300. Those all mean "this server only". Anything else, such as 0.0.0.0 or *, means it listens on every network.
    • Elasticsearch binds to localhost by default. But on 8.x and newer, the security auto-configuration writes http.host: 0.0.0.0 into elasticsearch.yml, which opens port 9200 on every interface and overrides network.host. If the grep shows it, change it to http.host: 127.0.0.1 and restart.
    • Centmin Mod's CSF Firewall doesn't open 9200 or 9300. Look through the TCP_IN and TCP6_IN lines for 9200, 9300 or a range that covers them (such as 9000:9999). If you added one, remove it and run csf -r. Also check /etc/csf/csf.allow: IPs listed there are always allowed through the firewall, not only on the TCP_IN ports.
    • The real test is from another machine: curl -m5 http://YOUR_SERVER_IP:9200/ (and with https://) should time out or be refused. A login or certificate error still means the port is reachable.
    • If Elasticsearch runs on a separate server, bind it to a private address, allow 9200 only from your web server's IP, and never expose 9300 to the internet.
    • If you run Elasticsearch in Docker, publish it as -p 127.0.0.1:9200:9200. With stock Docker, published ports bypass CSF, and Docker older than 28.0.0 also lets other machines on the same local network reach ports published to localhost. Centmin Mod's Docker addon (addons/docker.sh) sets "iptables": false, so CSF filters published ports there instead. Its csf-setup step also adds the Docker bridge network to csf.allow, so any container can reach an Elasticsearch on the host that listens on anything other than localhost.
    • Putting Nginx in front of Elasticsearch doesn't stop the attack: Calif notes the Elasticsearch attack works from one complete request, so request buffering doesn't help. Nginx allow/deny rules do still limit who can reach it.
    • Where you can, turn on Elasticsearch security with a user that XFES uses, so a co-hosted site can't query Elasticsearch without a password. On 8.x with its own self-signed certificate, set XFES's TLS verification to "custom". PHP-FPM can't read files under /etc/elasticsearch, so copy the certificate first, for example install -m 0644 /etc/elasticsearch/certs/http_ca.crt /etc/pki/tls/certs/elasticsearch-http_ca.crt, and give XFES that path.

    Step 3: Run a fixed Java

    This is the real fix: make Elasticsearch use a copy of Java that has the bug fixed. The Step 1 setting keeps you protected until then. First check that your search server supports the Java you're switching to:

    • Elastic's JVM support matrix lists Java 21 for Elasticsearch 7.17.14 and newer, for 8.x from 8.15 on, and for 9.x. Check the matrix (linked under Sources) for your exact version, and on an older release update Elasticsearch first.
    • OpenSearch supports Java 21 from 2.12. For OpenSearch 2.6 to 2.11, use Java 17 (EL8 and EL9 only) or update OpenSearch first.
    • This step doesn't apply to Docker. Elastic says bringing your own Java doesn't work with its Docker images, so wait for fixed images.

    AlmaLinux and Rocky Linux 8, 9 and 10: fixed OpenJDK packages came out on 19 November 2026.

    • java-17-openjdk: EL8 17.0.21.1.2-2.1.el8; EL9 17.0.21.1.2-2.2.el9; EL10 not shipped
    • java-21-openjdk: EL8 21.0.13.1.2-1.1.el8; EL9 21.0.13.1.2-1.2.el9; EL10 21.0.13.1.2-1.2.el10
    • java-25-openjdk: EL8 not shipped; EL9 25.0.5.1.2-1.1.el9; EL10 25.0.5.1.2-1.1.el10

    AlmaLinux 9 and 10 builds end in .alma.1, and Rocky Linux 8 builds use el8_10 instead of el8. First install or update the distro Java 21:

    Code (Text):
    dnf -y install java-21-openjdk-headless &&
    dnf -y update 'java-*-openjdk*' &&
    /usr/lib/jvm/jre-21-openjdk/bin/java -version


    The version must say 21.0.13.1 or newer; if it doesn't, fix that before going on. Then point Elasticsearch at it. These commands write the Java location into /etc/sysconfig/elasticsearch, the settings file the service reads when it starts, and restart Elasticsearch. Each command only runs if the one before it worked:

    Code (Text):
    sed -i '/^ES_JAVA_HOME=/d' /etc/sysconfig/elasticsearch &&
    printf '\nES_JAVA_HOME=%s\n' /usr/lib/jvm/jre-21-openjdk >> /etc/sysconfig/elasticsearch &&
    systemctl restart elasticsearch


    • Re-run the Step 1 check afterwards: its first line should now show a path under /usr/lib/jvm/.
    • For OpenSearch 2.12 and newer, do the same with OPENSEARCH_JAVA_HOME in /etc/sysconfig/opensearch and restart opensearch. For OpenSearch 2.6 to 2.11 on EL8 or EL9, use java-17-openjdk-headless and /usr/lib/jvm/jre-17-openjdk instead (its version must say 17.0.21.1 or newer).
    • On Rocky Linux 9 and 10, use a plain dnf update as above. As of 21 November, Rocky's update metadata has no security advisory for these packages, so dnf update --security skips them.
    • EPEL's java-latest-openjdk has no fix. Don't point Elasticsearch at it.
    • Restart Elasticsearch after every Java update, because a running Java keeps the old code until it restarts.

    CentOS 7: it's end of life. Its own repos never had Java 17 or newer, and the TuxCare extended support repo we checked only carries Java 8 and 11, with no CentOS 7 fix listed by TuxCare for this CVE. Elasticsearch 7.17.29's bundled Java 22 will never be fixed, and Elasticsearch 7.17 itself reached end of support on 15 January 2026. Elastic's support matrix still lists CentOS 7 for Elasticsearch 8.x (not 9.x), so 8.19.26 with its fixed bundled Java should be an option once it ships, if Elastic still lists CentOS 7 for it.

    Option 1: keep the Step 1 workaround and Step 2 firewall rules. On CentOS 7 they're the main protection.

    Option 2 (advanced): run Elasticsearch 7.17.14 or newer on a fixed Eclipse Temurin 21 build, a free Java build from the Eclipse Foundation. Adoptium says its builds should work with glibc 2.17 or newer, which CentOS 7 has, though CentOS 7 isn't on its officially supported list. Each command only runs if the one before it worked, and the java -version line proves Temurin runs before Elasticsearch is switched over:

    Code (Text):
    cd /opt &&
    curl -fLO 'https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.13.1%2B2/OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz' &&
    curl -fLO 'https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.13.1%2B2/OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz.sha256.txt' &&
    sha256sum -c OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz.sha256.txt &&
    tar xzf OpenJDK21U-jdk_x64_linux_hotspot_21.0.13.1_2.tar.gz &&
    /opt/jdk-21.0.13.1+2/bin/java -version &&
    ln -sfnT /opt/jdk-21.0.13.1+2 /opt/temurin-21 &&
    sed -i '/^ES_JAVA_HOME=/d' /etc/sysconfig/elasticsearch &&
    printf '\nES_JAVA_HOME=%s\n' /opt/temurin-21 >> /etc/sysconfig/elasticsearch &&
    systemctl restart elasticsearch


    Nothing updates this Java automatically. For each new Temurin 21 release, download and check it the same way, point the /opt/temurin-21 link at the new folder and restart Elasticsearch.

    Option 3: the long-term fix is moving the forum to an AlmaLinux or Rocky Linux 9 or 10 server, where the distro keeps Java patched.

    Step 4: Update Elasticsearch or OpenSearch when fixed releases ship

    Elastic and OpenSearch will release versions that come with a fixed Java. Updating to one of those is the simplest long-term fix. As of 21 November 2026, none of these are published:

    • Elasticsearch 8.19.26, 9.4.10, 9.5.7 and 9.6.0, with a fixed bundled Java 27.0.1.1. Elastic hasn't announced a fixed 7.17 release.
    • OpenSearch 2.19.8, which OpenSearch's release schedule puts in the 8 to 15 December 2026 window, and 3.10.1, which has no date yet.

    When they're out, on AlmaLinux and Rocky Linux:

    Code (Text):
    dnf --refresh --enablerepo=elasticsearch update elasticsearch &&
    systemctl restart elasticsearch


    On CentOS 7, where yum has no --refresh:

    Code (Text):
    yum clean expire-cache &&
    yum --enablerepo=elasticsearch update elasticsearch &&
    systemctl restart elasticsearch


    • Elastic's repo file is set to disabled, hence --enablerepo. If yours has a different name, dnf repolist all | grep -i elastic (yum repolist all on CentOS 7) shows it.
    • The update stays within the major version your repo is set up for. A 7.x repo tops out at 7.17.29, which has no fix. Moving from 7.17 to 8.19 is a major upgrade, so test XFES with it first.
    • For OpenSearch: dnf --refresh update opensearch && systemctl restart opensearch (on CentOS 7: yum clean expire-cache && yum update opensearch && systemctl restart opensearch).
    • If you set ES_JAVA_HOME or OPENSEARCH_JAVA_HOME in Step 3, the server keeps using that Java after the update. Remove the line and restart if you want the fixed bundled Java back.
    • Re-run the Step 1 check to confirm which Java is running, then check its version: /usr/share/elasticsearch/jdk/bin/java -version should show 27.0.1.1, and /usr/share/opensearch/jdk/bin/java -version 21.0.13.1 or 25.0.5.1. OpenSearch's 2.19 branch was still pinned to the unfixed 21.0.13 at the time of writing, so check rather than assume. Keep the Step 1 workaround until the version matches.

    What's not affected

    • Centmin Mod's own stack: Nginx, PHP-FPM, MariaDB, Redis and Memcached don't use Java.
    • Java 8 and Java 11 from the distro or TuxCare.
    • Elasticsearch 7.17.2 and older and 8.0 to 8.1.2 on their bundled Java, and OpenSearch 1.0 to 2.5. Their Java is older than 17.0.6, where Red Hat and Calif say the bug starts. Elastic doesn't list them by name and OpenSearch's advisory just says "Java 17 and later", so apply Step 1 anyway: it's harmless on any Java 17.
    • CPUs without AVX-512 VBMI.
    • Kibana, Beats and Elastic Agent, which Elastic lists as not affected.

    Logstash 8.6.2 and newer is affected too, through its elastic_integration filter, though Elastic says only to the crash (denial of service) side.

    Sources

     
Thread Status:
Not open for further replies.