]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3: ignore CVE-2015-20107
authorRoss Burton <ross.burton@arm.com>
Mon, 25 Apr 2022 11:24:44 +0000 (12:24 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 29 Apr 2022 17:24:59 +0000 (07:24 -1000)
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.

Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85fac8408baf92d8b71946f5bfea92952b7eab01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/python/python3_3.8.13.bb

index d7f6e9155dec0deb0b9a39295d93247f66397eb4..040bacf97c75e0daed3e3c853dfe6f329ec5d29d 100644 (file)
@@ -57,6 +57,9 @@ CVE_CHECK_WHITELIST += "CVE-2019-18348"
 
 # This is windows only issue.
 CVE_CHECK_WHITELIST += "CVE-2020-15523 CVE-2022-26488"
+# The mailcap module is insecure by design, so this can't be fixed in a meaningful way.
+# The module will be removed in the future and flaws documented.
+CVE_CHECK_WHITELIST += "CVE-2015-20107"
 
 PYTHON_MAJMIN = "3.8"