Vulnerabilities > CVE-2019-8696 - Classic Buffer Overflow vulnerability in Apple mac OS X
Attack vector
NETWORK Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
A buffer overflow issue was addressed with improved memory handling. This issue is fixed in macOS Mojave 10.14.6, Security Update 2019-004 High Sierra, Security Update 2019-004 Sierra. An attacker in a privileged network position may be able to execute arbitrary code.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2019-F3EF4D22DB.NASL description 2.2.12, security fix for CVE-2019-8675 and CVE-2019-8696 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 128490 published 2019-09-04 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/128490 title Fedora 30 : 1:cups (2019-f3ef4d22db) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory FEDORA-2019-f3ef4d22db. # include("compat.inc"); if (description) { script_id(128490); script_version("1.3"); script_cvs_date("Date: 2019/12/31"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_xref(name:"FEDORA", value:"2019-f3ef4d22db"); script_name(english:"Fedora 30 : 1:cups (2019-f3ef4d22db)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: "2.2.12, security fix for CVE-2019-8675 and CVE-2019-8696 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-f3ef4d22db" ); script_set_attribute( attribute:"solution", value:"Update the affected 1:cups package." ); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:1:cups"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:30"); script_set_attribute(attribute:"patch_publication_date", value:"2019/09/03"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/09/04"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! preg(pattern:"^30([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 30", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC30", reference:"cups-2.2.12-1.fc30", epoch:"1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "1:cups"); }
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2070.NASL description According to the versions of the cups packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - CUPS printing system provides a portable printing layer for UNIXA(r) operating systems. It has been developed by Apple Inc.to promote a standard printing solution for all UNIX vendors and users.CUPS provides the System V and Berkeley command-line interfaces. - Security fix(es): - cups: stack-buffer-overflow in libcups last seen 2020-05-03 modified 2019-09-30 plugin id 129429 published 2019-09-30 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/129429 title EulerOS 2.0 SP8 : cups (EulerOS-SA-2019-2070) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(129429); script_version("1.4"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/01"); script_cve_id( "CVE-2019-8675", "CVE-2019-8696" ); script_name(english:"EulerOS 2.0 SP8 : cups (EulerOS-SA-2019-2070)"); script_summary(english:"Checks the rpm output for the updated packages."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS host is missing multiple security updates."); script_set_attribute(attribute:"description", value: "According to the versions of the cups packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - CUPS printing system provides a portable printing layer for UNIXA(r) operating systems. It has been developed by Apple Inc.to promote a standard printing solution for all UNIX vendors and users.CUPS provides the System V and Berkeley command-line interfaces. - Security fix(es): - cups: stack-buffer-overflow in libcups's asn1_get_type function.(CVE-2019-8675) - cups: stack-buffer-overflow in libcups's asn1_get_type function.(CVE-2019-8696) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues."); # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2070 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c4f0bc5f"); script_set_attribute(attribute:"solution", value: "Update the affected cups packages."); script_set_attribute(attribute:"risk_factor", value:"Low"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"patch_publication_date", value:"2019/09/30"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/09/30"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-filesystem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-lpd"); script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Huawei Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp"); script_exclude_keys("Host/EulerOS/uvp_version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/EulerOS/release"); if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS"); if (release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0"); sp = get_kb_item("Host/EulerOS/sp"); if (isnull(sp) || sp !~ "^(8)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP8"); uvp = get_kb_item("Host/EulerOS/uvp_version"); if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP8", "EulerOS UVP " + uvp); if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu); if ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu); flag = 0; pkgs = ["cups-2.2.8-5.h3.eulerosv2r8", "cups-client-2.2.8-5.h3.eulerosv2r8", "cups-devel-2.2.8-5.h3.eulerosv2r8", "cups-filesystem-2.2.8-5.h3.eulerosv2r8", "cups-libs-2.2.8-5.h3.eulerosv2r8", "cups-lpd-2.2.8-5.h3.eulerosv2r8"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", sp:"8", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2020-1765.NASL description The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1765 advisory. - cups: stack-buffer-overflow in libcups last seen 2020-04-30 modified 2020-04-29 plugin id 136114 published 2020-04-29 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/136114 title RHEL 8 : cups (RHSA-2020:1765) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2020:1765. The text # itself is copyright (C) Red Hat, Inc. # include('compat.inc'); if (description) { script_id(136114); script_version("1.1"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/29"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_xref(name:"RHSA", value:"2020:1765"); script_name(english:"RHEL 8 : cups (RHSA-2020:1765)"); script_summary(english:"Checks the rpm output for the updated packages"); script_set_attribute(attribute:"synopsis", value: "The remote Red Hat host is missing one or more security updates."); script_set_attribute(attribute:"description", value: "The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1765 advisory. - cups: stack-buffer-overflow in libcups's asn1_get_type function (CVE-2019-8675) - cups: stack-buffer-overflow in libcups's asn1_get_packed function (CVE-2019-8696) Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number."); script_set_attribute(attribute:"see_also", value:"https://cwe.mitre.org/data/definitions/121.html"); script_set_attribute(attribute:"see_also", value:"https://cwe.mitre.org/data/definitions/121.html"); script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2020:1765"); script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/CVE-2019-8675"); script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/CVE-2019-8696"); script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/1738455"); script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/1738497"); script_set_attribute(attribute:"solution", value: "Update the affected packages."); script_set_attribute(attribute:"risk_factor", value:"Low"); script_cwe_id(121, 121); script_set_attribute(attribute:"vuln_publication_date", value:"2020/04/28"); script_set_attribute(attribute:"patch_publication_date", value:"2020/04/28"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/29"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:redhat:enterprise_linux:8"); script_set_attribute(attribute:"cpe", value:"cpe:/a:redhat:enterprise_linux:8::appstream"); script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8"); script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8::baseos"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-filesystem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-ipptool"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:cups-lpd"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Red Hat Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu"); exit(0); } include('audit.inc'); include('global_settings.inc'); include('misc_func.inc'); include('rpm.inc'); if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item('Host/RedHat/release'); if (isnull(release) || 'Red Hat' >!< release) audit(AUDIT_OS_NOT, 'Red Hat'); os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat'); os_ver = os_ver[1]; if (! preg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, 'Red Hat 8.x', 'Red Hat ' + os_ver); if (!get_kb_item('Host/RedHat/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item('Host/cpu'); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu); pkgs = [ {'reference':'cups-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-client-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-client-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-client-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-debugsource-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-debugsource-2.2.6-33.el8', 'cpu':'i686', 'release':'8', 'epoch':'1'}, {'reference':'cups-debugsource-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-debugsource-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-devel-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-devel-2.2.6-33.el8', 'cpu':'i686', 'release':'8', 'epoch':'1'}, {'reference':'cups-devel-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-devel-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-filesystem-2.2.6-33.el8', 'release':'8', 'epoch':'1'}, {'reference':'cups-ipptool-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-ipptool-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-ipptool-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-libs-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-libs-2.2.6-33.el8', 'cpu':'i686', 'release':'8', 'epoch':'1'}, {'reference':'cups-libs-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-libs-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'}, {'reference':'cups-lpd-2.2.6-33.el8', 'cpu':'aarch64', 'release':'8', 'epoch':'1'}, {'reference':'cups-lpd-2.2.6-33.el8', 'cpu':'s390x', 'release':'8', 'epoch':'1'}, {'reference':'cups-lpd-2.2.6-33.el8', 'cpu':'x86_64', 'release':'8', 'epoch':'1'} ]; flag = 0; foreach package_array ( pkgs ) { reference = NULL; release = NULL; sp = NULL; cpu = NULL; el_string = NULL; rpm_spec_vers_cmp = NULL; epoch = NULL; if (!empty_or_null(package_array['reference'])) reference = package_array['reference']; if (!empty_or_null(package_array['release'])) release = 'RHEL' + package_array['release']; if (!empty_or_null(package_array['sp'])) sp = package_array['sp']; if (!empty_or_null(package_array['cpu'])) cpu = package_array['cpu']; if (!empty_or_null(package_array['el_string'])) el_string = package_array['el_string']; if (!empty_or_null(package_array['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = package_array['rpm_spec_vers_cmp']; if (!empty_or_null(package_array['epoch'])) epoch = package_array['epoch']; if (reference && release) { if (rpm_spec_vers_cmp) { if (rpm_check(release:release, sp:sp, cpu:cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:TRUE)) flag++; } else { if (rpm_check(release:release, sp:sp, cpu:cpu, reference:reference, epoch:epoch)) flag++; } } } if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() + redhat_report_package_caveat() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'cups / cups-client / cups-debugsource / etc'); }
NASL family Fedora Local Security Checks NASL id FEDORA_2019-D9A2C03662.NASL description Security fixes for CVE-2019-8675, CVE-2019-8696 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 128489 published 2019-09-04 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/128489 title Fedora 29 : 1:cups (2019-d9a2c03662) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory FEDORA-2019-d9a2c03662. # include("compat.inc"); if (description) { script_id(128489); script_version("1.3"); script_cvs_date("Date: 2019/12/31"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_xref(name:"FEDORA", value:"2019-d9a2c03662"); script_name(english:"Fedora 29 : 1:cups (2019-d9a2c03662)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: "Security fixes for CVE-2019-8675, CVE-2019-8696 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-d9a2c03662" ); script_set_attribute( attribute:"solution", value:"Update the affected 1:cups package." ); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:1:cups"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:29"); script_set_attribute(attribute:"patch_publication_date", value:"2019/09/03"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/09/04"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! preg(pattern:"^29([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 29", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC29", reference:"cups-2.2.8-12.fc29", epoch:"1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "1:cups"); }
NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_60E991ACC01311E9B662001CC0382B2F.NASL description Apple reports : - CVE-2019-8696 and CVE-2019-8675: SNMP buffer overflows. - IPP buffer overflow. - Memory disclosure in the scheduler. - DoS issues in the scheduler. last seen 2020-06-01 modified 2020-06-02 plugin id 127949 published 2019-08-20 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/127949 title FreeBSD : CUPS -- multiple vulnerabilities (60e991ac-c013-11e9-b662-001cc0382b2f) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from the FreeBSD VuXML database : # # Copyright 2003-2020 Jacques Vidrine and contributors # # Redistribution and use in source (VuXML) and 'compiled' forms (SGML, # HTML, PDF, PostScript, RTF and so forth) with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code (VuXML) must retain the above # copyright notice, this list of conditions and the following # disclaimer as the first lines of this file unmodified. # 2. Redistributions in compiled form (transformed to other DTDs, # published online in any format, converted to PDF, PostScript, # RTF and other formats) must reproduce the above copyright # notice, this list of conditions and the following disclaimer # in the documentation and/or other materials provided with the # distribution. # # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # include("compat.inc"); if (description) { script_id(127949); script_version("1.2"); script_cvs_date("Date: 2020/01/02"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_name(english:"FreeBSD : CUPS -- multiple vulnerabilities (60e991ac-c013-11e9-b662-001cc0382b2f)"); script_summary(english:"Checks for updated package in pkg_info output"); script_set_attribute( attribute:"synopsis", value:"The remote FreeBSD host is missing a security-related update." ); script_set_attribute( attribute:"description", value: "Apple reports : - CVE-2019-8696 and CVE-2019-8675: SNMP buffer overflows. - IPP buffer overflow. - Memory disclosure in the scheduler. - DoS issues in the scheduler." ); script_set_attribute( attribute:"see_also", value:"https://github.com/apple/cups/releases/tag/v2.2.12" ); # https://vuxml.freebsd.org/freebsd/60e991ac-c013-11e9-b662-001cc0382b2f.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?0a879eb3" ); script_set_attribute(attribute:"solution", value:"Update the affected package."); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:cups"); script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd"); script_set_attribute(attribute:"vuln_publication_date", value:"2019/08/15"); script_set_attribute(attribute:"patch_publication_date", value:"2019/08/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/20"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"FreeBSD Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info"); exit(0); } include("audit.inc"); include("freebsd_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD"); if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (pkg_test(save_report:TRUE, pkg:"cups<2.2.12")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2020-1461.NASL description According to the versions of the cups package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.(CVE-2017-18248) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8696) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8675) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-04-30 modified 2020-04-16 plugin id 135623 published 2020-04-16 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/135623 title EulerOS Virtualization 3.0.2.2 : cups (EulerOS-SA-2020-1461) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(135623); script_version("1.2"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/24"); script_cve_id( "CVE-2017-18248", "CVE-2019-8675", "CVE-2019-8696" ); script_name(english:"EulerOS Virtualization 3.0.2.2 : cups (EulerOS-SA-2020-1461)"); script_summary(english:"Checks the rpm output for the updated packages."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS Virtualization host is missing multiple security updates."); script_set_attribute(attribute:"description", value: "According to the versions of the cups package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.(CVE-2017-18248) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8696) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8675) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues."); # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2020-1461 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b137ffff"); script_set_attribute(attribute:"solution", value: "Update the affected cups packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:N/I:N/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"patch_publication_date", value:"2020/04/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/16"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-libs"); script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:uvp:3.0.2.2"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Huawei Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/uvp_version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/EulerOS/release"); if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS"); uvp = get_kb_item("Host/EulerOS/uvp_version"); if (uvp != "3.0.2.2") audit(AUDIT_OS_NOT, "EulerOS Virtualization 3.0.2.2"); if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_ARCH_NOT, "i686 / x86_64", cpu); flag = 0; pkgs = ["cups-libs-1.6.3-35.h5.eulerosv2r7"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2019-3030-1.NASL description This update for cups fixes the following issues : CVE-2019-8675: Fixed a stack-based buffer overflow in libcups last seen 2020-06-01 modified 2020-06-02 plugin id 131221 published 2019-11-22 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131221 title SUSE SLED15 / SLES15 Security Update : cups (SUSE-SU-2019:3030-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2019:3030-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(131221); script_version("1.2"); script_cvs_date("Date: 2019/12/09"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_name(english:"SUSE SLED15 / SLES15 Security Update : cups (SUSE-SU-2019:3030-1)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote SUSE host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "This update for cups fixes the following issues : CVE-2019-8675: Fixed a stack-based buffer overflow in libcups's asn1_get_type function(bsc#1146358). CVE-2019-8696: Fixed a stack-based buffer overflow in libcups's asn1_get_packed function (bsc#1146359). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1146358" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1146359" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2019-8675/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2019-8696/" ); # https://www.suse.com/support/update/announcement/2019/suse-su-20193030-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?9a98ed2e" ); script_set_attribute( attribute:"solution", value: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'. Alternatively you can run the command listed for your product : SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1:zypper in -t patch SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2019-3030=1 SUSE Linux Enterprise Module for Development Tools 15-SP1:zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP1-2019-3030=1 SUSE Linux Enterprise Module for Development Tools 15:zypper in -t patch SUSE-SLE-Module-Development-Tools-15-2019-3030=1 SUSE Linux Enterprise Module for Desktop Applications 15:zypper in -t patch SUSE-SLE-Module-Desktop-Applications-15-2019-3030=1 SUSE Linux Enterprise Module for Basesystem 15-SP1:zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP1-2019-3030=1 SUSE Linux Enterprise Module for Basesystem 15:zypper in -t patch SUSE-SLE-Module-Basesystem-15-2019-3030=1" ); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-client-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-config"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-ddk"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-ddk-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcups2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcups2-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcups2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupscgi1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupscgi1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupscgi1-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsimage2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsimage2-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsimage2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsmime1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsmime1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsmime1-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsppdc1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsppdc1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcupsppdc1-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15"); script_set_attribute(attribute:"patch_publication_date", value:"2019/11/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/22"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE"); os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE"); os_ver = os_ver[1]; if (! preg(pattern:"^(SLED15|SLES15)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED15 / SLES15", "SUSE " + os_ver); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu); sp = get_kb_item("Host/SuSE/patchlevel"); if (isnull(sp)) sp = "0"; if (os_ver == "SLES15" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0/1", os_ver + " SP" + sp); if (os_ver == "SLED15" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP0/1", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"cups-devel-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupscgi1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupscgi1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsimage2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsimage2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsmime1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsmime1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsppdc1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcupsppdc1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-ddk-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-ddk-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-client-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-client-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-config-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"cups-devel-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcups2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcups2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupscgi1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupscgi1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsimage2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsimage2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsmime1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsmime1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsppdc1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"1", reference:"libcupsppdc1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-ddk-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-ddk-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-client-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-client-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-config-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"cups-devel-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcups2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcups2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupscgi1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupscgi1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsimage2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsimage2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsmime1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsmime1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsppdc1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libcupsppdc1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"cups-devel-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupscgi1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupscgi1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsimage2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsimage2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsmime1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsmime1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsppdc1-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcupsppdc1-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-ddk-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-ddk-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-client-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-client-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-config-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"cups-devel-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcups2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcups2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupscgi1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupscgi1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsimage2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsimage2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsmime1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsmime1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsppdc1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"1", reference:"libcupsppdc1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-ddk-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-ddk-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-client-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-client-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-config-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-debugsource-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"cups-devel-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcups2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcups2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupscgi1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupscgi1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsimage2-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsimage2-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsmime1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsmime1-debuginfo-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsppdc1-2.2.7-3.14.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libcupsppdc1-debuginfo-2.2.7-3.14.1")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2020-1096.NASL description According to the versions of the cups packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - cups: stack-buffer-overflow in libcups last seen 2020-05-06 modified 2020-02-24 plugin id 133897 published 2020-02-24 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/133897 title EulerOS 2.0 SP5 : cups (EulerOS-SA-2020-1096) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(133897); script_version("1.2"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/04"); script_cve_id( "CVE-2019-8675", "CVE-2019-8696" ); script_name(english:"EulerOS 2.0 SP5 : cups (EulerOS-SA-2020-1096)"); script_summary(english:"Checks the rpm output for the updated packages."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS host is missing multiple security updates."); script_set_attribute(attribute:"description", value: "According to the versions of the cups packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - cups: stack-buffer-overflow in libcups's asn1_get_type function.(CVE-2019-8675) - cups: stack-buffer-overflow in libcups's asn1_get_type function.(CVE-2019-8696) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues."); # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2020-1096 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?560c1913"); script_set_attribute(attribute:"solution", value: "Update the affected cups packages."); script_set_attribute(attribute:"risk_factor", value:"Low"); script_set_attribute(attribute:"patch_publication_date", value:"2020/02/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/02/24"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-filesystem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-lpd"); script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Huawei Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp"); script_exclude_keys("Host/EulerOS/uvp_version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/EulerOS/release"); if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS"); if (release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0"); sp = get_kb_item("Host/EulerOS/sp"); if (isnull(sp) || sp !~ "^(5)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP5"); uvp = get_kb_item("Host/EulerOS/uvp_version"); if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP5", "EulerOS UVP " + uvp); if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_ARCH_NOT, "i686 / x86_64", cpu); flag = 0; pkgs = ["cups-1.6.3-35.h5.eulerosv2r7", "cups-client-1.6.3-35.h5.eulerosv2r7", "cups-devel-1.6.3-35.h5.eulerosv2r7", "cups-filesystem-1.6.3-35.h5.eulerosv2r7", "cups-libs-1.6.3-35.h5.eulerosv2r7", "cups-lpd-1.6.3-35.h5.eulerosv2r7"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", sp:"5", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-4105-1.NASL description Stephan Zeisberg discovered that the CUPS SNMP backend incorrectly handled encoded ASN.1 inputs. A remote attacker could possibly use this issue to cause CUPS to crash by providing specially crafted network traffic. (CVE-2019-8696, CVE-2019-8675) It was discovered that CUPS did not properly handle client disconnection events. A local attacker could possibly use this issue to cause a denial of service or disclose memory from the CUPS server. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 128031 published 2019-08-20 reporter Ubuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/128031 title Ubuntu 16.04 LTS / 18.04 LTS / 19.04 : cups vulnerabilities (USN-4105-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Ubuntu Security Notice USN-4105-1. The text # itself is copyright (C) Canonical, Inc. See # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered # trademark of Canonical, Inc. # include("compat.inc"); if (description) { script_id(128031); script_version("1.3"); script_cvs_date("Date: 2020/01/02"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_xref(name:"USN", value:"4105-1"); script_name(english:"Ubuntu 16.04 LTS / 18.04 LTS / 19.04 : cups vulnerabilities (USN-4105-1)"); script_summary(english:"Checks dpkg output for updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Ubuntu host is missing a security-related patch." ); script_set_attribute( attribute:"description", value: "Stephan Zeisberg discovered that the CUPS SNMP backend incorrectly handled encoded ASN.1 inputs. A remote attacker could possibly use this issue to cause CUPS to crash by providing specially crafted network traffic. (CVE-2019-8696, CVE-2019-8675) It was discovered that CUPS did not properly handle client disconnection events. A local attacker could possibly use this issue to cause a denial of service or disclose memory from the CUPS server. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://usn.ubuntu.com/4105-1/" ); script_set_attribute(attribute:"solution", value:"Update the affected cups package."); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:cups"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:16.04"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:18.04:-:lts"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:19.04"); script_set_attribute(attribute:"patch_publication_date", value:"2019/08/20"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/20"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"Ubuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Ubuntu Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("ubuntu.inc"); include("misc_func.inc"); if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/Ubuntu/release"); if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu"); release = chomp(release); if (! preg(pattern:"^(16\.04|18\.04|19\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 16.04 / 18.04 / 19.04", "Ubuntu " + release); if ( ! get_kb_item("Host/Debian/dpkg-l") ) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Ubuntu", cpu); flag = 0; if (ubuntu_check(osver:"16.04", pkgname:"cups", pkgver:"2.1.3-4ubuntu0.10")) flag++; if (ubuntu_check(osver:"18.04", pkgname:"cups", pkgver:"2.2.7-1ubuntu2.7")) flag++; if (ubuntu_check(osver:"19.04", pkgname:"cups", pkgver:"2.2.10-4ubuntu2.1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : ubuntu_report_get() ); exit(0); } else { tested = ubuntu_pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2020-1531.NASL description According to the versions of the cups package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - Integer overflow in international date handling in International Components for Unicode (ICU) for C/C++ before 60.1, as used in V8 in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to perform an out of bounds memory read via a crafted HTML page.(CVE-2019-8696) - A stack-buffer-overflow was found in libcups last seen 2020-05-03 modified 2020-05-01 plugin id 136234 published 2020-05-01 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/136234 title EulerOS Virtualization for ARM 64 3.0.2.0 : cups (EulerOS-SA-2020-1531) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(136234); script_version("1.1"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/01"); script_cve_id( "CVE-2019-8675", "CVE-2019-8696" ); script_name(english:"EulerOS Virtualization for ARM 64 3.0.2.0 : cups (EulerOS-SA-2020-1531)"); script_summary(english:"Checks the rpm output for the updated packages."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS Virtualization for ARM 64 host is missing multiple security updates."); script_set_attribute(attribute:"description", value: "According to the versions of the cups package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - Integer overflow in international date handling in International Components for Unicode (ICU) for C/C++ before 60.1, as used in V8 in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to perform an out of bounds memory read via a crafted HTML page.(CVE-2019-8696) - A stack-buffer-overflow was found in libcups's asn1_get_packed function.(CVE-2019-8675) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues."); # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2020-1531 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?979b2de5"); script_set_attribute(attribute:"solution", value: "Update the affected cups packages."); script_set_attribute(attribute:"risk_factor", value:"Low"); script_set_attribute(attribute:"patch_publication_date", value:"2020/04/30"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/05/01"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-libs"); script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:uvp:3.0.2.0"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Huawei Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/uvp_version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/EulerOS/release"); if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS"); uvp = get_kb_item("Host/EulerOS/uvp_version"); if (uvp != "3.0.2.0") audit(AUDIT_OS_NOT, "EulerOS Virtualization 3.0.2.0"); if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu); if ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu); flag = 0; pkgs = ["cups-libs-1.6.3-35.h5"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2019-3057-1.NASL description This update for cups fixes the following issues : CVE-2019-8675: Fixed a stack-based buffer overflow in libcups last seen 2020-06-01 modified 2020-06-02 plugin id 131307 published 2019-11-26 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131307 title SUSE SLED12 / SLES12 Security Update : cups (SUSE-SU-2019:3057-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2019:3057-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(131307); script_version("1.2"); script_cvs_date("Date: 2019/12/09"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_name(english:"SUSE SLED12 / SLES12 Security Update : cups (SUSE-SU-2019:3057-1)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote SUSE host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "This update for cups fixes the following issues : CVE-2019-8675: Fixed a stack-based buffer overflow in libcups's asn1_get_type function(bsc#1146358). CVE-2019-8696: Fixed a stack-based buffer overflow in libcups's asn1_get_packed function (bsc#1146359). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1146358" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1146359" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2019-8675/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2019-8696/" ); # https://www.suse.com/support/update/announcement/2019/suse-su-20193057-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?351be876" ); script_set_attribute( attribute:"solution", value: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'. Alternatively you can run the command listed for your product : SUSE OpenStack Cloud Crowbar 8:zypper in -t patch SUSE-OpenStack-Cloud-Crowbar-8-2019-3057=1 SUSE OpenStack Cloud 8:zypper in -t patch SUSE-OpenStack-Cloud-8-2019-3057=1 SUSE OpenStack Cloud 7:zypper in -t patch SUSE-OpenStack-Cloud-7-2019-3057=1 SUSE Linux Enterprise Software Development Kit 12-SP5:zypper in -t patch SUSE-SLE-SDK-12-SP5-2019-3057=1 SUSE Linux Enterprise Software Development Kit 12-SP4:zypper in -t patch SUSE-SLE-SDK-12-SP4-2019-3057=1 SUSE Linux Enterprise Server for SAP 12-SP3:zypper in -t patch SUSE-SLE-SAP-12-SP3-2019-3057=1 SUSE Linux Enterprise Server for SAP 12-SP2:zypper in -t patch SUSE-SLE-SAP-12-SP2-2019-3057=1 SUSE Linux Enterprise Server for SAP 12-SP1:zypper in -t patch SUSE-SLE-SAP-12-SP1-2019-3057=1 SUSE Linux Enterprise Server 12-SP5:zypper in -t patch SUSE-SLE-SERVER-12-SP5-2019-3057=1 SUSE Linux Enterprise Server 12-SP4:zypper in -t patch SUSE-SLE-SERVER-12-SP4-2019-3057=1 SUSE Linux Enterprise Server 12-SP3-LTSS:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2019-3057=1 SUSE Linux Enterprise Server 12-SP3-BCL:zypper in -t patch SUSE-SLE-SERVER-12-SP3-BCL-2019-3057=1 SUSE Linux Enterprise Server 12-SP2-LTSS:zypper in -t patch SUSE-SLE-SERVER-12-SP2-2019-3057=1 SUSE Linux Enterprise Server 12-SP2-BCL:zypper in -t patch SUSE-SLE-SERVER-12-SP2-BCL-2019-3057=1 SUSE Linux Enterprise Server 12-SP1-LTSS:zypper in -t patch SUSE-SLE-SERVER-12-SP1-2019-3057=1 SUSE Linux Enterprise Desktop 12-SP4:zypper in -t patch SUSE-SLE-DESKTOP-12-SP4-2019-3057=1 SUSE Enterprise Storage 5:zypper in -t patch SUSE-Storage-5-2019-3057=1 HPE Helion Openstack 8:zypper in -t patch HPE-Helion-OpenStack-8-2019-3057=1" ); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-client-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-libs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cups-libs-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12"); script_set_attribute(attribute:"patch_publication_date", value:"2019/11/25"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/26"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE"); os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE"); os_ver = os_ver[1]; if (! preg(pattern:"^(SLED12|SLES12)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED12 / SLES12", "SUSE " + os_ver); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu); sp = get_kb_item("Host/SuSE/patchlevel"); if (isnull(sp)) sp = "0"; if (os_ver == "SLES12" && (! preg(pattern:"^(1|2|3|4|5)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP1/2/3/4/5", os_ver + " SP" + sp); if (os_ver == "SLED12" && (! preg(pattern:"^(4)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP4", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"1", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", cpu:"x86_64", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"2", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLES12", sp:"5", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-client-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-client-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-debugsource-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-libs-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-libs-32bit-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-libs-debuginfo-1.7.5-20.26.1")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"cups-libs-debuginfo-32bit-1.7.5-20.26.1")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family SuSE Local Security Checks NASL id OPENSUSE-2019-2573.NASL description This update for cups fixes the following issues : 	 - CVE-2019-8675: Fixed a stack-based buffer overflow in libcups last seen 2020-06-01 modified 2020-06-02 plugin id 131381 published 2019-11-27 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131381 title openSUSE Security Update : cups (openSUSE-2019-2573) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2019-2573. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(131381); script_version("1.2"); script_cvs_date("Date: 2019/12/09"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_name(english:"openSUSE Security Update : cups (openSUSE-2019-2573)"); script_summary(english:"Check for the openSUSE-2019-2573 patch"); script_set_attribute( attribute:"synopsis", value:"The remote openSUSE host is missing a security update." ); script_set_attribute( attribute:"description", value: "This update for cups fixes the following issues : 	 - CVE-2019-8675: Fixed a stack-based buffer overflow in libcups's asn1_get_type function(bsc#1146358). - CVE-2019-8696: Fixed a stack-based buffer overflow in libcups's asn1_get_packed function (bsc#1146359). This update was imported from the SUSE:SLE-15:Update update project." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1146358" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1146359" ); script_set_attribute(attribute:"solution", value:"Update the affected cups packages."); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-client-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-config"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-ddk"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-ddk-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cups-devel-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcups2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcups2-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcups2-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcups2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupscgi1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupscgi1-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupscgi1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupscgi1-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsimage2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsimage2-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsimage2-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsimage2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsmime1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsmime1-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsmime1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsmime1-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsppdc1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsppdc1-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsppdc1-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcupsppdc1-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.0"); script_set_attribute(attribute:"patch_publication_date", value:"2019/11/26"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/27"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE"); if (release !~ "^(SUSE15\.0)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.0", release); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); ourarch = get_kb_item("Host/cpu"); if (!ourarch) audit(AUDIT_UNKNOWN_ARCH); if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch); flag = 0; if ( rpm_check(release:"SUSE15.0", reference:"cups-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-client-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-client-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-config-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-ddk-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-ddk-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-debugsource-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"cups-devel-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcups2-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcups2-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupscgi1-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupscgi1-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsimage2-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsimage2-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsmime1-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsmime1-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsppdc1-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libcupsppdc1-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"cups-devel-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcups2-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcups2-32bit-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupscgi1-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupscgi1-32bit-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsimage2-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsimage2-32bit-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsmime1-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsmime1-32bit-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsppdc1-32bit-2.2.7-lp150.2.13.1") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libcupsppdc1-32bit-debuginfo-2.2.7-lp150.2.13.1") ) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups / cups-client / cups-client-debuginfo / cups-config / cups-ddk / etc"); }
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2346.NASL description According to the versions of the cups package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.(CVE-2017-18248) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8696) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8675) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 131511 published 2019-12-03 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131511 title EulerOS Virtualization for ARM 64 3.0.3.0 : cups (EulerOS-SA-2019-2346) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(131511); script_version("1.2"); script_cvs_date("Date: 2019/12/10"); script_cve_id( "CVE-2017-18248", "CVE-2019-8675", "CVE-2019-8696" ); script_name(english:"EulerOS Virtualization for ARM 64 3.0.3.0 : cups (EulerOS-SA-2019-2346)"); script_summary(english:"Checks the rpm output for the updated packages."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS Virtualization for ARM 64 host is missing multiple security updates."); script_set_attribute(attribute:"description", value: "According to the versions of the cups package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.(CVE-2017-18248) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8696) - ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2019-8675) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues."); # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2346 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?12bf3b11"); script_set_attribute(attribute:"solution", value: "Update the affected cups packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:N/I:N/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"patch_publication_date", value:"2019/12/03"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/12/03"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:cups-libs"); script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:uvp:3.0.3.0"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Huawei Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/uvp_version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/EulerOS/release"); if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS"); uvp = get_kb_item("Host/EulerOS/uvp_version"); if (uvp != "3.0.3.0") audit(AUDIT_OS_NOT, "EulerOS Virtualization 3.0.3.0"); if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu); if ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu); flag = 0; pkgs = ["cups-libs-2.2.8-5.h3.eulerosv2r8"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_NOTE, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cups"); }
NASL family Debian Local Security Checks NASL id DEBIAN_DLA-1893.NASL description Two issues have been found in cups, the Common UNIX Printing System(tm). Basically both CVEs (CVE-2019-8675 and CVE-2019-8696) are about stack-buffer-overflow in two functions of libcup. One happens in asn1_get_type() the other one in asn1_get_packed(). For Debian 8 last seen 2020-06-01 modified 2020-06-02 plugin id 128082 published 2019-08-23 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/128082 title Debian DLA-1893-1 : cups security update code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DLA-1893-1. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(128082); script_version("1.2"); script_cvs_date("Date: 2020/01/02"); script_cve_id("CVE-2019-8675", "CVE-2019-8696"); script_name(english:"Debian DLA-1893-1 : cups security update"); script_summary(english:"Checks dpkg output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Debian host is missing a security update." ); script_set_attribute( attribute:"description", value: "Two issues have been found in cups, the Common UNIX Printing System(tm). Basically both CVEs (CVE-2019-8675 and CVE-2019-8696) are about stack-buffer-overflow in two functions of libcup. One happens in asn1_get_type() the other one in asn1_get_packed(). For Debian 8 'Jessie', these problems have been fixed in version 1.7.5-11+deb8u5. We recommend that you upgrade your cups packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2019/08/msg00026.html" ); script_set_attribute( attribute:"see_also", value:"https://packages.debian.org/source/jessie/cups" ); script_set_attribute(attribute:"solution", value:"Upgrade the affected packages."); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-bsd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-client"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-common"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-core-drivers"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-daemon"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-dbg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-ppdc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:cups-server-common"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcups2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcups2-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupscgi1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupscgi1-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsimage2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsimage2-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsmime1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsmime1-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsppdc1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libcupsppdc1-dev"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0"); script_set_attribute(attribute:"patch_publication_date", value:"2019/08/22"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/23"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Debian Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("debian_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian"); if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (deb_check(release:"8.0", prefix:"cups", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-bsd", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-client", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-common", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-core-drivers", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-daemon", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-dbg", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-ppdc", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"cups-server-common", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcups2", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcups2-dev", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupscgi1", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupscgi1-dev", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsimage2", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsimage2-dev", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsmime1", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsmime1-dev", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsppdc1", reference:"1.7.5-11+deb8u5")) flag++; if (deb_check(release:"8.0", prefix:"libcupsppdc1-dev", reference:"1.7.5-11+deb8u5")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family SuSE Local Security Checks NASL id OPENSUSE-2019-2575.NASL description This update for cups fixes the following issues : 	 - CVE-2019-8675: Fixed a stack-based buffer overflow in libcups last seen 2020-06-01 modified 2020-06-02 plugin id 131383 published 2019-11-27 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131383 title openSUSE Security Update : cups (openSUSE-2019-2575)
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|