summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-01-01 20:50:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-03 22:35:48 +0000
commita1784da7043f0f45a9477f32f1156e947e815038 (patch)
treea61f167df92ee2477081ed0e067d9da251d67fe5
parent76af397213502b08ca296b08603bc8a23f3e52a2 (diff)
downloadpoky-a1784da7043f0f45a9477f32f1156e947e815038.tar.gz
python/python3: Whitelist CVE-2019-18348
This is not exploitable when glibc has CVE-2016-10739 fixed, which is fixed in the upstream version since warrior. (From OE-Core rev: 0da6e0a232019fe7eccfbdf33a13c1fe0a35cddd) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python.inc3
-rw-r--r--meta/recipes-devtools/python/python3_3.7.6.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 110ec315d9..19a2f3e743 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -29,6 +29,9 @@ CVE_CHECK_WHITELIST += "CVE-2017-18207"
29# of Python that cannot really be altered at this point." 29# of Python that cannot really be altered at this point."
30CVE_CHECK_WHITELIST += "CVE-2015-5652" 30CVE_CHECK_WHITELIST += "CVE-2015-5652"
31 31
32# This is not exploitable when glibc has CVE-2016-10739 fixed.
33CVE_CHECK_WHITELIST += "CVE-2019-18348"
34
32PYTHON_MAJMIN = "2.7" 35PYTHON_MAJMIN = "2.7"
33 36
34inherit autotools pkgconfig 37inherit autotools pkgconfig
diff --git a/meta/recipes-devtools/python/python3_3.7.6.bb b/meta/recipes-devtools/python/python3_3.7.6.bb
index af201d7f8f..8a03260f3f 100644
--- a/meta/recipes-devtools/python/python3_3.7.6.bb
+++ b/meta/recipes-devtools/python/python3_3.7.6.bb
@@ -47,6 +47,9 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
47 47
48CVE_PRODUCT = "python" 48CVE_PRODUCT = "python"
49 49
50# This is not exploitable when glibc has CVE-2016-10739 fixed.
51CVE_CHECK_WHITELIST += "CVE-2019-18348"
52
50PYTHON_MAJMIN = "3.7" 53PYTHON_MAJMIN = "3.7"
51PYTHON_BINABI = "${PYTHON_MAJMIN}m" 54PYTHON_BINABI = "${PYTHON_MAJMIN}m"
52 55