<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/ssl/ech, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-07-27T16:36:03Z</updated>
<entry>
<title>ech: check memory failure in vpm allocation in store final check</title>
<updated>2026-07-27T16:36:03Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-07-24T12:42:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=544e28ee06ac247e8fa02b46e306145d1c52cf17'/>
<id>urn:sha1:544e28ee06ac247e8fa02b46e306145d1c52cf17</id>
<content type='text'>
This fixes issue found by fuzz test in updated corpora for
echconfiglist_parser.

Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Mon Jul 27 16:36:15 2026
(Merged from https://github.com/openssl/openssl/pull/32070)
</content>
</entry>
<entry>
<title>Use %zu for printing size_t values</title>
<updated>2026-06-15T19:24:36Z</updated>
<author>
<name>Andrew Dinh</name>
<email>andrewd@openssl.org</email>
</author>
<published>2026-06-09T10:59:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=145aea47775217013748e6232ebcd76e8de600e1'/>
<id>urn:sha1:145aea47775217013748e6232ebcd76e8de600e1</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
MergeDate: Mon Jun 15 19:24:43 2026
(Merged from https://github.com/openssl/openssl/pull/31454)
</content>
</entry>
<entry>
<title>Make ssl includes self-contained</title>
<updated>2026-05-06T11:35:24Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-04-14T18:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f3a0dfa766397ebc9de5e2cf93102f95d1e3ece5'/>
<id>urn:sha1:f3a0dfa766397ebc9de5e2cf93102f95d1e3ece5</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
MergeDate: Wed May  6 11:35:50 2026
(Merged from https://github.com/openssl/openssl/pull/31001)
</content>
</entry>
<entry>
<title>curl ECH+QUIC fix</title>
<updated>2026-04-11T18:29:36Z</updated>
<author>
<name>sftcd</name>
<email>stephen.farrell@cs.tcd.ie</email>
</author>
<published>2026-04-08T10:11:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=96c76dc72bb20a6c2b93dd91ac3cb4fbf0e15670'/>
<id>urn:sha1:96c76dc72bb20a6c2b93dd91ac3cb4fbf0e15670</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
MergeDate: Sat Apr 11 18:29:37 2026
(Merged from https://github.com/openssl/openssl/pull/30727)
</content>
</entry>
<entry>
<title>ECH: conformance test changes for echspec test tool</title>
<updated>2026-04-08T08:59:18Z</updated>
<author>
<name>sftcd</name>
<email>stephen.farrell@cs.tcd.ie</email>
</author>
<published>2026-03-17T21:10:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3f22aab4f9a0676db23e645abb3c5bdbdc84e464'/>
<id>urn:sha1:3f22aab4f9a0676db23e645abb3c5bdbdc84e464</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Wed Apr  8 08:59:20 2026
(Merged from https://github.com/openssl/openssl/pull/30419)
</content>
</entry>
<entry>
<title>ECH: Conformance test changes in response to AISLE review</title>
<updated>2026-04-08T08:59:01Z</updated>
<author>
<name>sftcd</name>
<email>stephen.farrell@cs.tcd.ie</email>
</author>
<published>2026-03-17T21:08:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7952bc4b8a31ba35d12f9109da0ab82a7ce3318a'/>
<id>urn:sha1:7952bc4b8a31ba35d12f9109da0ab82a7ce3318a</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Wed Apr  8 08:59:19 2026
(Merged from https://github.com/openssl/openssl/pull/30419)
</content>
</entry>
<entry>
<title>ech: fix off-by-one in hpke_decrypt_encch extensions length bounds check</title>
<updated>2026-03-20T18:04:09Z</updated>
<author>
<name>Daniel Cuthbert</name>
<email>daniel@seventysix.io</email>
</author>
<published>2026-03-17T18:58:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d8ea426e09314416d88f1cef9a25acb4caafcf80'/>
<id>urn:sha1:d8ea426e09314416d88f1cef9a25acb4caafcf80</id>
<content type='text'>
The bounds check before reading the two-byte extensions length field uses
extsoffset + 1 instead of extsoffset + 2:

    if ((extsoffset + 1) &gt; clearlen) { goto paderr; }
    extslen = clear[extsoffset] * 256 + clear[extsoffset + 1];

When extsoffset == clearlen - 1 the check passes, but the second read
clear[extsoffset + 1] is clear[clearlen], which is one byte beyond
the decrypted plaintext.  The allocation is OPENSSL_malloc(cipherlen)
where cipherlen = clearlen + AEAD_overhead, so the address is valid,
but the byte is uninitialised after OSSL_HPKE_open returns.

Using Valgrind confirmed an uninitialised-value read at this location
via the full server handshake path:

    hpke_decrypt_encch (ech_internal.c)
    ossl_ech_early_decrypt
    tls_process_client_hello
    state_machine
    SSL_do_handshake

The subsequent ch_len &gt; clearlen check (line 1875) acts as a safety net
and prevents the stale byte from being used further, so the practical
impact is a forced decode error rather than memory disclosure.
Nevertheless, the read itself is incorrect and should be fixed.

Fix: change the guard to extsoffset + 2 so that both bytes
of the extensions length field are confirmed to be within the decrypted
buffer before either is read.

This issue was identified through AI-assisted structural analysis
(RAPTOR) using CodeQL database tooling (AST analysis, control flow
verification, dominator tree analysis) against the OpenSSL master
branch.  The off-by-one was confirmed via AST inspection showing
GT(Add(extsoffset, 1), clearlen) instead of the expected
GT(Add(extsoffset, 2), clearlen).

Found by myself @danielcuthbert and validated
by Benjamin Rodes - Microsoft @bdrodes.

CLA: trivial
Fixes: 6c3edd4f3a8a "Add server-side handling of Encrypted Client Hello"

Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
MergeDate: Fri Mar 20 18:07:01 2026
(Merged from https://github.com/openssl/openssl/pull/30472)
</content>
</entry>
<entry>
<title>ECH: chunk-size bug fix and non-regression changes</title>
<updated>2026-03-19T10:35:54Z</updated>
<author>
<name>sftcd</name>
<email>stephen.farrell@cs.tcd.ie</email>
</author>
<published>2026-03-13T22:02:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dc449562f42db8d20f2d3153580a0292f07bfc3e'/>
<id>urn:sha1:dc449562f42db8d20f2d3153580a0292f07bfc3e</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.foundation&gt;
MergeDate: Thu Mar 19 10:35:56 2026
(Merged from https://github.com/openssl/openssl/pull/30417)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2026-03-10T14:37:52Z</updated>
<author>
<name>openssl-machine</name>
<email>openssl-machine@openssl.org</email>
</author>
<published>2026-03-10T14:37:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c7215806539ea0a312c42a5893b1f5f9eb9ae5ae'/>
<id>urn:sha1:c7215806539ea0a312c42a5893b1f5f9eb9ae5ae</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
MergeDate: Tue Mar 10 14:37:54 2026
Release: yes
</content>
</entry>
<entry>
<title>add check before releaseing retry-configs</title>
<updated>2026-03-02T09:55:27Z</updated>
<author>
<name>sftcd</name>
<email>stephen.farrell@cs.tcd.ie</email>
</author>
<published>2026-02-25T14:24:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7428975d3f5a0de5c17f8675c7cab0b536b56e35'/>
<id>urn:sha1:7428975d3f5a0de5c17f8675c7cab0b536b56e35</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
MergeDate: Mon Mar  2 09:55:44 2026
(Merged from https://github.com/openssl/openssl/pull/30175)
</content>
</entry>
</feed>
