Lucene search
+L

openSUSE: Security Advisory for stunnel (openSUSE-SU-2022:0872-1)

🗓️ 23 Mar 2022 00:00:00Reported by Copyright (C) 2022 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 12 Views

OpenSUSE stunnel security updat

Refs
Code
# SPDX-FileCopyrightText: 2022 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.854556");
  script_version("2025-04-25T15:41:53+0000");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"2025-04-25 15:41:53 +0000 (Fri, 25 Apr 2025)");
  script_tag(name:"creation_date", value:"2022-03-23 08:28:26 +0000 (Wed, 23 Mar 2022)");
  script_name("openSUSE: Security Advisory for stunnel (openSUSE-SU-2022:0872-1)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2022 Greenbone AG");
  script_family("SuSE Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/opensuse", "ssh/login/rpms", re:"ssh/login/release=(openSUSELeap15\.4|openSUSELeap15\.3)");

  script_xref(name:"Advisory-ID", value:"openSUSE-SU-2022:0872-1");
  script_xref(name:"URL", value:"https://lists.opensuse.org/archives/list/[email protected]/thread/SF6GP7Y7QBDPSDEMYQPWKSOXKRHILQVP");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'stunnel'
  package(s) announced via the openSUSE-SU-2022:0872-1 advisory.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");

  script_tag(name:"insight", value:"This update for stunnel fixes the following issues:
  Update to 5.62 including new features and bugfixes:

  * Security bugfixes

  - The 'redirect' option was fixed to properly handle unauthenticated
           requests (bsc#1182529).

  - Fixed a double free with OpenSSL older than 1.1.0.

  - Added hardening to systemd service (bsc#1181400).

  * New features

  - Added new 'protocol = capwin' and 'protocol = capwinctrl'
           configuration file options.

  - Added support for the new SSL_set_options() values.

  - Added a bash completion script.

  - New 'sessionResume' service-level option to allow or disallow
           session resumption

  - Download fresh ca-certs.pem for each new release.

  - New 'protocolHeader' service-level option to insert custom 'connect'
           protocol negotiation headers. This feature can be used to
           impersonate other software (e.g. web browsers).

  - 'protocolHost' can also be used to control the client SMTP protocol
           negotiation HELO/EHLO value.

  - Initial FIPS 3.0 support.

  - Client-side 'protocol = ldap' support

  * Bugfixes

  - Fixed a transfer() loop bug.

  - Fixed reloading configuration with 'systemctl reload
           stunnel.service'.

  - Fixed incorrect messages logged for OpenSSL errors.

  - Fixed 'redirect' with 'protocol'.  This combination is not supported
           by 'smtp', 'pop3' and 'imap' protocols.

  - X.509v3 extensions required by modern versions of OpenSSL are added
           to generated self-signed test certificates.

  - Fixed a tiny memory leak in configuration file reload error handling.

  - Fixed engine initialization.

  - FIPS TLS feature is reported when a provider or container is
           available, and not when FIPS control API is available.

  - Fix configuration reload when compression is used

  - Fix test suite fixed not to require external connectivity");

  script_tag(name:"affected", value:"'stunnel' package(s) on openSUSE Leap 15.3, openSUSE Leap 15.4.");

  script_tag(name:"solution", value:"Please install the updated package(s).");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"package");

  exit(0);
}

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

release = rpm_get_ssh_release();
if(!release)
  exit(0);

res = "";
report = "";

if(release == "openSUSELeap15.4") {

  if(!isnull(res = isrpmvuln(pkg:"stunnel", rpm:"stunnel~5.62~3.14.1", rls:"openSUSELeap15.4"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-debuginfo", rpm:"stunnel-debuginfo~5.62~3.14.1", rls:"openSUSELeap15.4"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-debugsource", rpm:"stunnel-debugsource~5.62~3.14.1", rls:"openSUSELeap15.4"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-doc", rpm:"stunnel-doc~5.62~3.14.1", rls:"openSUSELeap15.4"))) {
    report += res;
  }

  if(report != "") {
    security_message(data:report);
  } else if(__pkg_match) {
    exit(99);
  }
  exit(0);
}

if(release == "openSUSELeap15.3") {

  if(!isnull(res = isrpmvuln(pkg:"stunnel", rpm:"stunnel~5.62~3.14.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-debuginfo", rpm:"stunnel-debuginfo~5.62~3.14.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-debugsource", rpm:"stunnel-debugsource~5.62~3.14.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"stunnel-doc", rpm:"stunnel-doc~5.62~3.14.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(report != "") {
    security_message(data:report);
  } else if(__pkg_match) {
    exit(99);
  }
  exit(0);
}

exit(0);

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