mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
apt: mark CVE-2011-3374 as not-applicable-config
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. (From OE-Core rev: fea209d2e34efbd3bc3dc5af0f6df61f6a8a4353) Signed-off-by: Anil Dongare <adongare@cisco.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> [YC: made commit title more precise. net-update is disabled by default here: https://salsa.debian.org/apt-team/apt/-/blob/2.6.1/cmdline/apt-key.in?ref_type=tags#L179 ] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b2c16f1e69
commit
3ffe50e092
@@ -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.
|
# 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"
|
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
|
inherit cmake perlnative bash-completion useradd
|
||||||
|
|
||||||
# User is added to allow apt to drop privs, will runtime warn without
|
# User is added to allow apt to drop privs, will runtime warn without
|
||||||
|
|||||||
Reference in New Issue
Block a user