Skip to content

fix(security): classify unreachable OpenSSL 3.5.9 advisories with OpenVEX - #1615

Merged
scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-openssl-vex
Nov 18, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-openssl-vex

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Four new OpenSSL advisories fail the Grype image gate on every PR: CVE-2026-107496, CVE-2026-88823, CVE-2026-95691 and CVE-2026-95692, against Alpine openssl, libssl3 and libcrypto3 3.5.9-r0. That's the newest Alpine 3.24 package as of today, so there's no fixed revision to pin.

None of them is reachable in Drydock:

  • CVE-2026-107496 is a hang in CMS_encrypt() with a malformed EC recipient cert. Drydock does no CMS encryption.
  • CVE-2026-88823 and CVE-2026-95692 are AES-GCM-SIV bugs. GCM-SIV isn't a TLS cipher suite and nothing in Drydock calls it.
  • CVE-2026-95691 is a use-after-free in the OpenSSL QUIC client. Drydock talks HTTP/1.1 and HTTP/2 over TCP TLS. The system libssl3 is only used by apk-tools, libcurl under git over HTTPS (no HTTP/3), and busybox ssl_client. Node bundles its own OpenSSL and doesn't link the system library.

Following the zlib precedent, this adds docker/openssl-3.5.9.vex.json with one not_affected / vulnerable_code_not_in_execute_path statement per CVE, scoped to exactly those three 3.5.9-r0 packages, and lists it in .grype.yaml. There are still no ignore rules. A new test pins the CVEs, products and reasons, and the document gets deleted when Alpine ships a fixed openssl.

Grype with this config against the published 1.8.0-rc.15 image reports nothing HIGH or CRITICAL. The remaining findings are mediums (busybox, openssl CVE-2026-88822, two git ones).

✨ Added

  • docker/openssl-3.5.9.vex.json: OpenVEX document with four statements.
  • CVEs: CVE-2026-107496, CVE-2026-88823, CVE-2026-95691, CVE-2026-95692.
  • Each statement: not_affected, justification vulnerable_code_not_in_execute_path.
  • Scope: Alpine openssl, libssl3, libcrypto3, version 3.5.9-r0 only.
  • scripts/openssl-vex.test.mjs (+36): asserts the four CVEs, not_affected status, justification, three products, advisory-specific reasons, revision scope, and removal instruction.

🔧 Changed

  • .grype.yaml (+5): adds docker/openssl-3.5.9.vex.json to vex-documents, next to the zlib document. Adds comments. Ignore rules and severity cutoffs are unchanged.
  • scripts/zlib-vex.test.mjs (+4/-1): Grype config test expects both zlib and OpenSSL VEX documents.

🗑️ Removed

  • One line in scripts/zlib-vex.test.mjs (the single-document assertion).

⚠️ Breaking

  • None.

🔒 Security

  • Suppresses four OpenSSL advisories in Grype output through VEX not_affected statements. Reachability rests on author assertions, not on code analysis in this diff.

Concerns:

  • Diff total is 131 lines added. Per-file counts from the raw summary sum to 130. Verify the count.
  • Reachability claims (no CMS, no AES-GCM-SIV, no QUIC client, Node bundles its own OpenSSL) are author statements. Confirm each against the Drydock source before relying on them.
  • PR description reports Grype shows no HIGH/CRITICAL findings for 1.8.0-rc.15. This result is not verified here.
  • Objectives list CVE-2026-88822 as a remaining medium finding. The VEX covers CVE-2026-88823. Confirm the IDs are correct and not swapped.
  • Removal depends on Alpine shipping fixed OpenSSL. No automated trigger exists. Track manually.
  • Tests assert literal text (reasons, product lists). Changes to wording break tests without a status change.
  • Scope is pinned to 3.5.9-r0. A base image bump to another revision drops the suppression and re-surfaces findings. This is intended, but confirm the image pin.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Grype configuration adds an OpenSSL VEX document alongside the existing zlib document. The new document marks four advisories as not affected for Alpine openssl, libssl3, and libcrypto3 version 3.5.9-r0, citing vulnerable code paths that the document states are not executed by Drydock. Tests check the advisory statements, product scope, removal wording, and configuration entry.

Change: Other

Merge Risk: Minimal · up to 583a9

This change suppresses four OpenSSL advisories in vulnerability scans for the 3.5.9-r0 packages on the basis that Drydock does not execute the affected code. It does not alter runtime behavior. It is low risk and the VEX file is scoped to one package version, so it stops applying once Alpine ships a different OpenSSL release.

Pre-merge checks: Passed 2

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ab92939 and 583a907.

Files ignored due to path filters: 1

  • CHANGELOG.md is excluded by !CHANGELOG.md
Files selected for processing: 4

  • .grype.yaml
  • docker/openssl-3.5.9.vex.json
  • scripts/openssl-vex.test.mjs
  • scripts/zlib-vex.test.mjs

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn merged commit 7037be0 into dev/v1.8 Nov 18, 2026
33 checks passed
@scttbnsn
scttbnsn deleted the fix/v1.8-openssl-vex branch November 18, 2026 18:13
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.

1 participant