Skip to contentSkip to conversation

apt: CVE-2011-3374

PATCH In review Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco) 3 participants 3 messages Jun 1 – Aug 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apt: 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_2.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/apt/apt_2.6.1.bb +3 -0
index 12915660b0..8b48de3498 100644
@@ -38,6 +38,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.44.4
#1 lore raw

Hello Anil

It seems this CVE is not fixed upstream, so the not-applicable tag must also be applied to master and wrynose

please submit patches for those two branches and then ping here

thanks a lot
Jeremy

Quoted 31 lines · On Mon Jun 1, 2026 at 3:40 PM CEST, Anil Dongare -X (adongare - E INFOCHIPS…

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_2.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/apt/apt_2.6.1.bb +3 -0
index 12915660b0..8b48de3498 100644
@@ -38,6 +38,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
#2 lore raw
Quoted 52 lines · Jérémy Rosen

Hello Anil

It seems this CVE is not fixed upstream, so the not-applicable tag must also be applied to master and wrynose

please submit patches for those two branches and then ping here

thanks a lot
Jeremy

Quoted 38 lines · On Mon Jun 1, 2026 at 3:40 PM CEST, Anil Dongare -X (adongare - E INFOCHIPS…

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_2.6.1.bb | 3 +++

1 file changed, 3 insertions(+)
meta/recipes-devtools/apt/apt_2.6.1.bb +0 -0
index 12915660b0..8b48de3498 100644
@@ -38,6 +38,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

Quoted 3 lines
Quoted 1 line

# User is added to allow apt to drop privs, will runtime warn without

Hi Jeremy,

As requested, patches for the same CVE were submitted for both master and wrynose.

The patch for master has now been merged, and the corresponding wrynose patch has also been submitted upstream.

Master:
https://git.openembedded.org/openembedded-core/commit/?id=5126e4792ddd8e6c721c47733d287633c234f2a9 ( https://git.openembedded.org/openembedded-core/commit/?id=5126e4792ddd8e6c721c47733d287633c234f2a9 )

Wrynose:
https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/ ( https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/ )

Could you please review the Scarthgap patch now?

Regards,
Hetvi