100 lines
5.5 KiB
Markdown
100 lines
5.5 KiB
Markdown
# Java runtime security maintenance - 23 November 2026
|
|
|
|
Vincent authorized patching CVE-2026-114938 after reviewing DigitalOcean's
|
|
OpenJDK alert. This is operational maintenance, separate from the pending
|
|
Assignment 9 Zammad setup. No commits or pushes were requested.
|
|
|
|
The running Jenkins controller used Temurin 21.0.12.1+1 and its trusted delivery
|
|
agent used 21.0.13+9. Both were replaced with **Temurin 21.0.13.1+2**, which
|
|
[Adoptium identifies as fixed](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell).
|
|
The Droplet's exposed CPU flags did not include AVX-512 VBMI; that is a required
|
|
hardware condition for the documented exploit. Updating the runtimes avoids
|
|
depending on that hardware limitation.
|
|
|
|
| Service | Updated image | Actual local image ID |
|
|
| --- | --- | --- |
|
|
| Jenkins controller | `ssw590-jenkins:2.580.1-java21.0.13.1-2` | `05067cf69fd76a98de8d434e7af9782cb9f979e0db3301760038da557cd5927b` |
|
|
| Trusted delivery agent | `ssw590-delivery-agent:20261114-java21.0.13.1-2` | `8d6302db4598887010c11ee7de0f87b0f62ab92e53bf7ec1e81fbab98d9778a7` |
|
|
|
|
The official `eclipse-temurin:21.0.13.1_2-jdk-jammy` runtime stage is pinned to
|
|
index digest `sha256:4b3d0998ee65462bd86ff060c87119b3575294cb3d0927372afa6f3708b0c8db`.
|
|
Its Linux/amd64 manifest was
|
|
`sha256:4e38bcd64a552586921cdd011831cabc0d56c4f7c950aa460c0b9e03237871ed`.
|
|
Only `/opt/java/openjdk` and its descriptive `JAVA_VERSION` environment value
|
|
were replaced in the existing application images. Jenkins remains 2.580.1;
|
|
plugins, tools, identity and workspace were retained. No production release,
|
|
approval, dependency upgrade or database migration was performed.
|
|
|
|
## Procedure and verification
|
|
|
|
`patch-existing.py` is deliberately specific to The-Ocean's two existing Compose
|
|
projects. Review its paths before reuse. Its `prepare` action captures selected
|
|
non-secret metadata, saves Compose copies, refuses unfinished/queued Jenkins
|
|
work, pulls the pinned runtime and builds both images sequentially. Builds used
|
|
512 MiB and 0.5 CPU limits. Isolated smoke containers have no network or data
|
|
mounts and a read-only filesystem. The legacy builder warning was retained;
|
|
this choice permits explicit build-container limits on this small host.
|
|
|
|
The `apply` action checks the checkpoint again, changes only the two image
|
|
selectors, stops the idle agent, recreates the controller, waits for its login
|
|
page, and recreates the agent. It verifies the fixed runtime, running state,
|
|
absence of OOM kills, and identical persistent mounts. It does not automatically
|
|
roll back after an error; inspect the checkpoint and service state first.
|
|
|
|
Executed verification confirmed Jenkins login HTTP 200 and the agent's
|
|
`Connected` message. Gitea and Grafana private HTTP checks passed. The live
|
|
controller Dockerfile was also updated to retain the fix on future builds;
|
|
its original was preserved. The pricing containers, proxy, monitoring and
|
|
manual runner were not recreated. No full release pipeline was triggered.
|
|
|
|
Selected-field evidence is retained in ignored
|
|
`build/evidence/java-patch-20261123/`. On the Droplet, checkpoints and logs remain
|
|
in root-only `/root/ssw590-java-patch-20261123/`. Credentials and full Docker
|
|
inspect output are excluded. No additional cloud resource or plan was created;
|
|
this used the existing paid Droplet, with transient CPU, storage and network use.
|
|
|
|
## Recovery
|
|
|
|
The original images retain the local tags
|
|
`ssw590-java-rollback:jenkins-20261123` and
|
|
`ssw590-java-rollback:agent-20261123` as recovery checkpoints. They contain the
|
|
old runtime; do not select them during normal operation.
|
|
|
|
If the new runtime causes a verified operational regression, first stop or drain
|
|
Jenkins work. On the authorized host, restore the corresponding saved Compose
|
|
file from the root-only checkpoint directory to its original path:
|
|
|
|
- `jenkins-compose.before` -> `/root/gitea/docker-compose.yml`
|
|
- `agent-compose.before` -> `/opt/ssw590-delivery-agent/compose.droplet.yaml`
|
|
|
|
Validate with `docker compose -f <original-path> config --quiet`, then recreate
|
|
only that service using `up -d --no-deps --pull never <service>` from its project
|
|
directory. Original image tags remain present. Preserve volumes and identities;
|
|
never use `down -v`. Restoring the old controller Dockerfile is needed only if
|
|
its future build recipe must also be reverted. If running the old Java build on
|
|
affected hardware, the vendor's interim mitigation is
|
|
`-XX:-UseBASE64Intrinsics` followed by a service restart.
|
|
|
|
Retain the checkpoint images and files until the group has reviewed the update.
|
|
Do not prune shared Docker images, build caches or volumes to clean up this task.
|
|
|
|
## Scope limits
|
|
|
|
Local Zammad remains stopped and unchanged. Its Elasticsearch Java build also
|
|
predates the fix, but the laptop's Docker VM was verified to lack AVX-512 VBMI.
|
|
Review its official patched image before the next local setup session.
|
|
The earlier PHP inventory found no PHP; this Java patch does not install PHP.
|
|
The NGINX alert and its separately recorded HTTP/2 assessment remain separate.
|
|
|
|
For a future full source rebuild, the controller and agent Dockerfiles also
|
|
copy the same pinned fixed Java stage. Build the agent from `delivery/`:
|
|
|
|
```sh
|
|
docker build -f agent/Dockerfile -t ssw590-delivery-agent:20261114-java21.0.13.1-2 .
|
|
```
|
|
|
|
Build the controller using its Compose project. Full source rebuild image IDs
|
|
will differ from the runtime-only maintenance images above; verify Java again.
|
|
The stopped laptop fallback requires the patched agent image to be built or
|
|
loaded before it can be used. Never start it alongside the active cloud agent.
|