Vulnerabilities > CVE-2019-5068 - Incorrect Permission Assignment for Critical Resource vulnerability in multiple products

047910
CVSS 4.4 - MEDIUM
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
NONE
local
low complexity
mesa3d
opensuse
debian
canonical
CWE-732
nessus

Summary

An exploitable shared memory permissions vulnerability exists in the functionality of X11 Mesa 3D Graphics Library 19.1.2. An attacker can access the shared memory without any specific permissions to trigger this vulnerability.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by the authorization framework, whose job it is to map ACLs to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application or can run queries for data that he is otherwise not supposed to.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.
  • Directory Indexing
    An adversary crafts a request to a target that results in the target listing/indexing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An adversary can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, backup files, temporary files, hidden files, configuration files, user accounts, script contents, as well as naming conventions, all of which can be used by an attacker to mount additional attacks.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Exploiting Incorrectly Configured Access Control Security Levels
    An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack. Most commonly, attackers would take advantage of controls that provided too little protection for sensitive activities in order to perform actions that should be denied to them. In some circumstances, an attacker may be able to take advantage of overly restrictive access control policies, initiating denial of services (if an application locks because it unexpectedly failed to be granted access) or causing other legitimate actions to fail due to security. The latter class of attacks, however, is usually less severe and easier to detect than attacks based on inadequate security restrictions. This attack pattern differs from CAPEC 1, "Accessing Functionality Not Properly Constrained by ACLs" in that the latter describes attacks where sensitive functionality lacks access controls, where, in this pattern, the access control is present, but incorrectly configured.

