mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
ffmpeg: fix CVE-2023-50008
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker to execute arbitrary code via the av_malloc function in libavutil/mem.c:105:9 component. (From OE-Core rev: e7aea9b5f66414afb6fefd9aad6123c42af94b4c) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
b69d869455
commit
f6c7e88446
@@ -0,0 +1,29 @@
|
|||||||
|
From 5f87a68cf70dafeab2fb89b42e41a4c29053b89b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Paul B Mahol <onemda@gmail.com>
|
||||||
|
Date: Mon, 27 Nov 2023 12:08:20 +0100
|
||||||
|
Subject: [PATCH] avfilter/vf_colorcorrect: fix memory leaks
|
||||||
|
|
||||||
|
CVE: CVE-2023-50008
|
||||||
|
|
||||||
|
Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/5f87a68cf70dafeab2fb89b42e41a4c29053b89b]
|
||||||
|
|
||||||
|
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
|
||||||
|
---
|
||||||
|
libavfilter/vf_colorcorrect.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c
|
||||||
|
index 1c4dea5..6bdec2c 100644
|
||||||
|
--- a/libavfilter/vf_colorcorrect.c
|
||||||
|
+++ b/libavfilter/vf_colorcorrect.c
|
||||||
|
@@ -497,6 +497,8 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||||
|
ColorCorrectContext *s = ctx->priv;
|
||||||
|
|
||||||
|
av_freep(&s->analyzeret);
|
||||||
|
+ av_freep(&s->uhistogram);
|
||||||
|
+ av_freep(&s->vhistogram);
|
||||||
|
}
|
||||||
|
|
||||||
|
static const AVFilterPad colorcorrect_inputs[] = {
|
||||||
|
--
|
||||||
|
2.40.0
|
||||||
@@ -30,6 +30,7 @@ SRC_URI = " \
|
|||||||
file://CVE-2023-49502.patch \
|
file://CVE-2023-49502.patch \
|
||||||
file://CVE-2024-31578.patch \
|
file://CVE-2024-31578.patch \
|
||||||
file://CVE-2024-31582.patch \
|
file://CVE-2024-31582.patch \
|
||||||
|
file://CVE-2023-50008.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968"
|
SRC_URI[sha256sum] = "8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968"
|
||||||
|
|||||||
Reference in New Issue
Block a user