Mandriva ncompress update to version 4.2.4.4 to fix integer underflow vulnerability and avoid potential arbitrary code execution
Reporter | Title | Published | Views | Family All 88 |
---|---|---|---|---|
![]() | Integer overflow | 29 Jan 201018:30 | – | prion |
![]() | Security fix for the ALT Linux 9 package gzip version 1.3.5-alt6 | 13 Jan 201000:00 | – | altlinux |
![]() | Security fix for the ALT Linux 5 package gzip version 1.3.5-alt6 | 13 Jan 201000:00 | – | altlinux |
![]() | Debian DSA-2074-1 : ncompress - integer underflow | 22 Jul 201000:00 | – | nessus |
![]() | Mandriva Linux Security Advisory : ncompress (MDVSA-2011:152) | 18 Oct 201100:00 | – | nessus |
![]() | Slackware 13.0 / current : gzip (SSA:2010-060-03) | 2 Mar 201000:00 | – | nessus |
![]() | SuSE 10 Security Update : gzip (ZYPP Patch Number 6792) | 26 Jan 201000:00 | – | nessus |
![]() | SuSE 10 Security Update : gzip (ZYPP Patch Number 6793) | 11 Oct 201000:00 | – | nessus |
![]() | CentOS 3 / 4 / 5 : gzip (CESA-2010:0061) | 21 Jan 201000:00 | – | nessus |
![]() | RHEL 3 / 4 / 5 : gzip (RHSA-2010:0061) | 21 Jan 201000:00 | – | nessus |
###############################################################################
# OpenVAS Vulnerability Test
#
# Mandriva Update for ncompress MDVSA-2011:152 (ncompress)
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
include("revisions-lib.inc");
tag_insight = "A vulnerability has been found and corrected in ncompress:
An integer underflow leading to array index error was found in the
way gzip used to decompress files / archives, compressed with the
Lempel-Ziv-Welch (LZW) compression algorithm. A remote attacker could
provide a specially-crafted LZW compressed gzip archive, which once
decompressed by a local, unsuspecting user would lead to gzip crash,
or, potentially to arbitrary code execution with the privileges of
the user running gzip (CVE-2010-0001).
The updated packages have been upgraded to the 4.2.4.4 version which
is not vulnerable to this issue.";
tag_solution = "Please Install the Updated Packages.";
tag_affected = "ncompress on Mandriva Linux 2010.1,
Mandriva Linux 2010.1/X86_64,
Mandriva Enterprise Server 5,
Mandriva Enterprise Server 5/X86_64";
if(description)
{
script_xref(name : "URL" , value : "http://lists.mandriva.com/security-announce/2011-10/msg00027.php");
script_id(831470);
script_version("$Revision: 6570 $");
script_tag(name:"last_modification", value:"$Date: 2017-07-06 15:06:35 +0200 (Thu, 06 Jul 2017) $");
script_tag(name:"creation_date", value:"2011-10-21 16:31:29 +0200 (Fri, 21 Oct 2011)");
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_xref(name: "MDVSA", value: "2011:152");
script_cve_id("CVE-2010-0001");
script_name("Mandriva Update for ncompress MDVSA-2011:152 (ncompress)");
script_summary("Check for the Version of ncompress");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
script_family("Mandrake Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/mandriva_mandrake_linux", "ssh/login/release");
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("pkg-lib-rpm.inc");
release = get_kb_item("ssh/login/release");
res = "";
if(release == NULL){
exit(0);
}
if(release == "MNDK_mes5")
{
if ((res = isrpmvuln(pkg:"ncompress", rpm:"ncompress~4.2.4.4~0.1mdvmes5.2", rls:"MNDK_mes5")) != NULL)
{
security_message(data:res);
exit(0);
}
if (__pkg_match) exit(99); # Not vulnerable.
exit(0);
}
if(release == "MNDK_2010.1")
{
if ((res = isrpmvuln(pkg:"ncompress", rpm:"ncompress~4.2.4.4~0.1mdv2010.2", rls:"MNDK_2010.1")) != NULL)
{
security_message(data:res);
exit(0);
}
if (__pkg_match) exit(99); # Not vulnerable.
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