Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562310833272
HistoryMar 04, 2024 - 12:00 a.m.

openSUSE: Security Advisory for dwarves and elfutils (SUSE-SU-2022:2614-2)

2024-03-0400:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
2
opensuse
security
advisory
dwarves
elfutils
vulnerabilities
cve-2017-7607
cve-2017-7608
cve-2017-7609
update

9.8 High

CVSS3

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

6.6 Medium

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.01 Low

EPSS

Percentile

83.2%

The remote host is missing an update for the

# 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.0.833272");
  script_version("2024-04-16T05:05:31+0000");
  script_cve_id("CVE-2017-7607", "CVE-2017-7608", "CVE-2017-7609", "CVE-2017-7610", "CVE-2017-7611", "CVE-2017-7612", "CVE-2017-7613", "CVE-2018-16062", "CVE-2018-16402", "CVE-2018-16403", "CVE-2018-18310", "CVE-2018-18520", "CVE-2018-18521", "CVE-2019-7146", "CVE-2019-7148", "CVE-2019-7149", "CVE-2019-7150", "CVE-2019-7664", "CVE-2019-7665");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2024-04-16 05:05:31 +0000 (Tue, 16 Apr 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-10-29 13:29:10 +0000 (Mon, 29 Oct 2018)");
  script_tag(name:"creation_date", value:"2024-03-04 07:51:52 +0000 (Mon, 04 Mar 2024)");
  script_name("openSUSE: Security Advisory for dwarves and elfutils (SUSE-SU-2022:2614-2)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("SuSE Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/suse", "ssh/login/rpms", re:"ssh/login/release=openSUSELeapMicro5\.2");

  script_xref(name:"Advisory-ID", value:"SUSE-SU-2022:2614-2");
  script_xref(name:"URL", value:"https://lists.opensuse.org/archives/list/[email protected]/thread/CSVVBWGJAUITH5CVQ5RDT3ED4DYPWC7V");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'dwarves and elfutils'
  package(s) announced via the SUSE-SU-2022:2614-2 advisory.");

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

  script_tag(name:"insight", value:"This update for dwarves and elfutils fixes the following issues:
  elfutils was updated to version 0.177 (jsc#SLE-24501):

  - elfclassify: New tool to analyze ELF objects.

  - readelf: Print DW_AT_data_member_location as decimal offset. Decode
       DW_AT_discr_list block attributes.

  - libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.

  - libdwelf: Add dwelf_elf_e_machine_string. dwelf_elf_begin now only
       returns NULL when there is an error reading or decompressing a file. If
       the file is not an ELF file an ELF handle of type ELF_K_NONE is returned.

  - backends: Add support for C-SKY.
  Update to version 0.176:

  - build: Add new --enable-install-elfh option. Do NOT use this for system
       installs (it overrides glibc elf.h).

  - backends: riscv improved core file and return value location support.

  - Fixes:

  - CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7664 -
         CVE-2019-7150: dwfl_segment_report_module doesn't check whether the
         dyn data read from core file is truncated (bsc#1123685)

  - CVE-2019-7665: NT_PLATFORM core file note should be a zero terminated
         string (CVE is a bit misleading, as this is not a bug in libelf as
         described) (bsc#1125007)
  Update to version 0.175:

  - readelf: Handle multiple .debug_macro sections. Recognize and parse GNU
       Property, NT_VERSION and GNU Build Attribute ELF Notes.

  - strip: Handle SHT_GROUP correctly. Add strip --reloc-debug-sections-only
       option. Handle relocations against GNU compressed sections.

  - libdwelf: New function dwelf_elf_begin.

  - libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and
       BPF_JSLE. backends: RISCV handles ADD/SUB relocations. Handle
       SHT_X86_64_UNWIND.

  - CVE-2018-18521: arlib: Divide-by-zero vulnerabilities in the function
         arlib_add_symbols() used by eu-ranlib (bsc#1112723)

  - CVE-2018-18310: Invalid Address Read problem in
         dwfl_segment_report_module.c (bsc#1111973)

  - CVE-2018-18520: eu-size: Bad handling of ar files inside are files
         (bsc#1112726)
  Update to version 0.174:

  - libelf, libdw and all tools now handle extended shnum and shstrndx
       correctly.

  - elfcompress: Don't rewrite input file if no section data needs updating.
       Try harder to keep same file mode bits (suid) on rewrite.

  - strip: Handle mixed (out of order) allocated/non-allocated sections.

  - unstrip: Handle SHT_GROUP sections.

  - backends: RISCV and M68K now have backend implementations to gen ...

  Description truncated. Please see the references for more information.");

  script_tag(name:"affected", value:"'dwarves and elfutils' package(s) on openSUSE Leap Micro 5.2.");

  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");

  exit(0);
}

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

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

res = "";
report = "";

if(release == "openSUSELeapMicro5.2") {

  if(!isnull(res = isrpmvuln(pkg:"dwarves", rpm:"dwarves~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"dwarves-debuginfo", rpm:"dwarves-debuginfo~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"dwarves-debugsource", rpm:"dwarves-debugsource~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils", rpm:"elfutils~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils-debuginfo", rpm:"elfutils-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils-debugsource", rpm:"elfutils-debugsource~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libasm1", rpm:"libasm1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libasm1-debuginfo", rpm:"libasm1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdw1", rpm:"libdw1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdw1-debuginfo", rpm:"libdw1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves-devel", rpm:"libdwarves-devel~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves1", rpm:"libdwarves1~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves1-debuginfo", rpm:"libdwarves1-debuginfo~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libebl-plugins", rpm:"libebl-plugins~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libebl-plugins-debuginfo", rpm:"libebl-plugins-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libelf1", rpm:"libelf1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libelf1-debuginfo", rpm:"libelf1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"dwarves", rpm:"dwarves~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"dwarves-debuginfo", rpm:"dwarves-debuginfo~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"dwarves-debugsource", rpm:"dwarves-debugsource~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils", rpm:"elfutils~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils-debuginfo", rpm:"elfutils-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"elfutils-debugsource", rpm:"elfutils-debugsource~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libasm1", rpm:"libasm1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libasm1-debuginfo", rpm:"libasm1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdw1", rpm:"libdw1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdw1-debuginfo", rpm:"libdw1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves-devel", rpm:"libdwarves-devel~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves1", rpm:"libdwarves1~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libdwarves1-debuginfo", rpm:"libdwarves1-debuginfo~1.22~150300.7.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libebl-plugins", rpm:"libebl-plugins~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libebl-plugins-debuginfo", rpm:"libebl-plugins-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libelf1", rpm:"libelf1~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libelf1-debuginfo", rpm:"libelf1-debuginfo~0.177~150300.11.3.1", rls:"openSUSELeapMicro5.2"))) {
    report += res;
  }

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

exit(0);

9.8 High

CVSS3

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

6.6 Medium

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.01 Low

EPSS

Percentile

83.2%