Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562311220242394
HistorySep 12, 2024 - 12:00 a.m.

Huawei EulerOS: Security Advisory for kernel (EulerOS-SA-2024-2394)

2024-09-1200:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
1
huawei
euleros
security advisory
kernel
euleros-sa-2024-2394
greenbone ag
gpl-2.0-only
cve-2021-46952
cve-2021-47222
cve-2021-47223
cve-2021-47230
cve-2021-47236
cve-2021-47238
cve-2021-47245
cve-2021-47248
cve-2021-47250
cve-2021-47255
cve-2021-47259
cve-2021-47261
cve-2021-47265
cve-2021-47276
cve-2021-47277
cve-2021-47280
cve-2021-47284
cve-2021-47288
cve-2021-47293
cve-2021-47301
cve-2021-47302
cve-2021-47308
cve-2021-47319
cve-2021-47328
cve-2021-47329
cve-2021-47341
cve-2021-47342
cve-2021-47353
cve-2021-47376
cve-2021-47395
cve-2021-47397
cve-2021-47399
cve-2021-47405
cve-2021-47407
cve-2021-47416
cve-2021-47418
cve-2021-47424
cve-2021-47425
cve-2021-47427
cve-2021-47434
cve-2021-47438
cve-2021-47456
cve-2021-47464
cve-2021-47466

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.001

Percentile

45.2%

The remote host is missing an update for the Huawei EulerOS

