The 'libarchive' package in SUSE Linux Enterprise 12 has a heap-based buffer overflow vulnerability (CVE-2016-1541)
Reporter | Title | Published | Views | Family All 66 |
---|---|---|---|---|
![]() | CVE-2016-1541 | 7 May 201610:59 | – | debiancve |
![]() | Debian DSA-3574-1 : libarchive - security update | 12 May 201600:00 | – | nessus |
![]() | Fedora 24 : libarchive (2016-760bd8b6a5) | 14 Jul 201600:00 | – | nessus |
![]() | FreeBSD : libarchive -- RCE vulnerability (2b4c8e1f-1609-11e6-b55e-b499baebfeaf) | 11 May 201600:00 | – | nessus |
![]() | Slackware 14.1 / current : libarchive (SSA:2016-145-01) | 25 May 201600:00 | – | nessus |
![]() | Fedora 22 : libarchive (2016-19c34099d3) | 14 Jul 201600:00 | – | nessus |
![]() | Ubuntu 14.04 LTS / 16.04 LTS : libarchive vulnerabilities (USN-2981-1) | 18 May 201600:00 | – | nessus |
![]() | Fedora 23 : libarchive (2016-8491ec1ebd) | 14 Jul 201600:00 | – | nessus |
![]() | openSUSE Security Update : libarchive (openSUSE-2016-670) | 6 Jun 201600:00 | – | nessus |
![]() | openSUSE Security Update : libarchive (openSUSE-2016-762) | 24 Jun 201600:00 | – | nessus |
# SPDX-FileCopyrightText: 2021 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.1.4.2016.1588.1");
script_cve_id("CVE-2016-1541");
script_tag(name:"creation_date", value:"2021-04-19 00:00:00 +0000 (Mon, 19 Apr 2021)");
script_version("2024-02-02T14:37:48+0000");
script_tag(name:"last_modification", value:"2024-02-02 14:37:48 +0000 (Fri, 02 Feb 2024)");
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:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2016-05-09 17:21:13 +0000 (Mon, 09 May 2016)");
script_name("SUSE: Security Advisory (SUSE-SU-2016:1588-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 Greenbone AG");
script_family("SuSE Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/suse_sles", "ssh/login/rpms", re:"ssh/login/release=(SLES12\.0|SLES12\.0SP1)");
script_xref(name:"Advisory-ID", value:"SUSE-SU-2016:1588-1");
script_xref(name:"URL", value:"https://www.suse.com/support/update/announcement/2016/suse-su-20161588-1/");
script_tag(name:"summary", value:"The remote host is missing an update for the 'libarchive' package(s) announced via the SUSE-SU-2016:1588-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 libarchive fixes the following issue:
- Fix a heap-based buffer overflow (CVE-2016-1541, bsc#979005)");
script_tag(name:"affected", value:"'libarchive' package(s) on SUSE Linux Enterprise Desktop 12, SUSE Linux Enterprise Desktop 12-SP1, SUSE Linux Enterprise Server 12, SUSE Linux Enterprise Server 12-SP1, SUSE Linux Enterprise Software Development Kit 12, SUSE Linux Enterprise Software Development Kit 12-SP1.");
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 == "SLES12.0") {
if(!isnull(res = isrpmvuln(pkg:"libarchive-debugsource", rpm:"libarchive-debugsource~3.1.2~12.1", rls:"SLES12.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libarchive13", rpm:"libarchive13~3.1.2~12.1", rls:"SLES12.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libarchive13-debuginfo", rpm:"libarchive13-debuginfo~3.1.2~12.1", rls:"SLES12.0"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "SLES12.0SP1") {
if(!isnull(res = isrpmvuln(pkg:"libarchive-debugsource", rpm:"libarchive-debugsource~3.1.2~12.1", rls:"SLES12.0SP1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libarchive13", rpm:"libarchive13~3.1.2~12.1", rls:"SLES12.0SP1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libarchive13-debuginfo", rpm:"libarchive13-debuginfo~3.1.2~12.1", rls:"SLES12.0SP1"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo