Lucene search

K
nessusThis script is Copyright (C) 2017-2021 Tenable Network Security, Inc.OPENSUSE-2017-402.NASL
HistoryApr 03, 2017 - 12:00 a.m.

openSUSE Security Update : gstreamer-0_10-plugins-good (openSUSE-2017-402)

2017-04-0300:00:00
This script is Copyright (C) 2017-2021 Tenable Network Security, Inc.
www.tenable.com
28

This update for gstreamer-0_10-plugins-good fixes the following issues :

Security issues fixed :

  • CVE-2016-9634, CVE-2016-9635: add some bounds checking (boo#1012102 boo#1012103).

  • CVE-2016-9636: fix casting for some comparisons (boo#1012104).

  • CVE-2016-9807, CVE-2016-9808: rewrite logic using GsgtByteReader/Writer (boo#1013653 boo#1013655).

  • CVE-2016-9810: don’t unref() parent in the chain function (boo#1013663).

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from openSUSE Security Update openSUSE-2017-402.
#
# The text description of this plugin is (C) SUSE LLC.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(99150);
  script_version("3.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_cve_id("CVE-2016-9634", "CVE-2016-9635", "CVE-2016-9636", "CVE-2016-9807", "CVE-2016-9808", "CVE-2016-9810");

  script_name(english:"openSUSE Security Update : gstreamer-0_10-plugins-good (openSUSE-2017-402)");
  script_summary(english:"Check for the openSUSE-2017-402 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 gstreamer-0_10-plugins-good fixes the following 
issues :

Security issues fixed :

  - CVE-2016-9634, CVE-2016-9635: add some bounds checking
    (boo#1012102 boo#1012103).

  - CVE-2016-9636: fix casting for some comparisons
    (boo#1012104).

  - CVE-2016-9807, CVE-2016-9808: rewrite logic using
    GsgtByteReader/Writer (boo#1013653 boo#1013655).

  - CVE-2016-9810: don't unref() parent in the chain
    function (boo#1013663)."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1012102"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1012103"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1012104"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1013653"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1013655"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1013663"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Update the affected gstreamer-0_10-plugins-good packages."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-debuginfo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-debuginfo-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debuginfo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debuginfo-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debugsource");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-extra");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-extra-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-extra-debuginfo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-extra-debuginfo-32bit");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-lang");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.2");

  script_set_attribute(attribute:"patch_publication_date", value:"2017/03/29");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/04/03");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2017-2021 Tenable Network Security, Inc.");
  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 !~ "^(SUSE42\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.2", 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:"SUSE42.2", reference:"gstreamer-0_10-plugin-esd-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugin-esd-debuginfo-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-debuginfo-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-debugsource-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-extra-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-extra-debuginfo-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"gstreamer-0_10-plugins-good-lang-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugin-esd-32bit-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugin-esd-debuginfo-32bit-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugins-good-32bit-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugins-good-debuginfo-32bit-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugins-good-extra-32bit-0.10.31-17.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"gstreamer-0_10-plugins-good-extra-debuginfo-32bit-0.10.31-17.3.1") ) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
  else security_hole(0);
  exit(0);
}
else
{
  tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "gstreamer-0_10-plugin-esd / gstreamer-0_10-plugin-esd-32bit / etc");
}
VendorProductVersionCPE
novellopensusegstreamer-0_10-plugin-esdp-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd
novellopensusegstreamer-0_10-plugin-esd-32bitp-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-32bit
novellopensusegstreamer-0_10-plugin-esd-debuginfop-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-debuginfo
novellopensusegstreamer-0_10-plugin-esd-debuginfo-32bitp-cpe:/a:novell:opensuse:gstreamer-0_10-plugin-esd-debuginfo-32bit
novellopensusegstreamer-0_10-plugins-goodp-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good
novellopensusegstreamer-0_10-plugins-good-32bitp-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-32bit
novellopensusegstreamer-0_10-plugins-good-debuginfop-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debuginfo
novellopensusegstreamer-0_10-plugins-good-debuginfo-32bitp-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debuginfo-32bit
novellopensusegstreamer-0_10-plugins-good-debugsourcep-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-debugsource
novellopensusegstreamer-0_10-plugins-good-extrap-cpe:/a:novell:opensuse:gstreamer-0_10-plugins-good-extra
Rows per page:
1-10 of 151