Skip to contentSkip to conversation

python3-m2crypto: ignore CVE-2009-0127

PATCH New Gyorgy Sarvari 1 participant 2 messages Jan 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-m2crypto: ignore CVE-2009-0127

Details: https://nvd.nist.gov/vuln/detail/CVE-2009-0127

The vulnerability is disputed[1] by upstream:
"There is no vulnerability in M2Crypto. Nowhere in the functions are the return values of OpenSSL functions interpreted incorrectly. The functions provide an interface to their users that may be considered confusing, but is not incorrect, nor it is a vulnerability."

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-0127

---
 meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb +2 -0
index 9aac7b344f..efb6c79fa7 100644
@@ -12,6 +12,8 @@ SRC_URI += " \
           file://0002-fix-correct-struct-packing-on-32-bit-with-_TIME_BITS.patch \
 "
 
+CVE_STATUS[CVE-2009-0127] = "disputed: upstream claims there is no bug"
+
 inherit pypi siteinfo python_setuptools_build_meta
 
 DEPENDS += "openssl swig-native"
#1 lore raw

PATCH 2/2 python3-m2crypto: mark CVE-2020-25657 as patched

Details: https://nvd.nist.gov/vuln/detail/CVE-2020-25657

The commit[1] that fixes the vulnerability has been part of the package since version 0.39.0

[1]: https://git.sr.ht/~mcepl/m2crypto/commit/84c53958def0f510e92119fca14d74f94215827a

---
 meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb +1 -0
index efb6c79fa7..e534d32028 100644
@@ -13,6 +13,7 @@ SRC_URI += " \
 "
 
 CVE_STATUS[CVE-2009-0127] = "disputed: upstream claims there is no bug"
+CVE_STATUS[CVE-2020-25657] = "fixed-version: the used version (0.46.2) contains the fix already"
 
 inherit pypi siteinfo python_setuptools_build_meta