From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id A8E2B489F7 for ; Tue, 28 Jan 2025 12:14:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8DC6868B548; Tue, 28 Jan 2025 14:14:36 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5565768B4A2 for ; Tue, 28 Jan 2025 14:14:29 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8F53320008 for ; Tue, 28 Jan 2025 12:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1738066468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NNfeIgW8Bgrr6Gjqc9mKnzcAugm3YRrAt0h57lMHsYA=; b=OSO41SX/gLbFnYIshER4Q5vRkvi4IOUejrooWmwB2AiS+70NFIKB5XpxH7YW7IuoYg7HwA bg39d8SHIeTUhVBW3plLz216Lw0k+jFszlOm3+pYoE5Usx+3aEawW14rR1gGwuNzPDUFXJ jUwC2LcLLsMXGUhUUACAzyGGbsPP0vDzMq146Adg1oY2OX+W5jE3oxWx0PGR2AF71FB/lw 76nmCqcPKyDXuB/x52cmN350fpgeMAPFyecycyT6HoI7iwmg7kiMHdNxUUjRjOdU4yBBBf hJmcCn2ZOiHRwr0VdMdCzttL/Z5Q1S6/w2ddWg4TnIwDpxp8kjzpnaJgEB1h5g== Date: Tue, 28 Jan 2025 13:14:27 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250128121427.GU4991@pb2> References: <20250122203609.1796499-1-michael@niedermayer.cc> <20250122203609.1796499-2-michael@niedermayer.cc> <20250123212747.GB4991@pb2> <20250125203841.GL4991@pb2> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/hls: Be more picky on extensions X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============6220773955428927181==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6220773955428927181== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bNCiCwwHEHuXmSb+" Content-Disposition: inline --bNCiCwwHEHuXmSb+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 28, 2025 at 06:11:33AM +0100, Vittorio Giovara wrote: > On Sat, Jan 25, 2025 at 9:38=E2=80=AFPM Michael Niedermayer > wrote: >=20 > > On Thu, Jan 23, 2025 at 10:27:47PM +0100, Michael Niedermayer wrote: > > > On Wed, Jan 22, 2025 at 09:36:09PM +0100, Michael Niedermayer wrote: > > > > This blocks disallowed extensions from probing > > > > It also requires all available segments to have matching extensions= to > > the format > > > > mpegts is treated independent of the extension > > > > > > > > It is recommended to set the whitelists correctly > > > > instead of depending on extensions, but this should help a bit, > > > > and this is easier to backport > > > > > > > > Fixes: CVE-2023-6602 II. HLS Force TTY Demuxer > > > > Fixes: CVE-2023-6602 IV. HLS XBIN Demuxer DoS Amplification > > > > > > > > The other parts of CVE-2023-6602 have been fixed by prior commits > > > > > > > > Found-by: Harvey Phillips of Amazon Element55 (element55) > > > > Signed-off-by: Michael Niedermayer > > > > --- > > > > doc/demuxers.texi | 7 +++++++ > > > > libavformat/hls.c | 50 +++++++++++++++++++++++++++++++++++++++++++= ++++ > > > > 2 files changed, 57 insertions(+) > > > > > > I intend to apply this patchset soon so it receives some testing befo= re > > 7.1.1 > > > > will apply > > >=20 > Should this be backported to other stable releases since it's a CVE? yes, but theres a related open regression with mpv https://trac.ffmpeg.org/ticket/11435 thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates --bNCiCwwHEHuXmSb+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ5jKIAAKCRBhHseHBAsP q18SAJ4j4E9HCEcQQCxucW4OSJdl696xwgCgk5nB8R80QXPRPOoAeq6/qwHTsTw= =Ep67 -----END PGP SIGNATURE----- --bNCiCwwHEHuXmSb+-- --===============6220773955428927181== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============6220773955428927181==--