diff options
| author | Archana Polampalli <archana.polampalli@windriver.com> | 2024-08-12 10:23:52 +0000 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-19 06:09:14 -0700 |
| commit | f6c7e88446ae779c6d673c225b2ca0d1ecc39fbd (patch) | |
| tree | e7498291af9dcda9e1c9525305409257c0374548 /meta/recipes-multimedia/ffmpeg | |
| parent | b69d8694554a675e57be0a89fb533cd311487f9f (diff) | |
| download | poky-f6c7e88446ae779c6d673c225b2ca0d1ecc39fbd.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-multimedia/ffmpeg')
| -rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch | 29 | ||||
| -rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch new file mode 100644 index 0000000000..4b8935628f --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 5f87a68cf70dafeab2fb89b42e41a4c29053b89b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Paul B Mahol <onemda@gmail.com> | ||
| 3 | Date: Mon, 27 Nov 2023 12:08:20 +0100 | ||
| 4 | Subject: [PATCH] avfilter/vf_colorcorrect: fix memory leaks | ||
| 5 | |||
| 6 | CVE: CVE-2023-50008 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/5f87a68cf70dafeab2fb89b42e41a4c29053b89b] | ||
| 9 | |||
| 10 | Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> | ||
| 11 | --- | ||
| 12 | libavfilter/vf_colorcorrect.c | 2 ++ | ||
| 13 | 1 file changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c | ||
| 16 | index 1c4dea5..6bdec2c 100644 | ||
| 17 | --- a/libavfilter/vf_colorcorrect.c | ||
| 18 | +++ b/libavfilter/vf_colorcorrect.c | ||
| 19 | @@ -497,6 +497,8 @@ static av_cold void uninit(AVFilterContext *ctx) | ||
| 20 | ColorCorrectContext *s = ctx->priv; | ||
| 21 | |||
| 22 | av_freep(&s->analyzeret); | ||
| 23 | + av_freep(&s->uhistogram); | ||
| 24 | + av_freep(&s->vhistogram); | ||
| 25 | } | ||
| 26 | |||
| 27 | static const AVFilterPad colorcorrect_inputs[] = { | ||
| 28 | -- | ||
| 29 | 2.40.0 | ||
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb index 05919e6ffd..9b74d78fb1 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb | |||
| @@ -30,6 +30,7 @@ SRC_URI = " \ | |||
| 30 | file://CVE-2023-49502.patch \ | 30 | file://CVE-2023-49502.patch \ |
| 31 | file://CVE-2024-31578.patch \ | 31 | file://CVE-2024-31578.patch \ |
| 32 | file://CVE-2024-31582.patch \ | 32 | file://CVE-2024-31582.patch \ |
| 33 | file://CVE-2023-50008.patch \ | ||
| 33 | " | 34 | " |
| 34 | 35 | ||
| 35 | SRC_URI[sha256sum] = "8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968" | 36 | SRC_URI[sha256sum] = "8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968" |
