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 C87E84C653 for ; Thu, 23 Jan 2025 21:54:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4273668B7CB; Thu, 23 Jan 2025 23:54:53 +0200 (EET) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8414668A817 for ; Thu, 23 Jan 2025 23:54:47 +0200 (EET) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-e53aa843a24so2665422276.0 for ; Thu, 23 Jan 2025 13:54:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737669286; x=1738274086; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=szg5KjY2C3o/KEr2Fn+xAnnqTdeoumNrsgp0y+pHvKE=; b=w4Kg+GeCUahA+iM5Qz+p6G/MbdSsfTELH5la3zrAGMyxbXM5GwIlYzT4SfekBXujdU F+qEyzBw9Bnvo3UIPvvj2Lh5nVE66abkaPs6SXgg+v0KejJsd8y0i+tif5XqBzeXzS83 L9Q2VBeoSicuNdk1KOfdquwcTlng22jA8dPHOdXrltQofDqii1OGOiU6GQI9ABsy2LbT jRI6uWYiv6VzIoTOLuWf377ZBxuSahNVl40MReRjToLHpUpRd3BgXrKOLhSQXeDlpt7c ajU9L5joITxmWriU8JQRBCEx0rJWrLg2b0G2N3aBgoFoVzFhsyA2M05wBZmfjihh5ugO ntuw== X-Gm-Message-State: AOJu0YxDkclKHH82B0fBcCzeA2KqUe0LL6E+M6oBw7tBfk62Xyw0+G76 3OBoSocrFl5BdP3M2QRjwryBS3X4zjQd0Y6Y3/CrN9+eCgOiTVarDpT19hH2tXYZLkNkvQu5pWb CPAyyV/lebE5Dg6Ks03Yy3oTEH/sJKg== X-Gm-Gg: ASbGncurB+I2Z+jgb5cXVJLb8cfpBdup35rEh8PkMsCPdgeOi0TuRDgdO5GLd7Bbap+ U/Q/H8H0qh4aebYJmqejBsgA7zNnEjXEDjDbr471dY/eIALWSagWQsAnVJ5T8QA== X-Google-Smtp-Source: AGHT+IGcyC+fSVqL4dyE8jD29XivXEOAuG1CWWWJEJ/RZHeSiy+0L8EaxWEUfFT1u1JTrrBN5IrJ0bAWQXl6Gl86KVw= X-Received: by 2002:a25:d00b:0:b0:e57:3165:296a with SMTP id 3f1490d57ef6-e583c1652demr915054276.22.1737669285841; Thu, 23 Jan 2025 13:54:45 -0800 (PST) MIME-Version: 1.0 References: <20250122203609.1796499-1-michael@niedermayer.cc> <20250122203609.1796499-2-michael@niedermayer.cc> <20250123001134.GA4991@pb2> In-Reply-To: <20250123001134.GA4991@pb2> Date: Thu, 23 Jan 2025 21:54:36 +0000 X-Gm-Features: AbW1kvZ5IgkAGch7Yiq5b9kK-khdXIf0YrTRs1HpjFBS-T8vqXgTc833sTpRSjo Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , From: Kieran Kunhya via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Kieran Kunhya Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Thu, 23 Jan 2025, 00:11 Michael Niedermayer, wrote: > Hi Kieran > > On Wed, Jan 22, 2025 at 10:47:52PM +0000, Kieran Kunhya via ffmpeg-devel > wrote: > > On Wed, 22 Jan 2025, 20:36 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 > > > > > > > Potentially this is a stupid question but what stops an attacker from > > faking the extension? > > How would he fake the extension ? > > The attacker generally wants to access a sensitive file, maybe one in > /etc or maybe .ssh with something like the tty demuxer / ansi decoder > > lets pick /etc/passwd as a specific example > Is there no control character they can use to fake the extension potentially? As an aside, why is this CVE from 2023 being fixed now? Kieran > _______________________________________________ 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".