From 13b96ece8130b7069133245212d9b594a3b17a77 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Fri, 13 Nov 2026 09:16:12 +0100 Subject: [PATCH] Release 4.11.0 --- NEWS.md | 24 ++++++++++++++++++++++++ src/hackney.app.src | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 9c05bcb8..ffc2f26a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,29 @@ # NEWS +4.11.0 - 2026-11-13 +------------------- + +### Security + +- Over HTTP/3, hackney accepted some server certificates whose names do + not match the host: a wildcard covering only part of a label (such as + `f*o.example.com`), a certificate matched only by its common name on + OTP 27 and 28, and, when connecting to an IP address, any certificate + signed by a trusted CA. These are now rejected as a hostname mismatch. +- A hostname with one very long label could keep the CPU busy for seconds + or more while it was converted to its ASCII form. It is now rejected + right away. +- Crash reports of HTTP/3 connections could print TLS secrets and session + ticket keys. They no longer do. + +### Changed + +- idna 8.0.0, quic 2.7.0, h2 0.17.0 and webtransport 0.5.6. +- Internationalized hostnames are checked more strictly: a name with an + empty label (such as `a..b`), an invalid `xn--` label, or more than 253 + characters is now refused. Hostnames are normalized with Unicode 18, + the same on every OTP release. + 4.10.2 - 2026-11-10 ------------------- diff --git a/src/hackney.app.src b/src/hackney.app.src index 4bdc5a9e..d26f5dba 100644 --- a/src/hackney.app.src +++ b/src/hackney.app.src @@ -4,7 +4,7 @@ {application, hackney, [ {description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"}, - {vsn, "4.10.2"}, + {vsn, "4.11.0"}, {registered, [hackney_pool]}, {applications, [kernel, stdlib,