summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-04-25 12:24:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-09 11:51:59 +0100
commit4dfdb53c8ac5bfd525b45686279ac5891aabd872 (patch)
tree8fcf52d2299c40b426c4b0097aebdc14a09687d1 /meta/recipes-devtools/python
parent64f632c93f487004e721ec7b4ae61b817157037b (diff)
downloadpoky-4dfdb53c8ac5bfd525b45686279ac5891aabd872.tar.gz
python3: ignore CVE-2015-20107
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. (From OE-Core rev: 1ed7bb74d35f08af3babf73c68ee01af5f28a50b) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3_3.8.13.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.13.bb b/meta/recipes-devtools/python/python3_3.8.13.bb
index d7f6e9155d..040bacf97c 100644
--- a/meta/recipes-devtools/python/python3_3.8.13.bb
+++ b/meta/recipes-devtools/python/python3_3.8.13.bb
@@ -57,6 +57,9 @@ CVE_CHECK_WHITELIST += "CVE-2019-18348"
57 57
58# This is windows only issue. 58# This is windows only issue.
59CVE_CHECK_WHITELIST += "CVE-2020-15523 CVE-2022-26488" 59CVE_CHECK_WHITELIST += "CVE-2020-15523 CVE-2022-26488"
60# The mailcap module is insecure by design, so this can't be fixed in a meaningful way.
61# The module will be removed in the future and flaws documented.
62CVE_CHECK_WHITELIST += "CVE-2015-20107"
60 63
61PYTHON_MAJMIN = "3.8" 64PYTHON_MAJMIN = "3.8"
62 65