Skip to contentSkip to conversation

apt: fix CVE-2011-3374

PATCH New Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Jun 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apt: fix CVE-2011-3374

From: Anil Dongare <[email protected]>

Details: https://security-tracker.debian.org/tracker/CVE-2011-3374

The vulnerability is a design-level flaw in the legacy apt-key utility regarding the global trust model of GPG keys.

This is marked as not-applicable-config because apt-key net-update is disabled by default, and Debian vendor configuration does not define the archive keyring URI required to use that path. Ignore this CVE in this recipe due to this configuration.

---
 meta/recipes-devtools/apt/apt_3.0.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/apt/apt_3.0.3.bb +3 -0
index 08b6bac2e4..ad75f3b32a 100644
@@ -34,6 +34,9 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/"
 # to express 'divisible by 4 plus 2' in regex (that I know of), let's hardcode a few.
 UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>((2\.2)|(2\.6)|(3\.0)|(3\.4)|(3\.8)|(4\.2))(\.\d+)+)\.tar"
 
+# Not applicable: Debian vendor configuration does not enable apt-key net-update.
+CVE_STATUS[CVE-2011-3374] = "not-applicable-config: apt-key net-update is disabled by default and Debian vendor configuration has no archive keyring URI"
+
 inherit cmake perlnative bash-completion useradd
 
 # User is added to allow apt to drop privs, will runtime warn without
Signature · 1 line
2.51.0