Le 05/12/2026 à 19:22, Romain Beauxis a écrit :
Package: ocaml-cry
Version: 0.6.7-1
Severity: grave
Tags: security patch bookworm
Justification: user security hole
Dear Maintainer,
ocaml-cry 0.6.7 opens HTTPS connections with
Ssl.open_connection_with_context but never checks the verification
result nor sets the expected host, so any certificate is accepted for
any server, including a self-signed one. Liquidsoap 2.1.3 in bookworm
uses it for output.icecast(protocol="https", ...), so an attacker able
to intercept or redirect the connection can capture the source password
and stream.
Advisory: https://www.liquidsoap.info/security/LSA-2026-001/ <https://
www.liquidsoap.info/security/LSA-2026-001/>
Only bookworm is affected: trixie and later ship ocaml-cry 1.0.x, which
liquidsoap no longer uses for HTTPS.
bookworm is now LTS.
Attached is a patch against 0.6.7, with a DEP-3 header. It sets the
expected host (SNI and Ssl.set_host, or Ssl.set_ip for a canonical IP
literal) before the handshake and checks the verification result after
it, closing the socket on failure. It builds against the ocaml-ssl in
bookworm (0.5.13); we applied and compiled it against the Debian source
package.
This patch changes the ABI, which means recompilation (binNMUs) of all
reverse-dependencies... that's only liquidsoap. Given the static nature
of OCaml linking, liquidsoap would have to be recompiled anyway.
I am aware of #1156467, but IIUC it does not affect bookworm.
So what is needed is: an oldstable (security) update of ocaml-cry + a
binNMU of liquidsoap with the new ocaml-cry.
What do Debian LTS guys think? I am not familiar with LTS procedures...
Cheers,
--
Stéphane