Lucene search
K

GLSA-202208-31 : GStreamer, GStreamer Plugins: Multiple Vulnerabilities

🗓️ 15 Aug 2022 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 35 Views

GStreamer, GStreamer Plugins: Multiple Vulnerabilities. Memory corruption and code execution vulnerabilities in GStreamer and GStreamer Plugins have been identified

Related
Refs
Code
#
# (C) Tenable, Inc.
#
# @NOAGENT@
#
# The descriptive text and package checks in this plugin were
# extracted from Gentoo Linux Security Advisory GLSA 202208-31.
#
# The advisory text is Copyright (C) 2001-2021 Gentoo Foundation, Inc.
# and licensed under the Creative Commons - Attribution / Share Alike
# license. See http://creativecommons.org/licenses/by-sa/3.0/
#

include('compat.inc');

if (description)
{
  script_id(164117);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/10/16");

  script_cve_id(
    "CVE-2021-3185",
    "CVE-2021-3497",
    "CVE-2021-3498",
    "CVE-2021-3522"
  );

  script_name(english:"GLSA-202208-31 : GStreamer, GStreamer Plugins: Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"");
  script_set_attribute(attribute:"description", value:
"The remote host is affected by the vulnerability described in GLSA-202208-31 (GStreamer, GStreamer Plugins: Multiple
Vulnerabilities)

  - A flaw was found in the gstreamer h264 component of gst-plugins-bad before v1.18.1 where when parsing a
    h264 header, an attacker could cause the stack to be smashed, memory corruption and possibly code
    execution. (CVE-2021-3185)

  - GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain
    malformed Matroska files. (CVE-2021-3497)

  - GStreamer before 1.18.4 might cause heap corruption when parsing certain malformed Matroska files.
    (CVE-2021-3498)

  - GStreamer before 1.18.4 may perform an out-of-bounds read when handling certain ID3v2 tags.
    (CVE-2021-3522)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://security.gentoo.org/glsa/202208-31");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=765163");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=766336");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=785652");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=785655");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=785658");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=785661");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=835368");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=843770");
  script_set_attribute(attribute:"solution", value:
"All GStreamer users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-libs/gstreamer-1.20.2
        
All gst-plugins-bad users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-libs/gst-plugins-bad-1.20.2
        
All gst-plugins-good users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-libs/gst-plugins-good-1.20.2
        
All gst-plugins-ugly users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-libs/gst-plugins-ugly-1.20.2
        
All gst-plugins-base users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-libs/gst-plugins-base-1.20.2
        
All gst-plugins-libav users should update to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=media-plugins/gst-plugins-libav-1.20.2");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-3185");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/01/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/08/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/08/15");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gst-plugins-bad");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gst-plugins-base");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gst-plugins-good");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gst-plugins-libav");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gst-plugins-ugly");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:gstreamer");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Gentoo Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2022-2023 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");

  exit(0);
}
include("qpkg.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

var flag = 0;

var packages = [
  {
    'name' : "media-libs/gst-plugins-bad",
    'unaffected' : make_list("ge 1.16.3"),
    'vulnerable' : make_list("lt 1.16.3")
  },
  {
    'name' : "media-libs/gst-plugins-base",
    'unaffected' : make_list("ge 1.18.4"),
    'vulnerable' : make_list("lt 1.18.4")
  },
  {
    'name' : "media-libs/gst-plugins-good",
    'unaffected' : make_list("ge 1.18.4"),
    'vulnerable' : make_list("lt 1.18.4")
  },
  {
    'name' : "media-libs/gst-plugins-ugly",
    'unaffected' : make_list("ge 1.18.4"),
    'vulnerable' : make_list("lt 1.18.4")
  },
  {
    'name' : "media-libs/gstreamer",
    'unaffected' : make_list("ge 1.20.2"),
    'vulnerable' : make_list("lt 1.20.2")
  },
  {
    'name' : "media-plugins/gst-plugins-libav",
    'unaffected' : make_list("ge 1.18.4"),
    'vulnerable' : make_list("lt 1.18.4")
  }
];

foreach package( packages ) {
  if (isnull(package['unaffected'])) package['unaffected'] = make_list();
  if (isnull(package['vulnerable'])) package['vulnerable'] = make_list();
  if (qpkg_check(package: package['name'] , unaffected: package['unaffected'], vulnerable: package['vulnerable'])) flag++;
}


if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_HOLE,
    extra      : qpkg_report_get()
  );
  exit(0);
}
else
{
  var tested = qpkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "GStreamer / GStreamer Plugins");
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Oct 2023 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
CVSS 3.15.5 - 9.8
EPSS0.05372
SSVC
35