Vulnerabilities > CVE-2019-7146 - Out-of-bounds Read vulnerability in Elfutils Project Elfutils 0.175

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL

Summary

In elfutils 0.175, there is a buffer over-read in the ebl_object_note function in eblobjnote.c in libebl. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted elf file, as demonstrated by eu-readelf.

Vulnerable Configurations

Part Description Count
Application
Elfutils_Project
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Overread Buffers
    An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.

Nessus

  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2019-0209_ELFUTILS.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has elfutils packages installed that are affected by multiple vulnerabilities: - dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file. (CVE-2018-16062) - libelf/elf_end.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact because it tries to decompress twice. (CVE-2018-16402) - libdw in elfutils 0.173 checks the end of the attributes list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c and dwarf_hasattr in dwarf_hasattr.c, leading to a heap- based buffer over-read and an application crash. (CVE-2018-16403) - A heap-based buffer over-read was discovered in the function read_srclines in dwarf_getsrclines.c in libdw in elfutils 0.175. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by eu-nm. (CVE-2019-7149) - An issue was discovered in elfutils 0.175. A segmentation fault can occur in the function elf64_xlatetom in libelf/elf32_xlatetom.c, due to dwfl_segment_report_module not checking whether the dyn data read from a core file is truncated. A crafted input can cause a program crash, leading to denial-of-service, as demonstrated by eu-stack. (CVE-2019-7150) - An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file. (CVE-2018-18520) - Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled. (CVE-2018-18521) - An invalid memory address dereference was discovered in dwfl_segment_report_module.c in libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by consider_notes. (CVE-2018-18310) - In elfutils 0.175, a heap-based buffer over-read was discovered in the function elf32_xlatetom in elf32_xlatetom.c in libelf. A crafted ELF input can cause a segmentation fault leading to denial of service (program crash) because ebl_core_note does not reject malformed core file notes. (CVE-2019-7665) - In elfutils 0.175, a negative-sized memcpy is attempted in elf_cvt_note in libelf/note_xlate.h because of an incorrect overflow check. Crafted elf input causes a segmentation fault, leading to denial of service (program crash). (CVE-2019-7664) - In elfutils 0.175, there is a buffer over-read in the ebl_object_note function in eblobjnote.c in libebl. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted elf file, as demonstrated by eu-readelf. (CVE-2019-7146) - **DISPUTED** An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens. (CVE-2019-7148) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id129896
    published2019-10-15
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/129896
    titleNewStart CGSL CORE 5.04 / MAIN 5.04 : elfutils Multiple Vulnerabilities (NS-SA-2019-0209)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from ZTE advisory NS-SA-2019-0209. The text
    # itself is copyright (C) ZTE, Inc.
    
    include("compat.inc");
    
    if (description)
    {
      script_id(129896);
      script_version("1.2");
      script_cvs_date("Date: 2019/10/17 14:31:05");
    
      script_cve_id(
        "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_name(english:"NewStart CGSL CORE 5.04 / MAIN 5.04 : elfutils Multiple Vulnerabilities (NS-SA-2019-0209)");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote machine is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has elfutils packages installed that are affected
    by multiple vulnerabilities:
    
      - dwarf_getaranges in dwarf_getaranges.c in libdw in
        elfutils before 2018-08-18 allows remote attackers to
        cause a denial of service (heap-based buffer over-read)
        via a crafted file. (CVE-2018-16062)
    
      - libelf/elf_end.c in elfutils 0.173 allows remote
        attackers to cause a denial of service (double free and
        application crash) or possibly have unspecified other
        impact because it tries to decompress twice.
        (CVE-2018-16402)
    
      - libdw in elfutils 0.173 checks the end of the attributes
        list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c
        and dwarf_hasattr in dwarf_hasattr.c, leading to a heap-
        based buffer over-read and an application crash.
        (CVE-2018-16403)
    
      - A heap-based buffer over-read was discovered in the
        function read_srclines in dwarf_getsrclines.c in libdw
        in elfutils 0.175. A crafted input can cause
        segmentation faults, leading to denial-of-service, as
        demonstrated by eu-nm. (CVE-2019-7149)
    
      - An issue was discovered in elfutils 0.175. A
        segmentation fault can occur in the function
        elf64_xlatetom in libelf/elf32_xlatetom.c, due to
        dwfl_segment_report_module not checking whether the dyn
        data read from a core file is truncated. A crafted input
        can cause a program crash, leading to denial-of-service,
        as demonstrated by eu-stack. (CVE-2019-7150)
    
      - An Invalid Memory Address Dereference exists in the
        function elf_end in libelf in elfutils through v0.174.
        Although eu-size is intended to support ar files inside
        ar files, handle_ar in size.c closes the outer ar file
        before handling all inner entries. The vulnerability
        allows attackers to cause a denial of service
        (application crash) with a crafted ELF file.
        (CVE-2018-18520)
    
      - Divide-by-zero vulnerabilities in the function
        arlib_add_symbols() in arlib.c in elfutils 0.174 allow
        remote attackers to cause a denial of service
        (application crash) with a crafted ELF file, as
        demonstrated by eu-ranlib, because a zero sh_entsize is
        mishandled. (CVE-2018-18521)
    
      - An invalid memory address dereference was discovered in
        dwfl_segment_report_module.c in libdwfl in elfutils
        through v0.174. The vulnerability allows attackers to
        cause a denial of service (application crash) with a
        crafted ELF file, as demonstrated by consider_notes.
        (CVE-2018-18310)
    
      - In elfutils 0.175, a heap-based buffer over-read was
        discovered in the function elf32_xlatetom in
        elf32_xlatetom.c in libelf. A crafted ELF input can
        cause a segmentation fault leading to denial of service
        (program crash) because ebl_core_note does not reject
        malformed core file notes. (CVE-2019-7665)
    
      - In elfutils 0.175, a negative-sized memcpy is attempted
        in elf_cvt_note in libelf/note_xlate.h because of an
        incorrect overflow check. Crafted elf input causes a
        segmentation fault, leading to denial of service
        (program crash). (CVE-2019-7664)
    
      - In elfutils 0.175, there is a buffer over-read in the
        ebl_object_note function in eblobjnote.c in libebl.
        Remote attackers could leverage this vulnerability to
        cause a denial-of-service via a crafted elf file, as
        demonstrated by eu-readelf. (CVE-2019-7146)
    
      - **DISPUTED** An attempted excessive memory allocation
        was discovered in the function read_long_names in
        elf_begin.c in libelf in elfutils 0.174. Remote
        attackers could leverage this vulnerability to cause a
        denial-of-service via crafted elf input, which leads to
        an out-of-memory exception. NOTE: The maintainers
        believe this is not a real issue, but instead a warning
        caused by ASAN because the allocation is big. By setting
        ASAN_OPTIONS=allocator_may_return_null=1 and running the
        reproducer, nothing happens. (CVE-2019-7148)
    
    Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
    number.");
      script_set_attribute(attribute:"see_also", value:"http://security.gd-linux.com/notice/NS-SA-2019-0209");
      script_set_attribute(attribute:"solution", value:
    "Upgrade the vulnerable CGSL elfutils packages. Note that updated packages may not be available yet. Please contact ZTE
    for more information.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-16402");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/08/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/10/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/10/15");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"NewStart CGSL Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    release = get_kb_item("Host/ZTE-CGSL/release");
    if (isnull(release) || release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, "NewStart Carrier Grade Server Linux");
    
    if (release !~ "CGSL CORE 5.04" &&
        release !~ "CGSL MAIN 5.04")
      audit(AUDIT_OS_NOT, 'NewStart CGSL CORE 5.04 / NewStart CGSL MAIN 5.04');
    
    if (!get_kb_item("Host/ZTE-CGSL/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "NewStart Carrier Grade Server Linux", cpu);
    
    flag = 0;
    
    pkgs = {
      "CGSL CORE 5.04": [
        "elfutils-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-debuginfo-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-default-yama-scope-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-devel-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-devel-static-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-libelf-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-libelf-devel-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-libelf-devel-static-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-libelf-lang-0.176-2.el7.cgslv5.0.1.g732c7dd.lite",
        "elfutils-libs-0.176-2.el7.cgslv5.0.1.g732c7dd.lite"
      ],
      "CGSL MAIN 5.04": [
        "elfutils-0.176-2.el7.cgslv5",
        "elfutils-debuginfo-0.176-2.el7.cgslv5",
        "elfutils-default-yama-scope-0.176-2.el7.cgslv5",
        "elfutils-devel-0.176-2.el7.cgslv5",
        "elfutils-devel-static-0.176-2.el7.cgslv5",
        "elfutils-libelf-0.176-2.el7.cgslv5",
        "elfutils-libelf-devel-0.176-2.el7.cgslv5",
        "elfutils-libelf-devel-static-0.176-2.el7.cgslv5",
        "elfutils-libs-0.176-2.el7.cgslv5"
      ]
    };
    pkg_list = pkgs[release];
    
    foreach (pkg in pkg_list)
      if (rpm_check(release:"ZTE " + release, reference:pkg)) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "elfutils");
    }
    
  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2019-0258_ELFUTILS.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.05 / MAIN 5.05, has elfutils packages installed that are affected by multiple vulnerabilities: - dwarf_getaranges in dwarf_getaranges.c in libdw in elfutils before 2018-08-18 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file. (CVE-2018-16062) - libelf/elf_end.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact because it tries to decompress twice. (CVE-2018-16402) - libdw in elfutils 0.173 checks the end of the attributes list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c and dwarf_hasattr in dwarf_hasattr.c, leading to a heap- based buffer over-read and an application crash. (CVE-2018-16403) - A heap-based buffer over-read was discovered in the function read_srclines in dwarf_getsrclines.c in libdw in elfutils 0.175. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by eu-nm. (CVE-2019-7149) - An issue was discovered in elfutils 0.175. A segmentation fault can occur in the function elf64_xlatetom in libelf/elf32_xlatetom.c, due to dwfl_segment_report_module not checking whether the dyn data read from a core file is truncated. A crafted input can cause a program crash, leading to denial-of-service, as demonstrated by eu-stack. (CVE-2019-7150) - An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file. (CVE-2018-18520) - Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled. (CVE-2018-18521) - An invalid memory address dereference was discovered in dwfl_segment_report_module.c in libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by consider_notes. (CVE-2018-18310) - In elfutils 0.175, a heap-based buffer over-read was discovered in the function elf32_xlatetom in elf32_xlatetom.c in libelf. A crafted ELF input can cause a segmentation fault leading to denial of service (program crash) because ebl_core_note does not reject malformed core file notes. (CVE-2019-7665) - In elfutils 0.175, a negative-sized memcpy is attempted in elf_cvt_note in libelf/note_xlate.h because of an incorrect overflow check. Crafted elf input causes a segmentation fault, leading to denial of service (program crash). (CVE-2019-7664) - In elfutils 0.175, there is a buffer over-read in the ebl_object_note function in eblobjnote.c in libebl. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted elf file, as demonstrated by eu-readelf. (CVE-2019-7146) - **DISPUTED** An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens. (CVE-2019-7148) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id132468
    published2019-12-31
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132468
    titleNewStart CGSL CORE 5.05 / MAIN 5.05 : elfutils Multiple Vulnerabilities (NS-SA-2019-0258)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from ZTE advisory NS-SA-2019-0258. The text
    # itself is copyright (C) ZTE, Inc.
    
    include('compat.inc');
    
    if (description)
    {
      script_id(132468);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/02");
    
      script_cve_id(
        "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_bugtraq_id(
        107134,
        108523,
        108806,
        108862
      );
    
      script_name(english:"NewStart CGSL CORE 5.05 / MAIN 5.05 : elfutils Multiple Vulnerabilities (NS-SA-2019-0258)");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote machine is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote NewStart CGSL host, running version CORE 5.05 / MAIN 5.05, has elfutils packages installed that are affected
    by multiple vulnerabilities:
    
      - dwarf_getaranges in dwarf_getaranges.c in libdw in
        elfutils before 2018-08-18 allows remote attackers to
        cause a denial of service (heap-based buffer over-read)
        via a crafted file. (CVE-2018-16062)
    
      - libelf/elf_end.c in elfutils 0.173 allows remote
        attackers to cause a denial of service (double free and
        application crash) or possibly have unspecified other
        impact because it tries to decompress twice.
        (CVE-2018-16402)
    
      - libdw in elfutils 0.173 checks the end of the attributes
        list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c
        and dwarf_hasattr in dwarf_hasattr.c, leading to a heap-
        based buffer over-read and an application crash.
        (CVE-2018-16403)
    
      - A heap-based buffer over-read was discovered in the
        function read_srclines in dwarf_getsrclines.c in libdw
        in elfutils 0.175. A crafted input can cause
        segmentation faults, leading to denial-of-service, as
        demonstrated by eu-nm. (CVE-2019-7149)
    
      - An issue was discovered in elfutils 0.175. A
        segmentation fault can occur in the function
        elf64_xlatetom in libelf/elf32_xlatetom.c, due to
        dwfl_segment_report_module not checking whether the dyn
        data read from a core file is truncated. A crafted input
        can cause a program crash, leading to denial-of-service,
        as demonstrated by eu-stack. (CVE-2019-7150)
    
      - An Invalid Memory Address Dereference exists in the
        function elf_end in libelf in elfutils through v0.174.
        Although eu-size is intended to support ar files inside
        ar files, handle_ar in size.c closes the outer ar file
        before handling all inner entries. The vulnerability
        allows attackers to cause a denial of service
        (application crash) with a crafted ELF file.
        (CVE-2018-18520)
    
      - Divide-by-zero vulnerabilities in the function
        arlib_add_symbols() in arlib.c in elfutils 0.174 allow
        remote attackers to cause a denial of service
        (application crash) with a crafted ELF file, as
        demonstrated by eu-ranlib, because a zero sh_entsize is
        mishandled. (CVE-2018-18521)
    
      - An invalid memory address dereference was discovered in
        dwfl_segment_report_module.c in libdwfl in elfutils
        through v0.174. The vulnerability allows attackers to
        cause a denial of service (application crash) with a
        crafted ELF file, as demonstrated by consider_notes.
        (CVE-2018-18310)
    
      - In elfutils 0.175, a heap-based buffer over-read was
        discovered in the function elf32_xlatetom in
        elf32_xlatetom.c in libelf. A crafted ELF input can
        cause a segmentation fault leading to denial of service
        (program crash) because ebl_core_note does not reject
        malformed core file notes. (CVE-2019-7665)
    
      - In elfutils 0.175, a negative-sized memcpy is attempted
        in elf_cvt_note in libelf/note_xlate.h because of an
        incorrect overflow check. Crafted elf input causes a
        segmentation fault, leading to denial of service
        (program crash). (CVE-2019-7664)
    
      - In elfutils 0.175, there is a buffer over-read in the
        ebl_object_note function in eblobjnote.c in libebl.
        Remote attackers could leverage this vulnerability to
        cause a denial-of-service via a crafted elf file, as
        demonstrated by eu-readelf. (CVE-2019-7146)
    
      - **DISPUTED** An attempted excessive memory allocation
        was discovered in the function read_long_names in
        elf_begin.c in libelf in elfutils 0.174. Remote
        attackers could leverage this vulnerability to cause a
        denial-of-service via crafted elf input, which leads to
        an out-of-memory exception. NOTE: The maintainers
        believe this is not a real issue, but instead a warning
        caused by ASAN because the allocation is big. By setting
        ASAN_OPTIONS=allocator_may_return_null=1 and running the
        reproducer, nothing happens. (CVE-2019-7148)
    
    Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
    number.");
      script_set_attribute(attribute:"see_also", value:"http://security.gd-linux.com/notice/NS-SA-2019-0258");
      script_set_attribute(attribute:"solution", value:
    "Upgrade the vulnerable CGSL elfutils packages. Note that updated packages may not be available yet. Please contact ZTE
    for more information.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-16402");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/08/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/12/27");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/12/31");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"NewStart CGSL Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    release = get_kb_item("Host/ZTE-CGSL/release");
    if (isnull(release) || release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, "NewStart Carrier Grade Server Linux");
    
    if (release !~ "CGSL CORE 5.05" &&
        release !~ "CGSL MAIN 5.05")
      audit(AUDIT_OS_NOT, 'NewStart CGSL CORE 5.05 / NewStart CGSL MAIN 5.05');
    
    if (!get_kb_item("Host/ZTE-CGSL/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "NewStart Carrier Grade Server Linux", cpu);
    
    flag = 0;
    
    pkgs = {
      "CGSL CORE 5.05": [
        "elfutils-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-debuginfo-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-default-yama-scope-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-devel-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-devel-static-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-libelf-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-libelf-devel-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-libelf-devel-static-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-libelf-lang-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite",
        "elfutils-libs-0.176-2.el7.cgslv5_5.0.1.gf2430b1.lite"
      ],
      "CGSL MAIN 5.05": [
        "elfutils-0.176-2.el7.cgslv5_5",
        "elfutils-debuginfo-0.176-2.el7.cgslv5_5",
        "elfutils-default-yama-scope-0.176-2.el7.cgslv5_5",
        "elfutils-devel-0.176-2.el7.cgslv5_5",
        "elfutils-devel-static-0.176-2.el7.cgslv5_5",
        "elfutils-libelf-0.176-2.el7.cgslv5_5",
        "elfutils-libelf-devel-0.176-2.el7.cgslv5_5",
        "elfutils-libelf-devel-static-0.176-2.el7.cgslv5_5",
        "elfutils-libs-0.176-2.el7.cgslv5_5"
      ]
    };
    pkg_list = pkgs[release];
    
    foreach (pkg in pkg_list)
      if (rpm_check(release:"ZTE " + release, reference:pkg)) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "elfutils");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-44A9D99647.NASL
    descriptionNew upstream release 0.176. Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150, CVE-2019-7664 and CVE-2019-7665. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id122279
    published2019-02-19
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/122279
    titleFedora 29 : elfutils (2019-44a9d99647)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory FEDORA-2019-44a9d99647.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(122279);
      script_version("1.3");
      script_cvs_date("Date: 2020/02/12");
    
      script_cve_id("CVE-2019-7146", "CVE-2019-7148", "CVE-2019-7149", "CVE-2019-7150", "CVE-2019-7664", "CVE-2019-7665");
      script_xref(name:"FEDORA", value:"2019-44a9d99647");
    
      script_name(english:"Fedora 29 : elfutils (2019-44a9d99647)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "New upstream release 0.176. Fixes CVE-2019-7146, CVE-2019-7148,
    CVE-2019-7149, CVE-2019-7150, CVE-2019-7664 and CVE-2019-7665.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora update system website.
    Tenable has attempted to automatically clean and format it as much as
    possible without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-44a9d99647"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected elfutils package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-7665");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:elfutils");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:29");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/01/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/02/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/02/19");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! preg(pattern:"^29([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 29", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"FC29", reference:"elfutils-0.176-1.fc29")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "elfutils");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2019-3575.NASL
    descriptionAn update for elfutils is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link (s) in the References section. The elfutils packages contain a number of utility programs and libraries related to the creation and maintenance of executable code. The following packages have been upgraded to a later upstream version: elfutils (0.176). (BZ#1683705) Security Fix(es) : * elfutils: buffer over-read in the ebl_object_note function in eblobjnote.c in libebl (CVE-2019-7146) * elfutils: heap-based buffer over-read in read_srclines in dwarf_getsrclines.c in libdw (CVE-2019-7149) * elfutils: segmentation fault in elf64_xlatetom in libelf/elf32_xlatetom.c (CVE-2019-7150) * elfutils: out of bound write in elf_cvt_note in libelf/note_xlate.h (CVE-2019-7664) * elfutils: heap-based buffer over-read in function elf32_xlatetom in elf32_xlatetom.c (CVE-2019-7665) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.1 Release Notes linked from the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id130553
    published2019-11-06
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130553
    titleRHEL 8 : elfutils (RHSA-2019:3575)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2019:3575. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(130553);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/17");
    
      script_cve_id("CVE-2019-7146", "CVE-2019-7149", "CVE-2019-7150", "CVE-2019-7664", "CVE-2019-7665");
      script_xref(name:"RHSA", value:"2019:3575");
    
      script_name(english:"RHEL 8 : elfutils (RHSA-2019:3575)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An update for elfutils is now available for Red Hat Enterprise Linux
    8.
    
    Red Hat Product Security has rated this update as having a security
    impact of Low. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available for each
    vulnerability from the CVE link (s) in the References section.
    
    The elfutils packages contain a number of utility programs and
    libraries related to the creation and maintenance of executable code.
    
    The following packages have been upgraded to a later upstream version:
    elfutils (0.176). (BZ#1683705)
    
    Security Fix(es) :
    
    * elfutils: buffer over-read in the ebl_object_note function in
    eblobjnote.c in libebl (CVE-2019-7146)
    
    * elfutils: heap-based buffer over-read in read_srclines in
    dwarf_getsrclines.c in libdw (CVE-2019-7149)
    
    * elfutils: segmentation fault in elf64_xlatetom in
    libelf/elf32_xlatetom.c (CVE-2019-7150)
    
    * elfutils: out of bound write in elf_cvt_note in libelf/note_xlate.h
    (CVE-2019-7664)
    
    * elfutils: heap-based buffer over-read in function elf32_xlatetom in
    elf32_xlatetom.c (CVE-2019-7665)
    
    For more details about the security issue(s), including the impact, a
    CVSS score, acknowledgments, and other related information, refer to
    the CVE page(s) listed in the References section.
    
    Additional Changes :
    
    For detailed information on changes in this release, see the Red Hat
    Enterprise Linux 8.1 Release Notes linked from the References section."
      );
      # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?774148ae"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2019:3575"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-7146"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-7149"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-7150"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-7664"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-7665"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-7665");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-default-yama-scope");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-devel-static");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libelf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libelf-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libelf-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libelf-devel-static");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:elfutils-libs-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/01/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/06");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 8.x", "Red Hat " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2019:3575";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-debugsource-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-debugsource-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-debugsource-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-debugsource-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", reference:"elfutils-default-yama-scope-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libelf-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libelf-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libelf-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-libelf-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libelf-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libelf-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libelf-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libelf-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libelf-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libelf-devel-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-libelf-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libelf-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libelf-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libelf-devel-static-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libs-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libs-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libs-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"aarch64", reference:"elfutils-libs-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"i686", reference:"elfutils-libs-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"s390x", reference:"elfutils-libs-debuginfo-0.176-5.el8")) flag++;
      if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"elfutils-libs-debuginfo-0.176-5.el8")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "elfutils / elfutils-debuginfo / elfutils-debugsource / etc");
      }
    }
    

Redhat

advisories
rhsa
idRHSA-2019:3575
rpms
  • elfutils-0:0.176-5.el8
  • elfutils-debuginfo-0:0.176-5.el8
  • elfutils-debugsource-0:0.176-5.el8
  • elfutils-default-yama-scope-0:0.176-5.el8
  • elfutils-devel-0:0.176-5.el8
  • elfutils-devel-static-0:0.176-5.el8
  • elfutils-libelf-0:0.176-5.el8
  • elfutils-libelf-debuginfo-0:0.176-5.el8
  • elfutils-libelf-devel-0:0.176-5.el8
  • elfutils-libelf-devel-static-0:0.176-5.el8
  • elfutils-libs-0:0.176-5.el8
  • elfutils-libs-debuginfo-0:0.176-5.el8