Nessus

  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-4271-1.NASL
    descriptionTim Brown discovered that Mesa incorrectly handled shared memory permissions. A local attacker could use this issue to obtain and possibly alter sensitive information belonging to another user. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. 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 id133549
    published2020-02-07
    reporterUbuntu Security Notice (C) 2020 Canonical, Inc. / NASL script (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133549
    titleUbuntu 18.04 LTS / 19.10 : mesa vulnerability (USN-4271-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-4271-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133549);
      script_version("1.2");
      script_cvs_date("Date: 2020/02/12");
    
      script_cve_id("CVE-2019-5068");
      script_xref(name:"USN", value:"4271-1");
    
      script_name(english:"Ubuntu 18.04 LTS / 19.10 : mesa vulnerability (USN-4271-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Tim Brown discovered that Mesa incorrectly handled shared memory
    permissions. A local attacker could use this issue to obtain and
    possibly alter sensitive information belonging to another user.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu security advisory. 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://usn.ubuntu.com/4271-1/"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:canonical:ubuntu_linux:libd3dadapter9-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libegl-mesa0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libegl1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libgl1-mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libgl1-mesa-glx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libglapi-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libgles2-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libglx-mesa0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libosmesa6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libwayland-egl1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:mesa-opencl-icd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:mesa-va-drivers");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:mesa-vdpau-drivers");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:mesa-vulkan-drivers");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:18.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:19.10");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/02/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/02/07");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2020 Canonical, Inc. / NASL script (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(18\.04|19\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 18.04 / 19.10", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) 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, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"18.04", pkgname:"libd3dadapter9-mesa", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libegl-mesa0", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libegl1-mesa", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libgbm1", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libgl1-mesa-dri", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libgl1-mesa-glx", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libglapi-mesa", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libgles2-mesa", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libglx-mesa0", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libosmesa6", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libwayland-egl1-mesa", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libxatracker2", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"mesa-opencl-icd", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"mesa-va-drivers", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"mesa-vdpau-drivers", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"mesa-vulkan-drivers", pkgver:"19.2.8-0ubuntu0~18.04.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libd3dadapter9-mesa", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libegl-mesa0", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libegl1-mesa", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libgbm1", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libgl1-mesa-dri", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libgl1-mesa-glx", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libglapi-mesa", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libgles2-mesa", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libglx-mesa0", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libosmesa6", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libwayland-egl1-mesa", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"libxatracker2", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"mesa-opencl-icd", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"mesa-va-drivers", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"mesa-vdpau-drivers", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    if (ubuntu_check(osver:"19.10", pkgname:"mesa-vulkan-drivers", pkgver:"19.2.8-0ubuntu0~19.10.2")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_NOTE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libd3dadapter9-mesa / libegl-mesa0 / libegl1-mesa / libgbm1 / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0145-1.NASL
    descriptionThis update for Mesa fixes the following issues : Security issue fixed : CVE-2019-5068: Fixed exploitable shared memory permissions vulnerability (bsc#1156015). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. 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 id133175
    published2020-01-22
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133175
    titleSUSE SLED12 / SLES12 Security Update : Mesa (SUSE-SU-2020:0145-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2020:0145-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133175);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/24");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"SUSE SLED12 / SLES12 Security Update : Mesa (SUSE-SU-2020:0145-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for Mesa fixes the following issues :
    
    Security issue fixed :
    
    CVE-2019-5068: Fixed exploitable shared memory permissions
    vulnerability (bsc#1156015).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. 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://bugzilla.suse.com/show_bug.cgi?id=1156015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2019-5068/"
      );
      # https://www.suse.com/support/update/announcement/2020/suse-su-20200145-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3d8600a0"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use the SUSE recommended
    installation methods like YaST online_update or 'zypper patch'.
    
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Workstation Extension 12-SP4 :
    
    zypper in -t patch SUSE-SLE-WE-12-SP4-2020-145=1
    
    SUSE Linux Enterprise Software Development Kit 12-SP4 :
    
    zypper in -t patch SUSE-SLE-SDK-12-SP4-2020-145=1
    
    SUSE Linux Enterprise Server 12-SP4 :
    
    zypper in -t patch SUSE-SLE-SERVER-12-SP4-2020-145=1
    
    SUSE Linux Enterprise Desktop 12-SP4 :
    
    zypper in -t patch SUSE-SLE-DESKTOP-12-SP4-2020-145=1"
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:novell:suse_linux:Mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-drivers-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2-2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2-2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/21");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/22");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED12|SLES12)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED12 / SLES12", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES12" && (! preg(pattern:"^(4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP4", os_ver + " SP" + sp);
    if (os_ver == "SLED12" && (! preg(pattern:"^(4)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP4", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES12", sp:"4", cpu:"x86_64", reference:"libxatracker2-1.0.0-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-debugsource-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-dri-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-dri-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-drivers-debugsource-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libEGL1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libEGL1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGL1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGL1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGLESv2-2-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGLESv2-2-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libglapi0-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libglapi0-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"libgbm1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"libgbm1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-dri-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-dri-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libEGL1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libEGL1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGL1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libGL1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libglapi0-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"Mesa-libglapi0-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"libgbm1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"4", reference:"libgbm1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-debugsource-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-dri-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-dri-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-dri-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-dri-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-drivers-debugsource-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libEGL1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libEGL1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libEGL1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGL1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGL1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGL1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGLESv2-2-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGLESv2-2-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGLESv2-2-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libGLESv2-2-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libglapi0-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libglapi0-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"Mesa-libglapi0-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libgbm1-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libgbm1-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libgbm1-debuginfo-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libgbm1-debuginfo-32bit-18.0.2-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libxatracker2-1.0.0-8.3.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-8.3.2")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());
      else security_note(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mesa");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2020-84.NASL
    descriptionThis update for Mesa fixes the following issues : Security issue fixed : - CVE-2019-5068: Fixed exploitable shared memory permissions vulnerability (bsc#1156015). This update was imported from the SUSE:SLE-15-SP1:Update update project.
    last seen2020-06-01
    modified2020-06-02
    plugin id133170
    published2020-01-22
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133170
    titleopenSUSE Security Update : Mesa (openSUSE-2020-84)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2020-84.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133170);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/24");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"openSUSE Security Update : Mesa (openSUSE-2020-84)");
      script_summary(english:"Check for the openSUSE-2020-84 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for Mesa fixes the following issues :
    
    Security issue fixed :
    
      - CVE-2019-5068: Fixed exploitable shared memory
        permissions vulnerability (bsc#1156015).
    
    This update was imported from the SUSE:SLE-15-SP1:Update update
    project."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1156015"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected Mesa packages.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:novell:opensuse:Mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-KHR-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-nouveau-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-dri-nouveau-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-drivers-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-gallium");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-gallium-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-gallium-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-gallium-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libEGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libEGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libEGL1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libEGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libEGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGL1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGLESv1_CM-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGLESv1_CM1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGLESv2-2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGLESv2-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libGLESv3-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libOpenCL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libOpenCL-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libVulkan-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libd3d-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi0-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libglapi0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libva");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:Mesa-libva-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa8");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa8-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa8-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libOSMesa8-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_nouveau-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_nouveau-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_r600");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_r600-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_r600-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXvMC_r600-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libgbm1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_nouveau-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_nouveau-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r300");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r300-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r300-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r300-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r600");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r600-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r600-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_r600-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_radeonsi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_radeonsi-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_radeonsi-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvdpau_radeonsi-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_intel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_intel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_intel-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_intel-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_radeon");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_radeon-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_radeon-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvulkan_radeon-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxatracker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxatracker2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.1");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/21");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/22");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE15\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.1", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-KHR-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-debugsource-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-dri-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-dri-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-dri-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-dri-nouveau-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-dri-nouveau-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-drivers-debugsource-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-gallium-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-gallium-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libEGL-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libEGL1-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libEGL1-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGL-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGL1-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGL1-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGLESv1_CM-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGLESv1_CM1-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGLESv2-2-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGLESv2-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libGLESv3-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libOpenCL-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libOpenCL-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libVulkan-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libd3d-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libd3d-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libd3d-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libglapi-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libglapi0-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libglapi0-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libva-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"Mesa-libva-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libOSMesa-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libOSMesa8-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libOSMesa8-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libXvMC_nouveau-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libXvMC_nouveau-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libXvMC_r600-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libXvMC_r600-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libgbm-devel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libgbm1-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libgbm1-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_nouveau-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_nouveau-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_r300-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_r300-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_r600-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_r600-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_radeonsi-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvdpau_radeonsi-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvulkan_intel-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvulkan_intel-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvulkan_radeon-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libvulkan_radeon-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libxatracker-devel-1.0.0-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libxatracker2-1.0.0-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libxatracker2-debuginfo-1.0.0-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-dri-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-dri-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-gallium-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-gallium-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libd3d-devel-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libglapi-devel-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libOSMesa-devel-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libOSMesa8-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libOSMesa8-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libXvMC_r600-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libXvMC_r600-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libgbm-devel-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libgbm1-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libgbm1-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_r300-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_r300-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_r600-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_r600-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvulkan_intel-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvulkan_intel-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-18.3.2-lp151.23.9.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-debuginfo-18.3.2-lp151.23.9.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());
      else security_note(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mesa-dri / Mesa-dri-debuginfo / Mesa-dri-nouveau / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0146-1.NASL
    descriptionThis update for Mesa fixes the following issues : Security issue fixed : CVE-2019-5068: Fixed exploitable shared memory permissions vulnerability (bsc#1156015). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. 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 id133176
    published2020-01-22
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133176
    titleSUSE SLES12 Security Update : Mesa (SUSE-SU-2020:0146-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2020:0146-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133176);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/24");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"SUSE SLES12 Security Update : Mesa (SUSE-SU-2020:0146-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for Mesa fixes the following issues :
    
    Security issue fixed :
    
    CVE-2019-5068: Fixed exploitable shared memory permissions
    vulnerability (bsc#1156015).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. 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://bugzilla.suse.com/show_bug.cgi?id=1156015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2019-5068/"
      );
      # https://www.suse.com/support/update/announcement/2020/suse-su-20200146-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?ed2ab6b1"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use the SUSE recommended
    installation methods like YaST online_update or 'zypper patch'.
    
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Workstation Extension 12-SP5 :
    
    zypper in -t patch SUSE-SLE-WE-12-SP5-2020-146=1
    
    SUSE Linux Enterprise Software Development Kit 12-SP5 :
    
    zypper in -t patch SUSE-SLE-SDK-12-SP5-2020-146=1
    
    SUSE Linux Enterprise Server 12-SP5 :
    
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2020-146=1"
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:novell:suse_linux:Mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-drivers-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2-2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/21");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/22");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLES12)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLES12", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES12" && (! preg(pattern:"^(5)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP5", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES12", sp:"5", cpu:"x86_64", reference:"libxatracker2-1.0.0-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-debugsource-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-dri-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-dri-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-drivers-debugsource-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libEGL1-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libEGL1-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGL1-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGL1-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGLESv2-2-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGLESv2-2-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libglapi0-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libglapi0-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"libgbm1-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"libgbm1-debuginfo-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-dri-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-dri-debuginfo-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libEGL1-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libEGL1-debuginfo-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGL1-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libGL1-debuginfo-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libglapi0-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"Mesa-libglapi0-debuginfo-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"libgbm1-32bit-18.3.2-14.3.2")) flag++;
    if (rpm_check(release:"SLES12", sp:"5", reference:"libgbm1-debuginfo-32bit-18.3.2-14.3.2")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());
      else security_note(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mesa");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0111-1.NASL
    descriptionThis update for Mesa fixes the following issues : Security issue fixed : CVE-2019-5068: Fixed exploitable shared memory permissions vulnerability (bsc#1156015). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. 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 id133033
    published2020-01-17
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133033
    titleSUSE SLED15 / SLES15 Security Update : Mesa (SUSE-SU-2020:0111-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2020:0111-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133033);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/21");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"SUSE SLED15 / SLES15 Security Update : Mesa (SUSE-SU-2020:0111-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for Mesa fixes the following issues :
    
    Security issue fixed :
    
    CVE-2019-5068: Fixed exploitable shared memory permissions
    vulnerability (bsc#1156015).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. 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://bugzilla.suse.com/show_bug.cgi?id=1156015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2019-5068/"
      );
      # https://www.suse.com/support/update/announcement/2020/suse-su-20200111-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?7543fe7c"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use the SUSE recommended
    installation methods like YaST online_update or 'zypper patch'.
    
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Workstation Extension 15-SP1 :
    
    zypper in -t patch SUSE-SLE-Product-WE-15-SP1-2020-111=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15-SP1 :
    
    zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-111=1
    
    SUSE Linux Enterprise Module for Basesystem 15-SP1 :
    
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP1-2020-111=1"
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:novell:suse_linux:Mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-KHR-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-drivers-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv1_CM-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv1_CM1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv3-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libOpenCL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libOpenCL-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libVulkan-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libva");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libva-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa8");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa8-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa8-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libXvMC_nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libXvMC_nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libXvMC_r600");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libXvMC_r600-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libXvMC_r600-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_nouveau");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_nouveau-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r300");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r300-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r300-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r600");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r600-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r600-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_radeonsi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_radeonsi-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_radeonsi-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_intel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_intel-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_intel-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_radeon");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_radeon-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_radeon-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/17");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED15|SLES15)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED15 / SLES15", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES15" && (! preg(pattern:"^(1)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP1", os_ver + " SP" + sp);
    if (os_ver == "SLED15" && (! preg(pattern:"^(1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP1", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libOSMesa-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libOSMesa8-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libOSMesa8-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libgbm-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libva-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libva-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libxatracker-devel-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libxatracker2-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-gallium-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-gallium-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libVulkan-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libgbm1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libgbm1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-drivers-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libOpenCL-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libOpenCL-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-KHR-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-dri-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-dri-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-dri-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-drivers-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-gallium-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-gallium-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libEGL-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libEGL1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libEGL1-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGL-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGL1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGL1-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGLESv1_CM-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGLESv1_CM1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGLESv2-2-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGLESv2-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libGLESv3-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libglapi-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libglapi0-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"Mesa-libglapi0-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libOSMesa-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libOSMesa8-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libOSMesa8-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libgbm-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libgbm1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libgbm1-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libOSMesa-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libOSMesa8-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libOSMesa8-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libXvMC_r600-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libgbm-devel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_nouveau-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libva-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libva-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r300-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_r600-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libxatracker-devel-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libxatracker2-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-dri-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-gallium-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-gallium-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libGL1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libVulkan-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libd3d-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libgbm1-32bit-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libgbm1-32bit-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvdpau_radeonsi-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_intel-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libvulkan_radeon-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-drivers-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libOpenCL-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libOpenCL-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-KHR-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-dri-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-dri-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-dri-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-drivers-debugsource-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-gallium-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-gallium-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libEGL-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libEGL1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libEGL1-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGL-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGL1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGL1-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGLESv1_CM-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGLESv1_CM1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGLESv2-2-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGLESv2-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libGLESv3-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libglapi-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libglapi0-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"Mesa-libglapi0-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libOSMesa-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libOSMesa8-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libOSMesa8-debuginfo-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libgbm-devel-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libgbm1-18.3.2-34.9.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libgbm1-debuginfo-18.3.2-34.9.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());
      else security_note(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mesa");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0132-1.NASL
    descriptionThis update for Mesa fixes the following issues : Security issue fixed : CVE-2019-5068: Fixed exploitable shared memory permissions vulnerability (bsc#1156015). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. 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 id133138
    published2020-01-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133138
    titleSUSE SLED15 / SLES15 Security Update : Mesa (SUSE-SU-2020:0132-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2020:0132-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133138);
      script_version("1.2");
      script_cvs_date("Date: 2020/01/23");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"SUSE SLED15 / SLES15 Security Update : Mesa (SUSE-SU-2020:0132-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for Mesa fixes the following issues :
    
    Security issue fixed :
    
    CVE-2019-5068: Fixed exploitable shared memory permissions
    vulnerability (bsc#1156015).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. 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://bugzilla.suse.com/show_bug.cgi?id=1156015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2019-5068/"
      );
      # https://www.suse.com/support/update/announcement/2020/suse-su-20200132-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?dbf94a0f"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use the SUSE recommended
    installation methods like YaST online_update or 'zypper patch'.
    
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Workstation Extension 15 :
    
    zypper in -t patch SUSE-SLE-Product-WE-15-2020-132=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15-SP1 :
    
    zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-132=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15 :
    
    zypper in -t patch SUSE-SLE-Module-Development-Tools-OBS-15-2020-132=1
    
    SUSE Linux Enterprise Module for Basesystem 15 :
    
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-2020-132=1"
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:novell:suse_linux:Mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-dri-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-drivers-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-gallium-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libEGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGL1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv1_CM-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv1_CM1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv2-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libGLESv3-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libOpenCL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libOpenCL-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libVulkan-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libd3d-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libglapi0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libva");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:Mesa-libva-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa8");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOSMesa8-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-32bit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libgbm1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r300");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r300-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r600");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_r600-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_radeonsi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvdpau_radeonsi-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_intel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_intel-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_radeon");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvulkan_radeon-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwayland-egl-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwayland-egl1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwayland-egl1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libxatracker2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/21");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED15|SLES15)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED15 / SLES15", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES15" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0/1", os_ver + " SP" + sp);
    if (os_ver == "SLED15" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP0/1", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libwayland-egl-devel-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"s390x", reference:"Mesa-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libwayland-egl-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libva-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libva-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_r300-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_r300-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_r600-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_r600-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libxatracker-devel-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libxatracker2-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-dri-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-dri-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-gallium-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-gallium-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libGL1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libVulkan-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libgbm1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libgbm1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_radeonsi-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvdpau_radeonsi-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvulkan_intel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvulkan_intel-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvulkan_radeon-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libvulkan_radeon-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-drivers-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libOpenCL-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libOpenCL-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-dri-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-dri-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-dri-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-drivers-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-gallium-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-gallium-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libEGL-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libEGL1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libEGL1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGL-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGL1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGL1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGLESv1_CM-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGLESv1_CM1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGLESv2-2-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGLESv2-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libGLESv3-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libglapi-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libglapi0-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"Mesa-libglapi0-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libOSMesa-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libOSMesa8-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libOSMesa8-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libgbm-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libgbm1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libgbm1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libwayland-egl-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libwayland-egl1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libwayland-egl1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libwayland-egl-devel-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"s390x", reference:"Mesa-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libwayland-egl-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libva-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libva-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_r300-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_r300-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_r600-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_r600-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libxatracker-devel-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libxatracker2-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libxatracker2-debuginfo-1.0.0-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-dri-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-dri-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-gallium-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-gallium-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libEGL1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libGL1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libGL1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libVulkan-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libd3d-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"Mesa-libglapi0-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libgbm1-32bit-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libgbm1-32bit-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_radeonsi-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvdpau_radeonsi-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvulkan_intel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvulkan_intel-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvulkan_radeon-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libvulkan_radeon-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-drivers-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libOpenCL-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libOpenCL-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-dri-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-dri-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-dri-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-drivers-debugsource-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-gallium-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-gallium-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libEGL-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libEGL1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libEGL1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGL-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGL1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGL1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGLESv1_CM-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGLESv1_CM1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGLESv2-2-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGLESv2-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libGLESv3-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libglapi-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libglapi0-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"Mesa-libglapi0-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libOSMesa-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libOSMesa8-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libOSMesa8-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libgbm-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libgbm1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libgbm1-debuginfo-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libwayland-egl-devel-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libwayland-egl1-18.0.2-27.6.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libwayland-egl1-debuginfo-18.0.2-27.6.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());
      else security_note(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mesa");
    }
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-1993.NASL
    descriptionTim Brown discovered a shared memory permissions vulnerability in the Mesa 3D graphics library. Some Mesa X11 drivers use shared-memory XImages to implement back buffers for improved performance, but Mesa creates shared memory regions with permission mode 0777. An attacker can access the shared memory without any specific permissions. For Debian 8
    last seen2020-06-01
    modified2020-06-02
    plugin id131084
    published2019-11-18
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131084
    titleDebian DLA-1993-1 : mesa security update
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Debian Security Advisory DLA-1993-1. The text
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131084);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/09");
    
      script_cve_id("CVE-2019-5068");
    
      script_name(english:"Debian DLA-1993-1 : mesa security update");
      script_summary(english:"Checks dpkg output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Tim Brown discovered a shared memory permissions vulnerability in the
    Mesa 3D graphics library. Some Mesa X11 drivers use shared-memory
    XImages to implement back buffers for improved performance, but Mesa
    creates shared memory regions with permission mode 0777. An attacker
    can access the shared memory without any specific permissions.
    
    For Debian 8 'Jessie', this problem has been fixed in version
    10.3.2-1+deb8u2.
    
    We recommend that you upgrade your mesa packages.
    
    NOTE: Tenable Network Security has extracted the preceding description
    block directly from the DLA security advisory. 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://lists.debian.org/debian-lts-announce/2019/11/msg00013.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/jessie/mesa"
      );
      script_set_attribute(attribute:"solution", value:"Upgrade the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N");
      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:L/UI:N/S:U/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      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:debian:debian_linux:libegl1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libegl1-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libegl1-mesa-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libegl1-mesa-drivers");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libegl1-mesa-drivers-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgbm-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgbm1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgbm1-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-dri");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-dri-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-glx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-glx-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-swx11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-swx11-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-swx11-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgl1-mesa-swx11-i686");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libglapi-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libglapi-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles1-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles1-mesa-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles2-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles2-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libgles2-mesa-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libopenvg1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libopenvg1-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libopenvg1-mesa-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libosmesa6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libosmesa6-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libwayland-egl1-mesa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libwayland-egl1-mesa-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libxatracker-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libxatracker2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libxatracker2-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:mesa-common-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:mesa-opencl-icd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:mesa-opencl-icd-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:mesa-vdpau-drivers");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:mesa-vdpau-drivers-dbg");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/15");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/18");
      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:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"8.0", prefix:"libegl1-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libegl1-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libegl1-mesa-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libegl1-mesa-drivers", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libegl1-mesa-drivers-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgbm-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgbm1", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgbm1-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-dri", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-dri-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-glx", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-glx-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-swx11", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-swx11-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-swx11-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgl1-mesa-swx11-i686", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libglapi-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libglapi-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles1-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles1-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles1-mesa-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles2-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles2-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libgles2-mesa-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libopenvg1-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libopenvg1-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libopenvg1-mesa-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libosmesa6", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libosmesa6-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libwayland-egl1-mesa", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libwayland-egl1-mesa-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libxatracker-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libxatracker2", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"libxatracker2-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"mesa-common-dev", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"mesa-opencl-icd", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"mesa-opencl-icd-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"mesa-vdpau-drivers", reference:"10.3.2-1+deb8u2")) flag++;
    if (deb_check(release:"8.0", prefix:"mesa-vdpau-drivers-dbg", reference:"10.3.2-1+deb8u2")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_note(port:0, extra:deb_report_get());
      else security_note(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    

Talos

idTALOS-2019-0857
last seen2019-11-13
published2019-10-23
reporterTalos Intelligence
sourcehttp://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0857
titleX11 Mesa 3D Graphics Library shared memory permissions vulnerability