Skip to content

v5.1.3

Choose a tag to compare

@ari-wg-gitbot ari-wg-gitbot released this 18 Nov 14:19
09b81eb

Highlights

  • Mitigation for the OpenJDK Base64 decoder flaw (CVE-2026-114938). According to the published analyses, Java 17.0.6 and later, on x86-64 CPUs with AVX-512 VBMI, can overflow a heap array in the Base64 decoder. The OpenJDK (BellSoft Liberica) JRE in this release is still 17.0.21.0.3+5, 21.0.13.0.3+5 and 25.0.5.0.3+5, which are affected. Fixed Liberica releases (17.0.21.1, 21.0.13.1, 25.0.5.1) are published but are not in this release yet. Until then the buildpack adds -XX:-UseBASE64Intrinsics to JAVA_OPTS, and to JDK_JAVA_OPTIONS so that java processes that do not use $JAVA_OPTS (custom start commands, tasks) are covered too. The option is not added for JREs that contain the fix, for Java 8 and 11 (not affected), or for Zulu and SapMachine, whose releases in this buildpack already contain the fix. A warning is logged during staging when the option is added (#1561).
  • SapMachine 17, 21 and 25 updated to releases that contain the fix. SapMachine 17.0.21.0.3 → 17.0.21.1, 21.0.13.0.3 → 21.0.13.1 and 25.0.5.0.3 → 25.0.5.1 are the November releases with the fix for CVE-2026-114938, so apps that select SapMachine (JBP_CONFIG_SAP_MACHINE_JRE) do not need the mitigation (#1556, #1555, #1560).

New features

  • New opt-outs for the mitigation, set in JBP_CONFIG_OPEN_JDK_JRE (or JBP_CONFIG_OPENJDK): {base64_intrinsics_mitigation: {enabled: false}} turns it off completely, {base64_intrinsics_mitigation: {jdk_java_options: false}} keeps only the JAVA_OPTS part (#1561). The setting is read during staging, so restage the app after changing it.
  • A java started by hand in a plain cf ssh session does not get the option, because such a session does not run the profile.d scripts. The JVM of the app, tasks and custom start commands do get it.

Dependency updates

JRE (net change over v5.1.2):

JRE Version lines
Zulu 8: 8.0.512 → 8.0.514; 11: 11.0.33 → 11.0.33.1; 17: 17.0.21.0.3 → 17.0.21.1
SapMachine 17: 17.0.21.0.3 → 17.0.21.1; 21: 21.0.13.0.3 → 21.0.13.1; 25: 25.0.5.0.3 → 25.0.5.1

Frameworks and containers:

Dependency Change
datadog-javaagent 1.68.1 → 1.68.2
sealights-agent 4.0.2842 → 4.0.2844
jprofiler-profiler 16.2.1 → 16.3.1
tomcat 11.0.27 → 11.0.29, 9.0.123 → 9.0.124 (10.1 stays at 10.1.61)

Go module go.opentelemetry.io/otel 1.36.0 → 1.41.0 (#1528).

Documentation and tests

  • The JRE documentation of OpenJDK describes the mitigation and its opt-outs (#1561).
  • Added integration tests for Spring Boot executable WAR detection (#1543).
  • Removed the skipped Play JAVA_OPTS integration test (#1540).
  • Added the release notes of v5.1.2 to the repository (#1538).

Known issues

  • The New Relic agent is installed but never attached to the JVM (since v5.0.4). The fix is in the dependency pipeline, not in this buildpack (#1542, cloudfoundry/buildpacks-ci#714).

Packaged binaries:

name version cf_stacks
auto-reconfiguration 2.12.0 cflinuxfs4, cflinuxfs5
azure-application-insights 3.7.10 cflinuxfs4, cflinuxfs5
cf-metrics-exporter 0.7.1 cflinuxfs4, cflinuxfs5
client-certificate-mapper 2.1.0 cflinuxfs4, cflinuxfs5
container-security-provider 1.22.0 cflinuxfs4, cflinuxfs5
contrast-security 6.36.0 cflinuxfs4, cflinuxfs5
datadog-javaagent 1.68.2 cflinuxfs4, cflinuxfs5
elastic-apm-agent 1.57.1 cflinuxfs4, cflinuxfs5
elastic-otel-javaagent 1.14.0 cflinuxfs4, cflinuxfs5
google-stackdriver-profiler 0.4.0 cflinuxfs4, cflinuxfs5
groovy 4.0.33 cflinuxfs4, cflinuxfs5
jacoco 0.8.16 cflinuxfs4, cflinuxfs5
java-cfenv 3.5.3 cflinuxfs4, cflinuxfs5
java-cfenv 4.0.2 cflinuxfs4, cflinuxfs5
java-memory-assistant 0.5.0 cflinuxfs4, cflinuxfs5
java-memory-assistant-cleanup 0.1.0 cflinuxfs4, cflinuxfs5
jprofiler-profiler 16.3.1 cflinuxfs4, cflinuxfs5
jrebel 2026.4.1 cflinuxfs4, cflinuxfs5
jvmkill 1.17.0 cflinuxfs4, cflinuxfs5
luna-security-provider 7.4.0 cflinuxfs4, cflinuxfs5
mariadb-jdbc 3.5.11 cflinuxfs4, cflinuxfs5
memory-calculator 4.1.0 cflinuxfs4, cflinuxfs5
memory-calculator 4.2.0 cflinuxfs4, cflinuxfs5
metric-writer 3.5.0 cflinuxfs4, cflinuxfs5
newrelic 9.5.0 cflinuxfs4, cflinuxfs5
open-telemetry-javaagent 2.33.1 cflinuxfs4, cflinuxfs5
openjdk 11.0.33.0.3+7 cflinuxfs4, cflinuxfs5
openjdk 17.0.21.0.3+5 cflinuxfs4, cflinuxfs5
openjdk 21.0.13.0.3+5 cflinuxfs4, cflinuxfs5
openjdk 25.0.5.0.3+5 cflinuxfs4, cflinuxfs5
openjdk 8.0.513+9 cflinuxfs4, cflinuxfs5
postgresql-jdbc 42.7.14 cflinuxfs4, cflinuxfs5
sapmachine 17.0.21.1 cflinuxfs4, cflinuxfs5
sapmachine 21.0.13.1 cflinuxfs4, cflinuxfs5
sapmachine 25.0.5.1 cflinuxfs4, cflinuxfs5
sealights-agent 4.0.2844 cflinuxfs4, cflinuxfs5
skywalking-agent 9.6.0 cflinuxfs4, cflinuxfs5
splunk-otel-javaagent 2.33.1 cflinuxfs4, cflinuxfs5
tomcat 9.0.124 cflinuxfs4, cflinuxfs5
tomcat 10.1.61 cflinuxfs4, cflinuxfs5
tomcat 11.0.29 cflinuxfs4, cflinuxfs5
tomcat-access-logging-support 3.4.0 cflinuxfs4, cflinuxfs5
tomcat-lifecycle-support 3.4.0 cflinuxfs4, cflinuxfs5
tomcat-logging-support 3.4.0 cflinuxfs4, cflinuxfs5
your-kit-profiler 2026.3.176 cflinuxfs4, cflinuxfs5
zulu 11.0.33.1 cflinuxfs4, cflinuxfs5
zulu 17.0.21.1 cflinuxfs4, cflinuxfs5
zulu 8.0.514 cflinuxfs4, cflinuxfs5

Default binary versions:

name version
openjdk 17.x
zulu 11.x
sapmachine 21.x
tomcat 10.1.x
tomcat-access-logging-support 3.x
tomcat-lifecycle-support 3.x
tomcat-logging-support 3.x
groovy 4.0.x
jvmkill 1.x
memory-calculator 4.x
auto-reconfiguration 2.x
java-cfenv 3.x
client-certificate-mapper 2.x
postgresql-jdbc 42.x
mariadb-jdbc 3.x
datadog-javaagent 1.x
elastic-apm-agent 1.x
elastic-otel-javaagent 1.x
azure-application-insights 3.x
skywalking-agent 9.x
splunk-otel-javaagent 2.x
google-stackdriver-profiler 0.x
open-telemetry-javaagent 2.x
jacoco 0.8.x
contrast-security 6.x
jrebel 2026.x
java-memory-assistant 0.x
java-memory-assistant-cleanup 0.x
your-kit-profiler 2026.x
jprofiler-profiler 16.x
sealights-agent 4.x
container-security-provider 1.x
luna-security-provider 7.x
newrelic 9.x
cf-metrics-exporter 0.7.x
metric-writer 3.x

Packaging profiles:

minimal JDKs, CF utilities, Tomcat, and common frameworks only. No APM agents, profilers, JDBC drivers, or Zulu JREs.
standard Core + open-source APM, OTel, and JDBC drivers. No commercial agents, profilers, or Zulu JREs.

  • Uncached buildpack SHA256: 82cae2f0ebde948af88300045f5e970d8e0f89af6996caa9d1e0d344197d9d02
  • Uncached buildpack SHA256: fe7ad105141c8f2e7bdf79dc11d5f4d5631deb3fe9cd57b8ed9055f67cb3f7e0

What's Changed

Full Changelog: v5.1.2...v5.1.3