Skip to contentSkip to conversation

python3: ignore CVE-2015-20107

PATCH New Ross Burton 1 participant 1 message Apr 25, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/python/python3_3.10.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/python/python3_3.10.4.bb +3 -0
index 7eaafe34ad..d678d55083 100644
@@ -55,6 +55,9 @@ CVE_CHECK_IGNORE += "CVE-2007-4559"
 CVE_CHECK_IGNORE += "CVE-2019-18348"
 # These are specific to Microsoft Windows
 CVE_CHECK_IGNORE += "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_IGNORE += "CVE-2015-20107"
 
 PYTHON_MAJMIN = "3.10"
 
Signature · 1 line
2.25.1