Lucene search
+L

openSUSE: Security Advisory for mbedtls (openSUSE-SU-2015:2257-1)

🗓️ 02 Feb 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 37 Views

The update for mbedtls package fixes multiple security and non-security issues, including potential double free, heap corruption, buffer overflow, and more

Related
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
mbedTLS/PolarSSL -- DoS and possible remote code execution
5 Oct 201500:00
freebsd
archlinux
ArchLinux
mbedtls: arbitrary code execution
15 Oct 201500:00
archlinux
cnvd
CNVD
ARM PolarSSL and ARM mbed TLS Heap Buffer Overflow Vulnerabilities
4 Nov 201500:00
cnvd
cnvd
CNVD
ARM mbed TLS Heap Buffer Overflow Vulnerability
4 Nov 201500:00
cnvd
cve
CVE
CVE-2015-5291
2 Nov 201519:00
cve
cvelist
Cvelist
CVE-2015-5291
2 Nov 201519:00
cvelist
debian
Debian
[SECURITY] [DLA 331-1] polarssl security update
22 Oct 201518:09
debian
debian
Debian
[SECURITY] [DSA 3468-1] polarssl security update
6 Feb 201619:34
debian
debian
Debian
[SECURITY] [DSA 3468-1] polarssl security update
6 Feb 201619:34
debian
debiancve
Debian CVE
CVE-2015-5291
2 Nov 201519:00
debiancve
Rows per page
# SPDX-FileCopyrightText: 2016 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.851187");
  script_version("2026-04-24T06:23:04+0000");
  script_tag(name:"last_modification", value:"2026-04-24 06:23:04 +0000 (Fri, 24 Apr 2026)");
  script_tag(name:"creation_date", value:"2016-02-02 17:17:06 +0100 (Tue, 02 Feb 2016)");
  script_cve_id("CVE-2015-5291");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_tag(name:"qod_type", value:"package");
  script_name("openSUSE: Security Advisory for mbedtls (openSUSE-SU-2015:2257-1)");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'mbedtls'
  package(s) announced via the referenced 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 mbedtls fixes the following security and non-security
  issues:

  - Update to 1.3.15

  * Fix potential double free if ssl_set_psk() is called more than once
  and some allocation fails. Cannot be forced remotely. Found by Guido
  Vranken, Intelworks.

  * Fix potential heap corruption on windows when x509_crt_parse_path() is
  passed a path longer than 2GB. Cannot be triggered remotely. Found by
  Guido Vranken, Intelworks.

  * Fix potential buffer overflow in some asn1_write_xxx() functions.
  Cannot be triggered remotely unless you create X.509 certificates based
  on untrusted input or write keys of untrusted origin. Found by Guido
  Vranken, Intelworks.

  * The x509 max_pathlen constraint was not enforced on intermediate
  certificates. Found by Nicholas Wilson, fix and tests provided by
  Janos Follath. #280 and #319

  * Self-signed certificates were not excluded from pathlen counting,
  resulting in some valid X.509 being incorrectly rejected. Found and
  fix provided by Janos Follath. #319

  * Fix bug causing some handshakes to fail due to some non-fatal alerts
  not begin properly ignored. Found by mancha and Kasom Koht-arsa, #308

  * Fix build error with configurations where ecdhe-psk is the only key
  exchange. Found and fix provided by Chris Hammond. #270

  * Fix failures in mpi on sparc(64) due to use of bad assembly code.
  Found by Kurt Danielson. #292

  * Fix typo in name of the extkeyusage oid. found by inestlerode, #314

  * Fix bug in asn.1 encoding of booleans that caused generated ca
  certificates to be rejected by some applications, including OS X
  Keychain. Found and fixed by Jonathan Leroy, Inikup.

  * Fix 'destination buffer is too small' error in cert_write program.
  Found and fixed by Jonathan Leroy, Inikup.

  - Update to 1.3.14

  * Added fix for CVE-2015-5291 (boo#949380) to prevent heap corruption
  due to buffer
  overflow of the hostname or session ticket. Found by Guido Vranken,
  Intelworks.

  * Fix stack buffer overflow in pkcs12 decryption (used by
  mbedtls_pk_parse_key(file)() when the password is   129 bytes. Found
  by Guido Vranken, Intelworks. Not triggerable remotely.

  * Fix potential buffer overflow in mbedtls_mpi_read_string(). Found by
  Guido Vranken, Intelworks. Not exploitable remotely in the context
  of TLS, but might be in other uses. On 32 bit machines, requires
  reading a string of close to or larger than 1GB to exploit  on 64 bit
  machines, would require reading a string of close to or larger than
  2^62 bytes.

  * Fix potential random memory allocation in mbedtls_pem_read_buffer()
  on crafted PEM input data. ...

  Description truncated, please see the referenced URL(s) for more information.");

  script_tag(name:"affected", value:"mbedtls on openSUSE Leap 42.1");

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

  script_xref(name:"openSUSE-SU", value:"2015:2257-1");
  script_tag(name:"solution_type", value:"VendorFix");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_family("SuSE Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/suse", "ssh/login/rpms", re:"ssh/login/release=openSUSELeap42\.1");
  exit(0);
}

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

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

res = "";
report = "";

if(release == "openSUSELeap42.1") {
  if(!isnull(res = isrpmvuln(pkg:"libmbedtls9", rpm:"libmbedtls9~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libmbedtls9-debuginfo", rpm:"libmbedtls9-debuginfo~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"mbedtls-debugsource", rpm:"mbedtls-debugsource~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"mbedtls-devel", rpm:"mbedtls-devel~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libmbedtls9-32bit", rpm:"libmbedtls9-32bit~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libmbedtls9-debuginfo-32bit", rpm:"libmbedtls9-debuginfo-32bit~1.3.15~6.1", rls:"openSUSELeap42.1"))) {
    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