SuSE Update for java-1_8_0-openjdk openSUSE-SU-2016:0270-1 (java-1_8_0-openjdk)

2016-02-02T00:00:00
ID OPENVAS:1361412562310851185
Type openvas
Reporter Copyright (C) 2016 Greenbone Networks GmbH
Modified 2017-12-08T00:00:00

Description

Check the version of java-1_8_0-openjdk

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_suse_2016_0270_1.nasl 8047 2017-12-08 08:56:07Z santu $
#
# SuSE Update for java-1_8_0-openjdk openSUSE-SU-2016:0270-1 (java-1_8_0-openjdk)
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (C) 2016 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.851185");
  script_version("$Revision: 8047 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-08 09:56:07 +0100 (Fri, 08 Dec 2017) $");
  script_tag(name:"creation_date", value:"2016-02-02 17:16:18 +0100 (Tue, 02 Feb 2016)");
  script_cve_id("CVE-2015-4734", "CVE-2015-4803", "CVE-2015-4805", "CVE-2015-4806", 
                "CVE-2015-4810", "CVE-2015-4835", "CVE-2015-4840", "CVE-2015-4842", 
                "CVE-2015-4843", "CVE-2015-4844", "CVE-2015-4860", "CVE-2015-4868", 
                "CVE-2015-4872", "CVE-2015-4881", "CVE-2015-4882", "CVE-2015-4883", 
                "CVE-2015-4893", "CVE-2015-4901", "CVE-2015-4902", "CVE-2015-4903", 
                "CVE-2015-4906", "CVE-2015-4908", "CVE-2015-4911", "CVE-2015-4916", 
                "CVE-2015-7575", "CVE-2015-8126", "CVE-2015-8472", "CVE-2016-0402", 
                "CVE-2016-0448", "CVE-2016-0466", "CVE-2016-0483", "CVE-2016-0494");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"qod_type", value:"package");
  script_name("SuSE Update for java-1_8_0-openjdk openSUSE-SU-2016:0270-1 (java-1_8_0-openjdk)");
  script_tag(name: "summary", value: "Check the version of java-1_8_0-openjdk");
  script_tag(name: "vuldetect", value: "Get the installed version with the help 
of detect NVT and check if the version is vulnerable or not.");
  script_tag(name: "insight", value: "
  java-1_8_0-openjdk was updated to version 7u95 to fix several security
  issues. (bsc#962743)

  The following vulnerabilities were fixed:

  - CVE-2015-7575: Further reduce use of MD5 (SLOTH) (bsc#960996)
  - CVE-2015-8126: Vulnerability in the AWT component related to
  splashscreen displays
  - CVE-2015-8472: Vulnerability in the AWT component, addressed by same fix
  - CVE-2016-0402: Vulnerability in the Networking component related to URL
  processing
  - CVE-2016-0448: Vulnerability in the JMX comonent related to attribute
  processing
  - CVE-2016-0466: Vulnerability in the JAXP component, related to limits
  - CVE-2016-0483: Vulnerability in the AWT component related to image
  decoding
  - CVE-2016-0494: Vulnerability in 2D component related to font actions

  Includes the following fixes from the October 2015 update: (bsc#951376)

  - CVE-2015-4734: A remote user can exploit a flaw in the Embedded JGSS
  component to partially access data
  - CVE-2015-4803: A remote user can exploit a flaw in the JRockit JAXP
  component to cause partial denial of service conditions
  - CVE-2015-4805: A remote user can exploit a flaw in the Embedded
  Serialization component to gain elevated privileges
  - CVE-2015-4806: A remote user can exploit a flaw in the Java SE Embedded
  Libraries component to partially access and partially modify data
  - CVE-2015-4835: A remote user can exploit a flaw in the Embedded CORBA
  component to gain elevated privileges
  - CVE-2015-4842: A remote user can exploit a flaw in the Embedded JAXP
  component to partially access data
  - CVE-2015-4843: A remote user can exploit a flaw in the Java SE Embedded
  Libraries component to gain elevated privileges
  - CVE-2015-4844: A remote user can exploit a flaw in the Embedded 2D
  component to gain elevated privileges
  - CVE-2015-4860: A remote user can exploit a flaw in the Embedded RMI
  component to gain elevated privileges
  - CVE-2015-4872: A remote user can exploit a flaw in the JRockit Security
  component to partially modify data [].
  - CVE-2015-4881: A remote user can exploit a flaw in the Embedded CORBA
  component to gain elevated privileges
  - CVE-2015-4882: A remote user can exploit a flaw in the Embedded CORBA
  component to cause partial denial of service conditions
  - CVE-2015-4883: A remote user can exploit a flaw in the Embedded RMI
  component to gain elevated privileges
  - CVE-2015-4893: A remote user can exploit a flaw in the JRockit JAXP
  component to cause partial denial of service conditions
  - CVE-2015-4902: A remote user can exploit a flaw in the Java SE
  Deployment co ... 

  Description truncated, for more information please check the Reference URL");
  script_tag(name: "affected", value: "java-1_8_0-openjdk on openSUSE Leap 42.1");
  script_tag(name: "solution", value: "Please Install the Updated Packages.");

  script_xref(name: "openSUSE-SU", value: "2016:0270_1");
  script_tag(name:"solution_type", value:"VendorFix");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_family("SuSE Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/suse", "ssh/login/rpms");
  exit(0);
}

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

release = get_kb_item("ssh/login/release");

res = "";
if(release == NULL){
  exit(0);
}

if(release == "openSUSELeap42.1")
{

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk", rpm:"java-1_8_0-openjdk~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-accessibility", rpm:"java-1_8_0-openjdk-accessibility~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-debuginfo", rpm:"java-1_8_0-openjdk-debuginfo~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-debugsource", rpm:"java-1_8_0-openjdk-debugsource~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-demo", rpm:"java-1_8_0-openjdk-demo~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-demo-debuginfo", rpm:"java-1_8_0-openjdk-demo-debuginfo~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-devel", rpm:"java-1_8_0-openjdk-devel~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-headless", rpm:"java-1_8_0-openjdk-headless~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-headless-debuginfo", rpm:"java-1_8_0-openjdk-headless-debuginfo~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-src", rpm:"java-1_8_0-openjdk-src~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"java-1_8_0-openjdk-javadoc", rpm:"java-1_8_0-openjdk-javadoc~1.8.0.72~6.1", rls:"openSUSELeap42.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if (__pkg_match) exit(99); # Not vulnerable.
  exit(0);
}