Update for 'ghostscript' package to fix heap-based buffer overflo
Reporter | Title | Published | Views | Family All 60 |
---|---|---|---|---|
![]() | CVE-2012-4405 | 18 Sep 201217:55 | – | debiancve |
![]() | ArgyllCMS: User-assisted execution of arbitrary code | 28 Feb 201400:00 | – | gentoo |
![]() | GPL Ghostscript: Multiple vulnerabilities | 13 Dec 201400:00 | – | gentoo |
![]() | Fedora 17 : ghostscript-9.05-4.fc17 (2012-13846) | 29 Sep 201200:00 | – | nessus |
![]() | Mandriva Linux Security Advisory : ghostscript (MDVSA-2012:151-1) | 6 Oct 201200:00 | – | nessus |
![]() | Amazon Linux AMI : ghostscript (ALAS-2012-127) | 4 Sep 201300:00 | – | nessus |
![]() | Fedora 16 : ghostscript-9.05-2.fc16 (2012-13839) | 29 Sep 201200:00 | – | nessus |
![]() | openSUSE Security Update : ghostscript-library (openSUSE-SU-2012:1290-1) | 13 Jun 201400:00 | – | nessus |
![]() | Scientific Linux Security Update : ghostscript on SL5.x, SL6.x i386/x86_64 (20120911) | 12 Sep 201200:00 | – | nessus |
![]() | SuSE 11.2 Security Update : ghostscript (SAT Patch Number 6813) | 25 Jan 201300: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.2012.1222.1");
script_cve_id("CVE-2012-4405");
script_tag(name:"creation_date", value:"2021-06-09 14:58:26 +0000 (Wed, 09 Jun 2021)");
script_version("2024-02-02T05:06:07+0000");
script_tag(name:"last_modification", value:"2024-02-02 05:06:07 +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_name("SUSE: Security Advisory (SUSE-SU-2012:1222-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=(SLES10\.0SP4|SLES11\.0SP2)");
script_xref(name:"Advisory-ID", value:"SUSE-SU-2012:1222-1");
script_xref(name:"URL", value:"https://www.suse.com/support/update/announcement/2012/suse-su-20121222-1/");
script_tag(name:"summary", value:"The remote host is missing an update for the 'ghostscript' package(s) announced via the SUSE-SU-2012:1222-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 fixes an array index error leading to a heap-based buffer overflow in ghostscript-library.
CVE-2012-4405 has been assigned to this issue.
Security Issue reference:
* CVE-2012-4405
>");
script_tag(name:"affected", value:"'ghostscript' package(s) on SUSE Linux Enterprise Desktop 10-SP4, SUSE Linux Enterprise Desktop 11-SP2, SUSE Linux Enterprise Server 10-SP4, SUSE Linux Enterprise Server 11-SP2, SUSE Linux Enterprise Software Development Kit 11-SP2.");
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 == "SLES10.0SP4") {
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-other", rpm:"ghostscript-fonts-other~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-rus", rpm:"ghostscript-fonts-rus~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-std", rpm:"ghostscript-fonts-std~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-library", rpm:"ghostscript-library~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-omni", rpm:"ghostscript-omni~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-x11", rpm:"ghostscript-x11~8.15.4~16.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libgimpprint", rpm:"libgimpprint~4.2.7~62.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libgimpprint-devel", rpm:"libgimpprint-devel~4.2.7~62.28.1", rls:"SLES10.0SP4"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "SLES11.0SP2") {
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-other", rpm:"ghostscript-fonts-other~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-rus", rpm:"ghostscript-fonts-rus~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-fonts-std", rpm:"ghostscript-fonts-std~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-library", rpm:"ghostscript-library~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-omni", rpm:"ghostscript-omni~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ghostscript-x11", rpm:"ghostscript-x11~8.62~32.34.1", rls:"SLES11.0SP2"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libgimpprint", rpm:"libgimpprint~4.2.7~32.34.1", rls:"SLES11.0SP2"))) {
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