# SPDX-FileCopyrightText: 2024 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.1.2.2024.2394");
  script_cve_id("CVE-2021-46952", "CVE-2021-47222", "CVE-2021-47223", "CVE-2021-47230", "CVE-2021-47236", "CVE-2021-47238", "CVE-2021-47245", "CVE-2021-47248", "CVE-2021-47250", "CVE-2021-47255", "CVE-2021-47259", "CVE-2021-47261", "CVE-2021-47265", "CVE-2021-47276", "CVE-2021-47277", "CVE-2021-47280", "CVE-2021-47284", "CVE-2021-47288", "CVE-2021-47293", "CVE-2021-47301", "CVE-2021-47302", "CVE-2021-47308", "CVE-2021-47319", "CVE-2021-47328", "CVE-2021-47329", "CVE-2021-47341", "CVE-2021-47342", "CVE-2021-47353", "CVE-2021-47376", "CVE-2021-47395", "CVE-2021-47397", "CVE-2021-47399", "CVE-2021-47405", "CVE-2021-47407", "CVE-2021-47416", "CVE-2021-47418", "CVE-2021-47424", "CVE-2021-47425", "CVE-2021-47427", "CVE-2021-47434", "CVE-2021-47438", "CVE-2021-47456", "CVE-2021-47464", "CVE-2021-47466", "CVE-2021-47468", "CVE-2021-47473", "CVE-2021-47478", "CVE-2021-47483", "CVE-2021-47495", "CVE-2021-47496", "CVE-2021-47497", "CVE-2021-47501", "CVE-2021-47511", "CVE-2021-47516", "CVE-2021-47527", "CVE-2021-47541", "CVE-2021-47544", "CVE-2021-47565", "CVE-2021-47576", "CVE-2021-47579", "CVE-2021-47583", "CVE-2021-47588", "CVE-2021-47589", "CVE-2021-47597", "CVE-2021-47602", "CVE-2021-47606", "CVE-2021-47617", "CVE-2021-47619", "CVE-2022-48715", "CVE-2022-48732", "CVE-2022-48742", "CVE-2022-48743", "CVE-2022-48744", "CVE-2022-48747", "CVE-2022-48754", "CVE-2022-48757", "CVE-2022-48758", "CVE-2022-48760", "CVE-2022-48772", "CVE-2022-48775", "CVE-2022-48786", "CVE-2022-48788", "CVE-2022-48789", "CVE-2022-48790", "CVE-2022-48804", "CVE-2022-48809", "CVE-2022-48810", "CVE-2022-48823", "CVE-2022-48828", "CVE-2022-48836", "CVE-2022-48839", "CVE-2022-48843", "CVE-2022-48850", "CVE-2022-48855", "CVE-2022-48865", "CVE-2023-47233", "CVE-2023-52683", "CVE-2023-52693", "CVE-2023-52698", "CVE-2023-52703", "CVE-2023-52707", "CVE-2023-52730", "CVE-2023-52741", "CVE-2023-52747", "CVE-2023-52752", "CVE-2023-52753", "CVE-2023-52754", "CVE-2023-52759", "CVE-2023-52762", "CVE-2023-52764", "CVE-2023-52796", "CVE-2023-52803", "CVE-2023-52809", "CVE-2023-52813", "CVE-2023-52832", "CVE-2023-52834", "CVE-2023-52843", "CVE-2023-52845", "CVE-2023-52847", "CVE-2023-52864", "CVE-2023-52868", "CVE-2023-52880", "CVE-2023-52881", "CVE-2023-6536", "CVE-2024-23848", "CVE-2024-24859", "CVE-2024-27417", "CVE-2024-31076", "CVE-2024-33621", "CVE-2024-35789", "CVE-2024-35805", "CVE-2024-35807", "CVE-2024-35808", "CVE-2024-35809", "CVE-2024-35811", "CVE-2024-35835", "CVE-2024-35853", "CVE-2024-35855", "CVE-2024-35877", "CVE-2024-35886", "CVE-2024-35888", "CVE-2024-35893", "CVE-2024-35895", "CVE-2024-35896", "CVE-2024-35898", "CVE-2024-35904", "CVE-2024-35910", "CVE-2024-35925", "CVE-2024-35930", "CVE-2024-35947", "CVE-2024-35950", "CVE-2024-35960", "CVE-2024-35962", "CVE-2024-35969", "CVE-2024-35976", "CVE-2024-35984", "CVE-2024-35995", "CVE-2024-35997", "CVE-2024-36004", "CVE-2024-36006", "CVE-2024-36007", "CVE-2024-36015", "CVE-2024-36016", "CVE-2024-36017", "CVE-2024-36286", "CVE-2024-36883", "CVE-2024-36886", "CVE-2024-36901", "CVE-2024-36902", "CVE-2024-36904", "CVE-2024-36905", "CVE-2024-36914", "CVE-2024-36917", "CVE-2024-36919", "CVE-2024-36924", "CVE-2024-36933", "CVE-2024-36938", "CVE-2024-36940", "CVE-2024-36941", "CVE-2024-36949", "CVE-2024-36950", "CVE-2024-36952", "CVE-2024-36954", "CVE-2024-36960", "CVE-2024-36971", "CVE-2024-37353", "CVE-2024-37356", "CVE-2024-38538", "CVE-2024-38552", "CVE-2024-38558", "CVE-2024-38559", "CVE-2024-38588", "CVE-2024-38596", "CVE-2024-38601", "CVE-2024-39276", "CVE-2024-39480", "CVE-2024-39487", "CVE-2024-39493", "CVE-2024-39494", "CVE-2024-39499", "CVE-2024-39501", "CVE-2024-40901", "CVE-2024-40904", "CVE-2024-40960", "CVE-2024-40978", "CVE-2024-40984", "CVE-2024-40995", "CVE-2024-40998", "CVE-2024-41005", "CVE-2024-41007");
  script_tag(name:"creation_date", value:"2024-09-12 08:10:51 +0000 (Thu, 12 Sep 2024)");
  script_version("2024-09-13T05:05:46+0000");
  script_tag(name:"last_modification", value:"2024-09-13 05:05:46 +0000 (Fri, 13 Sep 2024)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-07-24 19:17:25 +0000 (Wed, 24 Jul 2024)");

  script_name("Huawei EulerOS: Security Advisory for kernel (EulerOS-SA-2024-2394)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("Huawei EulerOS Local Security Checks");
  script_dependencies("gb_huawei_euleros_consolidation.nasl");
  script_mandatory_keys("ssh/login/euleros", "ssh/login/rpms", re:"ssh/login/release=EULEROS\-2\.0SP9\-X86_64");

  script_xref(name:"Advisory-ID", value:"EulerOS-SA-2024-2394");
  script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2024-2394");

  script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'kernel' package(s) announced via the EulerOS-SA-2024-2394 advisory.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");

  script_tag(name:"insight", value:"kernel:ACPI: CPPC: Use access_width over bit_width for system memory accesses(CVE-2024-35995)

ACPI: LPIT: Avoid u32 multiplication overflow(CVE-2023-52683)

ACPI: video: check for error while searching for backlight device parent(CVE-2023-52693)

bpf: Fix stackmap overflow check on 32-bit arches(CVE-2024-36949)

kernel: block: fix overflow in blk_ioctl_discard()(CVE-2024-36917)

kernel:block: prevent division by zero in blk_rq_stat_sum()(CVE-2024-35925)

bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue(CVE-2024-36938)

bpf, sockmap: Prevent lock inversion deadlock in map delete elem(CVE-2024-35895)

kernel:calipso: fix memory leak in netlbl_calipso_add_pass()(CVE-2023-52698)

drm/amd/display: Avoid NULL dereference of timing generator(CVE-2023-52753)

drm/amd/display: Skip on writeback when it's not applicable(CVE-2024-36914)

kernel:erspan: make sure erspan_base_hdr is present in skb->head(CVE-2024-35888)

kernel: ext4: fix corruption during on-line resize(CVE-2024-35807)

kernel: ext4: fix possible UAF when remounting r/o a mmp-protected file system(CVE-2021-47342)

firewire: ohci: mask bus reset interrupts between ISR and bottom half(CVE-2024-36950)

gfs2: ignore negated quota changes(CVE-2023-52759)

kernel:HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up(CVE-2024-35997)

kernel:i2c: smbus: fix NULL function pointer dereference(CVE-2024-35984)

kernel:i40e: Do not use WQ_MEM_RECLAIM flag for workqueue(CVE-2024-36004)

kernel:ipv6: fib6_rules: avoid possible NULL dereference in fib6_rule_action()(CVE-2024-36902)

kernel:ipv6: Fix infinite recursion in fib6_dump_done().(CVE-2024-35886)

kernel:ipv6: prevent NULL dereference in ip6_output()(CVE-2024-36901)

kernel:ipvlan: add ipvlan_route_v6_outbound() helper(CVE-2023-52796)

kernel: md/dm-raid: don&#39,t call md_reap_sync_thread() directly(CVE-2024-35808)

media: bttv: fix use after free error due to btv->timeout timer(CVE-2023-52847)

media: gspca: cpia1: shift-out-of-bounds in set_flicker(CVE-2023-52764)

mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update(CVE-2024-35855)

mlxsw: spectrum_acl_tcam: Fix warning during rehash(CVE-2024-36007)

kernel:net/mlx5: Properly link new fs rules into the tree(CVE-2024-35960)

kernel:net/mlx5e: fix a double-free in arfs_create_groups(CVE-2024-35835)

kernel:net: fix __dst_negative_advice() race(CVE-2024-36971)

kernel:net: fix out-of-bounds access in ops_init(CVE-2024-36883)

kernel:netfilter: validate user input for expected length(CVE-2024-35896)

NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds(CVE-2021-46952)

nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().(CVE-2024-36933)

nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells(CVE-2021-47497)

kernel: PCI/PM: Drain runtime-idle callbacks before driver removal(CVE-2024-35809)

kernel: pinctrl: core: ... [Please see the references for more information on the vulnerabilities]");

  script_tag(name:"affected", value:"'kernel' package(s) on Huawei EulerOS V2.0SP9(x86_64).");

  script_tag(name:"solution", value:"Please install the updated package(s).");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"package");
  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");

  exit(0);
}

include("revisions-lib.inc");
include("pkg-lib-rpm.inc");

release = rpm_get_ssh_release();
if(!release)
  exit(0);

res = "";
report = "";

if(release == "EULEROS-2.0SP9-x86_64") {

  if(!isnull(res = isrpmvuln(pkg:"kernel", rpm:"kernel~4.18.0~147.5.1.6.h1402.eulerosv2r9", rls:"EULEROS-2.0SP9-x86_64"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"kernel-tools", rpm:"kernel-tools~4.18.0~147.5.1.6.h1402.eulerosv2r9", rls:"EULEROS-2.0SP9-x86_64"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"kernel-tools-libs", rpm:"kernel-tools-libs~4.18.0~147.5.1.6.h1402.eulerosv2r9", rls:"EULEROS-2.0SP9-x86_64"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"python3-perf", rpm:"python3-perf~4.18.0~147.5.1.6.h1402.eulerosv2r9", rls:"EULEROS-2.0SP9-x86_64"))) {
    report += res;
  }

  if(report != "") {
    security_message(data:report);
  } else if(__pkg_match) {
    exit(99);
  }
  exit(0);
}

exit(0);

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.001

Percentile

45.2%