Skip to content

fix(openssl): upgrade to 3.5.10 to address CVEs - #20633

Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
openssl-3.5.10-cves
Open

Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
openssl-3.5.10-cves

Conversation

@Kanishk-Bansal

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) commented Dec 1, 2026 •

Copy link
Copy Markdown

Summary

Upgrade the OpenSSL runtime from 3.5.9 to the signed upstream 3.5.10 patch release. Fedora 43 and 44 still package 3.5.9, so this keeps the imported Fedora 43 spec and existing Azure Linux overlays.

CVEs addressed (13)

The signed release changelog names each fix and the linked pull requests. Severities are from Astrolabe where available; OpenSSL rates all thirteen Low.

CVE Severity How the fix was verified
CVE-2026-35190 Medium Out-of-bounds read in TLS 1.3 key-share processing with Suite B flag; #33721.
CVE-2026-84785 Medium Unbounded out-of-order fragment reassembly in QUIC streams; #33346.
CVE-2026-84786 High Possible NULL dereference in non-SMTP DANE clients; #33634.
CVE-2026-88822 Medium Use of uninitialized stack data in QUIC automated peer detection; #33566.
CVE-2026-88823 High AES-GCM-SIV AAD forgery after a zero-length incremental AAD update; #33456.
CVE-2026-95691 High Use-after-free on retransmitted QUIC CRYPTO frames; #33543.
CVE-2026-95692 High Out-of-bounds read and incorrect IV length handling in AES-GCM-SIV; #33512.
CVE-2026-107493 High Use-after-free in PEM_X509_INFO_read_bio_ex() on stack append failure; #33662.
CVE-2026-107494 High Unbounded QUIC RETIRE_CONNECTION_ID frame sending queue; #33544.
CVE-2026-107496 High Infinite loop in CMS_encrypt() with an EC group order of 1; #33554.
CVE-2026-120666 Low (upstream; untracked) AES-SIV silently ignoring Additional Authenticated Data supplied after plaintext; #33904.
CVE-2026-121482 High Relative CRL distribution point names rebuilt per CRL in X.509 verification; #33546, #33843.
CVE-2026-124709 High Unbounded memory retention in QUIC server for rejected streams; #33718.

Notes

  • Twelve fixes correspond to tracked Azure Linux runtime records. CVE-2026-120666 is in the release notes but has no tracked runtime record; do not claim it.
  • CVE-2026-95690 is not counted. The release notes omit it, and upstream #33620 and #33729 are unmerged. Leave the record open.
  • The runtime still requires the separate registered provider. This change neither updates that provider nor changes its validation status.

Changes

  • Pin the signed upstream tarball by SHA512 and remove the 3.5.9 source checksum.
  • Update the Version tag and refresh only the test context in distro patch 0009 for the new upstream EC regression test. All 59 existing patches remain active.
  • Add a test-only patch setting rsa-pss-saltlen-check = 1 in the static FIPS fixture. Upstream normally supplies this check with fipsinstall -pedantic; without it, the two rejection vectors do not exercise the rejection path. No test is skipped, no expectation is relaxed, and the fixture is not installed.
  • Regenerate the OpenSSL lock and rendered packaging.

Testing

  • PR check scratch package build passed: build 1273079. Control Tower built openssl for the 4.0 environment at the PR head dc1e7b0f45 in about 13 min.
  • Lock and render drift checks passed; azldev comp update --check-only is clean.
  • The new NVR is higher than what is published for 4.0 today.
  • Local lock, render drift, NVR and commit checks passed. All 59 inherited distro patches plus test-fixture patch 0082 applied cleanly.
  • Built the final azldev SRPM in an isolated KVM guest cloned from a clean, latest-only Azure Linux 4.0 mock buildroot. The guest kernel supports AF_ALG skcipher, which is unavailable on the host. The full packaged suite passed: 353 files, 3,951 tests, including 30-test_afalg and 30-test_evp. No additional tests were skipped for this build.
  • Installed the built openssl and openssl-libs RPMs alongside SymCrypt-OpenSSL-1.11.3-9.azl4. Provider selection and SHA256 of abc passed with both default and SymCrypt providers. Confirmed ownership of the registration directory, the external provider dependency, and absence of bundled fips.so. This is not a FIPS certification test.

Use the signed upstream patch release on the current Fedora 43 spec.
Fedora 43 and 44 still package 3.5.9. Replace the old source checksum
and retain the Azure Linux provider integration and distro patches.
Refresh patch 0009's test context and enable the pedantic RSA-PSS salt
check in the static test fixture. Runtime policy is unchanged.

Addresses CVE(s):
CVE-2026-35190, CVE-2026-84785, CVE-2026-84786, CVE-2026-88822,
CVE-2026-88823, CVE-2026-95691, CVE-2026-95692, CVE-2026-107493,
CVE-2026-107494, CVE-2026-107496, CVE-2026-120666, CVE-2026-121482,
CVE-2026-124709
@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Dec 1, 2026
Copilot AI balanced review requested due to automatic review settings December 1, 2026 16:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new OpenSSL patch lacks required commit, original-author, and timezone-qualified date headers, leaving its provenance incomplete.

1 open issue
What changed in this PR

Upgrades Azure Linux’s OpenSSL runtime from 3.5.9 to 3.5.10 for security fixes, retaining the imported Fedora spec and existing Azure Linux customizations. Separately packaged providers remain unchanged.

Changes:

  • Pin the upstream 3.5.10 tarball with SHA512 and remove the obsolete checksum.
  • Refresh the EC test patch context and enable RSA-PSS salt-length rejection checks in the static test fixture.
  • Refresh the component lock and rendered packaging.
File Description
specs/​o/​openssl/​sources Replace the source checksum with the 3.5.10 checksum.
specs/​o/​openssl/​openssl.spec Update version/release and register the test-fixture patch.
specs/​o/​openssl/​0082-azl-exercise-pedantic-rsa-pss-check.patch Render the RSA-PSS test-fixture adjustment.
specs/​o/​openssl/​0009-RH-Drop-weak-curve-definitions-RENAMED-SQUASHED.patch Refresh context for the upstream EC regression test.
locks/​openssl.lock Refresh the component input fingerprint.
base/​comps/​openssl/​overlays/​0004-use-pedantic-rsa-pss-test-config.overlay.toml Add the test-fixture patch to the component.
base/​comps/​openssl/​overlays/​0003-update-to-3.5.10.overlay.toml Override the version, remove the old checksum, and refresh patch context.
base/​comps/​openssl/​openssl.comp.toml Declare the upstream tarball URL and SHA512 pin.
base/​comps/​openssl/​0082-azl-exercise-pedantic-rsa-pss-check.patch Enable salt-length rejection checks in the test-only FIPS configuration.

Review effort: Balanced

@@ -0,0 +1,15 @@
Subject: [PATCH] Set the pedantic RSA-PSS salt check in the static test fixture
@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants