Skip to contentSkip to conversation

go-distribution: CVE-2020-29591

PATCH Applied Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco) 2 participants 2 messages Jun 1 – Jun 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go-distribution: CVE-2020-29591

From: Anil Dongare <[email protected]>

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

CVE-2020-29591 affects official Docker Hub registry container images that shipped with an unlocked root account. This recipe is source-only:
it does not compile binaries and does not ship the official registry container image or root filesystem where the vulnerable configuration existed.

Mark this CVE as cpe-incorrect because the affected artifact is the official container image configuration, not the go-distribution source recipe.

---
 recipes-devtools/go/go-distribution_git.bb | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-devtools/go/go-distribution_git.bb +7 -0
index 740fdfe4..4e0b2a44 100644
@@ -14,6 +14,13 @@ PV = "2.6.0+git"
 
 S = "${WORKDIR}/git"
 
+# CVE-2020-29591 affects official Docker Hub registry container images
+# with an unlocked root account, not the go-distribution source recipe.
+# This recipe is source-only and does not ship the official registry
+# container image or rootfs where the vulnerable /etc/shadow
+# configuration existed.
+CVE_STATUS[CVE-2020-29591] = "cpe-incorrect: affects official registry container image configuration, not this source-only recipe"
+
 inherit meta-virt-depreciated-warning
 
 # NO-OP the do compile rule because this recipe is source only.
Signature · 1 line
2.44.4