diff --git a/CHANGELOG.md b/CHANGELOG.md index 20275d52..390d6584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,36 @@ +0.24.2 +====== + +* Update openssl to 3.5.10 (security). Fixes 10 Low-severity CVEs: + CVE-2026-35190 (TLS 1.3 key-share OOB read with Suite B), + CVE-2026-84785 (unbounded QUIC out-of-order fragment reassembly), + CVE-2026-84786 (NULL deref in non-SMTP DANE clients), + CVE-2026-88822 (uninitialized stack data in QUIC peer detection), + CVE-2026-88823 (AES-GCM-SIV AAD forgery after zero-length AAD update), + CVE-2026-95691 (use-after-free on retransmitted QUIC CRYPTO frames), + CVE-2026-95692 (OOB read + bad IV in AES-GCM-SIV), + CVE-2026-107493 (use-after-free in ``PEM_X509_INFO_read_bio_ex``), + CVE-2026-107494 (unbounded QUIC ``RETIRE_CONNECTION_ID`` queue), and + CVE-2026-107496 (infinite loop in ``CMS_encrypt`` with EC group order 1). +* Update libffi to 3.8.3 (security, supersedes the 3.8.2 fixes). Hardens + the static trampoline and dual-mapped closure allocators against file + substitution, descriptor reuse, fork, exec, and unbounded growth + (GHSA-26w4-x7cp-hqrf, GHSA-c53h-r358-jq5p, GHSA-crmr-jj5p-g9m9, + GHSA-jcw7-j6f7-7f6c, GHSA-jrcv-gw2r-69p2, GHSA-p4qf-9qp5-wr7m, + GHSA-vxrh-9x7w-f873, GHSA-x484-2v5q-wpf4); rejects deeply-nested and + degenerate aggregates in ``ffi_prep_cif`` and the raw API + (GHSA-rg7h-586f-j3jq, GHSA-r9g2-p4xg-w9rm, GHSA-jv63-53jg-w9c4, + GHSA-93cv-5wh7-x97j, GHSA-8m94-mxq7-rgvq); stops leaking stale stack + bytes into struct results via unused argument registers + (GHSA-vw6q-85pv-vhgp); plus architecture-specific memory-safety and + calling-convention fixes on x86, AArch64/ARM, PowerPC, MIPS, SPARC, + RISC-V, LoongArch, Darwin, and AIX. +* Update xz to 5.8.5 (security). Fixes GHSA-vhhh-g38j-pr8q, a + data-corruption bug in the LZMA2 encoder; if triggered with a dictionary + size below 64 KiB, the encoder may read a few bytes before the start of + an array. Found via code analysis, no in-the-wild reports. + + 0.24.1 ====== diff --git a/relenv/build/linux.py b/relenv/build/linux.py index 729c451d..415f8a6e 100644 --- a/relenv/build/linux.py +++ b/relenv/build/linux.py @@ -287,6 +287,15 @@ def build_libffi(env: EnvMapping, dirs: Dirs, logfp: IO[str]) -> None: :param logfp: A handle for the log file :type logfp: file """ + # libffi 3.8.2 added a pthread_atfork() call for the static-trampoline + # fork-safety fix (GHSA-7qx4-vhpx-x6qm). Its configure doesn't notice + # it needs libpthread, so on toolchains where pthread_atfork lives in + # libpthread (e.g. ppbt's glibc 2.17 aarch64 cross toolchain) the + # resulting libffi.so.8 ends up with an undefined pthread_atfork + # symbol -> _ctypes fails to load at Python build time. Force + # -pthread into the cc driver so it links libpthread unconditionally. + env = dict(env) + env["LDFLAGS"] = f"-pthread {env.get('LDFLAGS', '')}".strip() runcmd( [ "./configure", diff --git a/relenv/common.py b/relenv/common.py index 58b58ddf..3a7bfa99 100644 --- a/relenv/common.py +++ b/relenv/common.py @@ -27,7 +27,7 @@ from collections.abc import Callable, Iterable, Mapping # relenv package version -__version__ = "0.24.1" +__version__ = "0.24.2" log = logging.getLogger(__name__) diff --git a/relenv/python-versions.json b/relenv/python-versions.json index 12b7de3c..44ec39c9 100644 --- a/relenv/python-versions.json +++ b/relenv/python-versions.json @@ -291,6 +291,15 @@ "darwin", "win32" ] + }, + "3.5.10": { + "url": "https://github.com/openssl/openssl/releases/download/openssl-{version}/openssl-{version}.tar.gz", + "sha256": "809c73022dfbda5dc7c6c6908cb838d59cbbace61c02f4e6b5cbf0b3c456ca03", + "platforms": [ + "linux", + "darwin", + "win32" + ] } }, "sqlite": { @@ -432,6 +441,15 @@ "darwin", "win32" ] + }, + "5.8.5": { + "url": "https://github.com/tukaani-project/xz/releases/download/v{version}/xz-{version}.tar.gz", + "sha256": "7393bd41ebac79c9817547f27b599a55db5574978f5902453f5a9e6665fec789", + "platforms": [ + "linux", + "darwin", + "win32" + ] } }, "libffi": { @@ -476,6 +494,13 @@ "platforms": [ "linux" ] + }, + "3.8.3": { + "url": "https://github.com/libffi/libffi/releases/download/v{version}/libffi-{version}.tar.gz", + "sha256": "ec4eced49619165c5a18a66b00a0a501250e74eb1b0e7b6547c8beabf95a98e2", + "platforms": [ + "linux" + ] } }, "zlib": {