Skip to content

Patched OTP floors, and a second validated FIPS provider in CI - #110

Merged
HackTuah merged 1 commit into
mainfrom
slice/065-otp-floors-fips-3.5.9
Nov 30, 2026
Merged

HackTuah merged 1 commit into
mainfrom
slice/065-otp-floors-fips-3.5.9

Conversation

@HackTuah

Copy link
Copy Markdown
Member

What

  • OTP floors (tools/otp-floors): 27.3.4.20, 28.5.0.9, 29.1.3, the releases of 2026-11-24. Each advisory's fixed versions were read at cna.erlef.org/cves/<id>.html:
    • nine (CVE-2026-115747, -116225, -116293, -116295, -116382, -117642, -119443, -120961, -125658) are fixed in exactly these three; five of them are in erts;
    • CVE-2026-124286 (ssl, critical 9.1) is a TLS 1.2 / DTLS 1.2 client defect, "Servers are not affected", fixed in 27.3.4.14, 28.5.0.9 and 29.0.3.
  • Pins: the box leg (gate, flake hunt), the FIPS leg and .tool-versions run 28.5.0.9. builds.hex.pm carries 27.3.4.20, 28.5.0.9 and 29.1.3 for ubuntu-24.04 and 26.04 on amd64 and arm64.
  • FIPS leg (fips.yml): a provider matrix, 3.5.9 (CMVP #5586) and 3.1.2 (CMVP #4985), each over OpenSSL 3.5.9's libcrypto, on x86_64 and aarch64.
    • 3.5.9 is built from one enable-fips tree, as its security policy's section 11.1 says.
    • Each row asserts the provider's build version and an ML-DSA-87 sign/verify, which must work under 3.5.9 and be refused under 3.1.2.
    • Downloads are checked against their publishers' SHA-256: OpenSSL's .sha256 asset and OTP's SHA256.txt.
  • Fixed, the negative control: it could not fail (below).
  • Docs: docs/fips.md names both providers, their certificates and what neither validates (no OpenSSL FIPS provider is validated for Linux on aarch64). The assurance case's box pair is updated, and so is the CHANGELOG.

No public entry, wire byte or default moves.

Measured locally, before CI

Measured on the toolchain this workflow builds (OTP 28.5.0.9 --enable-fips, OpenSSL 3.5.9, x86_64), running the workflow's own fipsinstall and assertion steps:

  • 3.5.9: FIPS enabled: provider 3.5.9 (CMVP #5586) over OpenSSL 3.5.9 29 Sep 2026; ML-DSA-87 offered.
  • 3.1.2: FIPS enabled: provider 3.1.2 (CMVP #4985) over OpenSSL 3.5.9 29 Sep 2026; ML-DSA-87 refused.
  • A planted wrong expectation (3.5.9 told ML-DSA is refused) turns the step red.
  • The old negative control (erl -crypto fips_mode true -eval 'enabled = crypto:info_fips()' without the provider configuration) exits 1 with a working provider configuration too: the module loads before the application, so fips_mode is never read. It showed nothing.
  • The new control exits 0 with the configuration and 1 without it, with the NIF's "load-call unsuccessful", which the step now requires.
  • The suite in FIPS mode under each provider: 11 properties, 792 tests, 0 failures (3.5.9 and 3.1.2).
  • tools/otp_floor.sh refuses OTP 28.5.0.8 ("below the patched floor 28.5.0.9") and passes 28.5.0.9. tools/probe_ci_legs_verdict.sh passes.

Every line's floor moves to the releases of 2026-11-24 (27.3.4.20, 28.5.0.9,
29.1.3), which fix ten EEF CNA advisories, five of them in the runtime itself,
and CVE-2026-124286, a critical TLS 1.2 client defect. The box leg, the flake
hunt and the FIPS leg run 28.5.0.9.

The FIPS leg now runs with OpenSSL FIPS provider 3.5.9 (CMVP #5586, ML-DSA
approved) and with 3.1.2 (CMVP #4985), over OpenSSL 3.5.9's libcrypto, on both
architectures. The same VM checks that ML-DSA-87 signs and verifies under 3.5.9
and is refused under 3.1.2, the fact a signer behind BeamMCP.Signer relies on.

The negative control could not fail: it asked crypto:info_fips() without
starting the crypto application, so fips_mode was never read and the check
failed with a working provider too. It now starts the application and requires
the NIF's own refusal.

Signed-off-by: Ayla Croft <aylacroft@proton.me>
@HackTuah
HackTuah merged commit 73a5e3b into main Nov 30, 2026
25 checks passed
@HackTuah
HackTuah deleted the slice/065-otp-floors-fips-3.5.9 branch November 30, 2026 00:10
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