Skip to content

Upgrade Node 24/26 patching libssl3/libcrypto3 CVEs - #148

Merged
johnwatson484 merged 3 commits into
mainfrom
copilot/update-pr-for-vuln-exclusions
Sep 5, 2026
Merged

Upgrade Node 24/26 patching libssl3/libcrypto3 CVEs#148
johnwatson484 merged 3 commits into
mainfrom
copilot/update-pr-for-vuln-exclusions

Conversation

Copilot AI commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Description

PR #147 fails because Alpine 3.24's bundled libssl3/libcrypto3 (3.5.7-r0) carries fixable CVEs (CVE-2026-14456, -14457, -18798, -54874, -63072 through -63076, -75803), blocking Grype/Trivy in the build-images (production, ...) jobs. A fix (3.5.8-r0) is already published in Alpine's v3.24/main repo, so per IMAGE_SCANNING.md policy these must be patched, not added to the ignore lists.

  • CVE fix: pin libssl3>=3.5.8 in the Dockerfile's apk add line (pulls in matching fixed libcrypto3)
  • Version bump: carried over PR Update base image: 24,26 #147's Node.js base image bump so the fix applies to the build that's currently failing
    • Node 24: 24.20.0
    • Node 26: 26.8.1
    • Node 22: 22.23.2
  • Docs: fixed a README table alignment nit
RUN apk add --no-cache tini ca-certificates 'libssl3>=3.5.8' \
    && npm install -g --ignore-scripts --prefix=/usr/local "npm@${NPM_VERSION}" \
    && npm cache clean --force

Checklist:

  • I have ensured the Defra version in the JOB.env file matches that in the Dockerfile
  • I have ensured the Node.js versions in the image-matrix.json match the Dockerfile and the table in the README.md
  • I have added newly ignored vulnerabilities to the POLICY_CONFIGURATION.md — n/a, no new ignores added; the CVEs above are patched directly instead
  • I have checked if previously identified vulnerabilities have been patched, and can be removed from the .grype.yaml, .trivyignore and POLICY_CONFIGURATION.md files — both files remain empty, nothing to remove

Copilot AI and others added 3 commits September 5, 2026 11:27
… CVEs blocking its build

Co-authored-by: johnwatson484 <42574977+johnwatson484@users.noreply.github.com>
Co-authored-by: johnwatson484 <42574977+johnwatson484@users.noreply.github.com>
Co-authored-by: johnwatson484 <42574977+johnwatson484@users.noreply.github.com>
@sonarqubecloud

sonarqubecloud Bot commented Sep 5, 2026

Copy link
Copy Markdown

Copilot AI requested a review from johnwatson484 September 5, 2026 11:29
@johnwatson484
johnwatson484 marked this pull request as ready for review September 5, 2026 12:24
@johnwatson484 johnwatson484 changed the title Fix libssl3/libcrypto3 CVEs blocking base image bump build (PR #147) Upgrade Node 24/26 patching libssl3/libcrypto3 CVEs Sep 5, 2026
@johnwatson484
johnwatson484 merged commit f729050 into main Sep 5, 2026
13 checks passed
@johnwatson484
johnwatson484 deleted the copilot/update-pr-for-vuln-exclusions branch September 5, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants