Patch Jenkins and delivery agent Java runtimes
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-25 22:28:57 -05:00
parent 6064cce05e
commit 85f81d8e0a
15 changed files with 346 additions and 7 deletions
+47
View File
@@ -1106,3 +1106,50 @@ staging v2, Document History and this log; and prepared the complete TinyTeX
build and visual review. Passwords hints, credentials, permissions, earlier
coursework, Billy/Claude records and shared services were preserved.
Vincent handles final commits/pushes and submission; Billy reviews the final PR.
\section{Java Runtime Security Maintenance}
Date: November 23, 2026; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent asked Codex to assess DigitalOcean's PHP and OpenJDK email alerts,
then explicitly authorized patching after loading his SSH key privately.
Codex read the alerts and verified the Java fix against Adoptium's advisory.
The earlier PHP inventory found no PHP. The local Docker VM and the Droplet
both lacked the AVX-512 VBMI feature required for the documented Java exploit;
this hardware qualification was distinguished from having a patched runtime.
The controller used Temurin 21.0.12.1+1 before this update.
The delivery agent used Temurin 21.0.13+9.
Codex selected the official fixed Temurin 21.0.13.1+2 image,
verified its registry digest, retained original image and Compose checkpoints,
and built runtime-only replacement images under bounded resources. An initial
Adoptium assets endpoint returned 404; official GitHub release metadata and
Docker Hub provided the release and pinned image instead. Isolated version
checks passed before service replacement. Codex checked for unfinished or
queued Jenkins work, stopped the idle agent and recreated only the controller
and agent. The controller returned HTTP 200, the agent logged Connected, both
running containers reported the fixed Java build and their persistent mounts
matched the checkpoint. Existing private Gitea and Grafana checks passed.
A post-check initially assumed Java was process 1; Jenkins uses the normal
\texttt{tini} wrapper. Codex corrected the check to inspect the Java processes'
actual executables rather than treating the wrapper as a service failure.
Codex updated source Dockerfiles, current image selectors, bootstrap references,
the current host inventory, maintenance runbook and this log. The live controller
build recipe was also patched with its original retained. Jobs, plugins,
permissions, credentials, release records, existing application containers and
other services were preserved. No release pipeline, human approval, commit or
push was performed. Root-only recovery checkpoints remain on the existing paid
Droplet; selected non-secret evidence remains in the ignored local build folder.
Local Zammad and its data remain stopped and unchanged; its future image review
is separate from this completed cloud runtime update. The full manual is rebuilt
with TinyTeX and affected pages are visually reviewed for this record.
On November 25 Vincent requested separate branches after confirming the
Assignment 8 merge. Codex fetched and verified merge \texttt{6064cce},
then prepared a separate worktree from that main on:
\begin{quote}\small
\path{codex/security-java-runtime}
\end{quote}
Only the Java source/runbook changes and their manual records
were placed here; Zammad and demo work remain in separate worktrees.
Original mixed changes were preserved and verified before separation.
No additional runtime operation, commit or push was performed.
+1
View File
@@ -12,6 +12,7 @@ link each entry to the changed chapter, table, figure, or controlled artifact.
\multicolumn{4}{l}{\small\itshape Document Update History (continued)}\\
\toprule \textbf{Date / Version} & \textbf{Author Initials} & \textbf{Change} & \textbf{Changed At}\\ \midrule
\endhead \bottomrule \endlastfoot
November 23, 2026 / 7.0 maintenance & VS, CDX & At Vincent's request, patched the live Jenkins controller and trusted delivery agent to Temurin 21.0.13.1+2 for CVE-2026-114938. Retained application versions, plugins, persistent mounts and recovery images; verified controller HTTP and agent reconnection. Updated future build recipes, image selectors and current host inventory. Local Zammad remains stopped; Assignment 9 remains incomplete. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 15, 2026 / 6.4 & VS, BY, CDX & Verified Billy's PR~\#27 review and Vincent's merge; completed human-approved production rollback (build 8), blocked staging fault (9), and original-configuration recovery with changed=0 (10). Preserved build 7's pre-deployment runner error, measured HTTPS interruptions and monitoring sampling limits. Added original CSVs, hashes, runtime state, timelines, source/access links and final evidence; created issue~\#28 with Vincent's approval during finalization. Updated the Hosts table and architecture to production v1/staging v2; Passwords hints and permissions are unchanged. Prepared the complete manual for submission review. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
November 15, 2026 / 6.3 & BY, VS, CDX & Recorded PR~\#26's review/merge and successful Jenkins v1/v2 releases 5/6, zero-change reruns, actual vsun1 approvals and identical per-release staging/production digests. Saved the four real selectors for review. Applied the reviewed production probe/panel after healthy v1, verified live targets/Grafana and preserved one HTTP 502 sample during v2 replacement. Updated both-app inventory and architecture; prepared a staging-only fault patch and reviewed-history/revert procedure for the still-pending recovery exercises. Passwords hints and access scopes are unchanged. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
November 15, 2026 / 6.2 & VS, CDX & Verified PR~\#25's review/merge and ran pricing build 4: scans/publication and initial staging checks passed; the unchanged rerun blocked at the three-second Docker health deadline. Tested ten seconds under identical limits in an isolated temporary container: eight checks passed, then the container was removed. Prepared the health correction and separate v2 source/test change for one review preserving both commits. Updated staging inventory, diagram and actual evidence; Passwords hints are unchanged. No production approval or completed release is claimed. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
+4 -1
View File
@@ -47,12 +47,15 @@ healthy production. No credential or permission changed during these runs.
\bottomrule \endlastfoot
Role & Gitea work hub (Gitea 1.27.3 behind Caddy 2.11.4 TLS proxy); since
22 Oct 2026 also the Jenkins 2.580.1 LTS controller, which runs the CI builds;
its Java runtime was patched to Temurin 21.0.13.1+2 on 23 Nov 2026;
since 28 Oct 2026 also the monitoring stack (Prometheus 3.15.1, Grafana OSS
13.2.5, Node Exporter 1.12.1, Blackbox Exporter 0.29.1). The Assignment 3 Color Buttons app (29 Sep 2026) is retired: container
stopped with restart policy \texttt{no}; its Caddy route remains\\
Delivery agent & Legacy node \texttt{ssw590-vince-delivery}, label
\texttt{delivery-trusted}, one exclusive executor; image
\texttt{ssw590-delivery-agent:20261114}. RAM / RAM+swap: 512 / 768 MiB,
\texttt{ssw590-delivery-agent:}\allowbreak
\texttt{20261114-java21.0.13.1-2}, with patched Temurin 21.0.13.1+2
(23 Nov 2026). RAM / RAM+swap: 512 / 768 MiB,
0.5 CPU; separate pinned BuildKit: 256 / 384 MiB, 0.5 CPU.
Private WebSocket to Jenkins and SSH through Docker host gateway with pinned
public-IP host-key alias. Docker socket control grants host administration.