Skip to contentSkip to conversation

libgcrypt: Whitelisted CVEs

PATCH Superseded saloni 2 participants 2 messages Feb 5, 2021

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

saloni

author
#0 lore raw

PATCH v2 1/1 libgcrypt: Whitelisted CVEs

Whitelisted below CVEs:

1. CVE-2018-12433

CVE-2018-12433 is marked disputed and ignored by NVD as it does not impact crypt libraries for any distros and hence, can be safely marked whitelisted.

2. CVE-2018-12438

CVE-2018-12438 was reported for affecting openjdk crypt libraries but there are no details available on which openjdk versions are affected and does not directly affect libgcrypt or any specific yocto distributions, hence, can be whitelisted.

---
 meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb +3 -0
index 4e0eb0a..ba3666f 100644
@@ -29,6 +29,9 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "348cc4601ca34307fc6cd6c945467743"
 SRC_URI[sha256sum] = "3b4a2a94cb637eff5bdebbcaf46f4d95c4f25206f459809339cdada0eb577ac3"
 
+# Below whitelisted CVEs are disputed and not affecting Ubuntu and Debian environments.
+CVE_CHECK_WHITELIST += "CVE-2018-12433 CVE-2018-12438"
+
 BINCONFIG = "${bindir}/libgcrypt-config"
 
 inherit autotools texinfo binconfig-disabled pkgconfig

--
2.7.4

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

#1 lore raw
Quoted 10 lines · saloni

Whitelisted below CVEs:

1. CVE-2018-12433

CVE-2018-12433 is marked disputed and ignored by NVD as it does not impact crypt libraries for any distros and hence, can be safely marked whitelisted.

Quoted 7 lines

2. CVE-2018-12438

CVE-2018-12438 was reported for affecting openjdk crypt libraries but there are no details available on which openjdk versions are affected and does not directly affect libgcrypt or any specific yocto distributions, hence, can be whitelisted.

Much better explanation.

I checked and master and gatesgarth are also flagging this issue. So this will need to go into the master branch first and then backported to gatesgarth and dunfell taking into account the different versions of libgcrypt.

Quoted 10 lines
---
 meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb +0 -0
index 4e0eb0a..ba3666f 100644

meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ · line 32

Quoted 4 lines
meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb +1 -0
@@ -29,6 +29,9 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "348cc4601ca34307fc6cd6c945467743"
 SRC_URI[sha256sum] = "3b4a2a94cb637eff5bdebbcaf46f4d95c4f25206f459809339cdada0eb577ac3"
 
+# Below whitelisted CVEs are disputed and not affecting Ubuntu and Debian environments.

Could you revise the comment and then resubmit for the master branch (with backports to gatesgarth and dunfell)?

Thanks,

Steve

Quoted 12 lines
meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb +2 -1
+CVE_CHECK_WHITELIST += "CVE-2018-12433 CVE-2018-12438"
+
 BINCONFIG = "${bindir}/libgcrypt-config"
 
 inherit autotools texinfo binconfig-disabled pkgconfig
--

2.7.4

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.