Vulnerabilities > CVE-2018-1152 - Divide By Zero vulnerability in multiple products
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
HIGH Summary
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 | |
OS | 5 | |
OS | 1 |
Common Weakness Enumeration (CWE)
Nessus
NASL family SuSE Local Security Checks NASL id SUSE_SU-2019-0711-1.NASL description This update for libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) 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. last seen 2020-06-01 modified 2020-06-02 plugin id 123067 published 2019-03-25 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/123067 title SUSE SLED15 / SLES15 Security Update : libjpeg-turbo (SUSE-SU-2019:0711-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:0711-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(123067); script_version("1.3"); script_cvs_date("Date: 2020/02/03"); script_cve_id("CVE-2018-1152", "CVE-2018-11813", "CVE-2018-14498"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"SUSE SLED15 / SLES15 Security Update : libjpeg-turbo (SUSE-SU-2019:0711-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 libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) 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=1096209" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1098155" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1128712" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-1152/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-11813/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-14498/" ); # https://www.suse.com/support/update/announcement/2019/suse-su-20190711-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?26a25d05" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); 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 Packagehub Subpackages 15:zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-2019-711=1 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15:zypper in -t patch SUSE-SLE-Module-Development-Tools-OBS-15-2019-711=1 SUSE Linux Enterprise Module for Desktop Applications 15:zypper in -t patch SUSE-SLE-Module-Desktop-Applications-15-2019-711=1 SUSE Linux Enterprise Module for Basesystem 15:zypper in -t patch SUSE-SLE-Module-Basesystem-15-2019-711=1" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:L/PR:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libturbojpeg0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libturbojpeg0-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/06"); script_set_attribute(attribute:"patch_publication_date", value:"2019/03/22"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/03/25"); 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:"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)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0", os_ver + " SP" + sp); if (os_ver == "SLED15" && (! preg(pattern:"^(0)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP0", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", cpu:"x86_64", reference:"libjpeg8-32bit-debuginfo-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-debuginfo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-debuginfo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg62-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg62-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg62-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg62-debuginfo-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg62-devel-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg8-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg8-debuginfo-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libjpeg8-devel-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libturbojpeg0-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"libturbojpeg0-debuginfo-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", cpu:"x86_64", reference:"libjpeg8-32bit-debuginfo-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-debuginfo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-debuginfo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg62-turbo-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg62-turbo-debugsource-1.5.3-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg62-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg62-debuginfo-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg62-devel-62.2.0-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg8-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg8-debuginfo-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libjpeg8-devel-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libturbojpeg0-8.1.2-5.7.1")) flag++; if (rpm_check(release:"SLED15", sp:"0", reference:"libturbojpeg0-debuginfo-8.1.2-5.7.1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libjpeg-turbo"); }
NASL family SuSE Local Security Checks NASL id OPENSUSE-2019-1343.NASL description This update for libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) This update was imported from the SUSE:SLE-12:Update update project. last seen 2020-06-01 modified 2020-06-02 plugin id 124708 published 2019-05-09 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/124708 title openSUSE Security Update : libjpeg-turbo (openSUSE-2019-1343) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2019-1343. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(124708); script_version("1.2"); script_cvs_date("Date: 2020/01/21"); script_cve_id("CVE-2018-1152", "CVE-2018-11813", "CVE-2018-14498"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"openSUSE Security Update : libjpeg-turbo (openSUSE-2019-1343)"); script_summary(english:"Check for the openSUSE-2019-1343 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 libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) This update was imported from the SUSE:SLE-12:Update update project." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1096209" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1098155" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1128712" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); script_set_attribute( attribute:"solution", value:"Update the affected libjpeg-turbo packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:L/PR:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-debuginfo-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-devel-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-debuginfo-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-devel-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-debuginfo-32bit"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.3"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/06"); script_set_attribute(attribute:"patch_publication_date", value:"2019/05/08"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/05/09"); 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:"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 !~ "^(SUSE42\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.3", 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:"SUSE42.3", reference:"libjpeg-turbo-1.5.3-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg-turbo-debuginfo-1.5.3-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg-turbo-debugsource-1.5.3-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg62-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg62-debuginfo-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg62-devel-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg62-turbo-1.5.3-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg62-turbo-debugsource-1.5.3-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg8-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg8-debuginfo-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libjpeg8-devel-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libturbojpeg0-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"libturbojpeg0-debuginfo-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg62-32bit-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg62-debuginfo-32bit-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg62-devel-32bit-62.2.0-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg8-debuginfo-32bit-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libjpeg8-devel-32bit-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libturbojpeg0-32bit-8.1.2-45.1") ) flag++; if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libturbojpeg0-debuginfo-32bit-8.1.2-45.1") ) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libjpeg-turbo / libjpeg-turbo-debuginfo / libjpeg-turbo-debugsource / etc"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-1825-1.NASL description This update for jpeg fixes the following issues : - CVE-2017-15232: NULL pointer dereferences in jdpostct.c and jquant1.c could lead to denial of service (crash) when processing images [bsc#1062937] - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop [bsc#1096209] - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image [bsc#1098155] 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. last seen 2020-06-01 modified 2020-06-02 plugin id 110762 published 2018-06-28 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/110762 title SUSE SLES11 Security Update : jpeg (SUSE-SU-2018:1825-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2018:1825-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(110762); script_version("1.8"); script_cvs_date("Date: 2019/09/10 13:51:48"); script_cve_id("CVE-2017-15232", "CVE-2018-1152", "CVE-2018-11813"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"SUSE SLES11 Security Update : jpeg (SUSE-SU-2018:1825-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 jpeg fixes the following issues : - CVE-2017-15232: NULL pointer dereferences in jdpostct.c and jquant1.c could lead to denial of service (crash) when processing images [bsc#1062937] - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop [bsc#1096209] - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image [bsc#1098155] 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=1062937" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1096209" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1098155" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2017-15232/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-1152/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-11813/" ); # https://www.suse.com/support/update/announcement/2018/suse-su-20181825-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?d2be5bdd" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); 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 Software Development Kit 11-SP4:zypper in -t patch sdksp4-jpeg-13681=1 SUSE Linux Enterprise Server 11-SP4:zypper in -t patch slessp4-jpeg-13681=1 SUSE Linux Enterprise Debuginfo 11-SP4:zypper in -t patch dbgsp4-jpeg-13681=1" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:ND"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:X"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:jpeg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11"); script_set_attribute(attribute:"vuln_publication_date", value:"2017/10/11"); script_set_attribute(attribute:"patch_publication_date", value:"2018/06/27"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/06/28"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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:"^(SLES11)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLES11", "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 == "SLES11" && (! preg(pattern:"^(4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES11 SP4", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES11", sp:"4", cpu:"x86_64", reference:"libjpeg-32bit-6.2.0-879.12.7.1")) flag++; if (rpm_check(release:"SLES11", sp:"4", cpu:"s390x", reference:"libjpeg-32bit-6.2.0-879.12.7.1")) flag++; if (rpm_check(release:"SLES11", sp:"4", reference:"jpeg-6b-879.12.7.1")) flag++; if (rpm_check(release:"SLES11", sp:"4", reference:"libjpeg-6.2.0-879.12.7.1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "jpeg"); }
NASL family Debian Local Security Checks NASL id DEBIAN_DLA-1638.NASL description Several vulnerabilities have been resolved in libjpeg-turbo, Debian last seen 2020-03-17 modified 2019-01-23 plugin id 121315 published 2019-01-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/121315 title Debian DLA-1638-1 : libjpeg-turbo security update code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DLA-1638-1. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(121315); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/24"); script_cve_id("CVE-2016-3616", "CVE-2018-11212", "CVE-2018-11213", "CVE-2018-11214", "CVE-2018-1152"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"Debian DLA-1638-1 : libjpeg-turbo 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: "Several vulnerabilities have been resolved in libjpeg-turbo, Debian's default JPEG implemenation. CVE-2016-3616 The cjpeg utility in libjpeg allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) or execute arbitrary code via a crafted file. This issue got fixed by the same patch that fixed CVE-2018-11213 and CVE-2018-11214. CVE-2018-1152 libjpeg-turbo has been found vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image. The issue has been resolved by a boundary check. CVE-2018-11212 The alloc_sarray function in jmemmgr.c allowed remote attackers to cause a denial of service (divide-by-zero error) via a crafted file. The issue has been addressed by checking the image size when reading a targa file and throwing an error when image width or height is 0. CVE-2018-11213 CVE-2018-11214 The get_text_gray_row and get_text_rgb_row functions in rdppm.c both allowed remote attackers to cause a denial of service (Segmentation fault) via a crafted file. By checking the range of integer values in PPM text files and adding checks to ensure values are within the specified range, both issues For Debian 8 'Jessie', these problems have been fixed in version 1:1.3.1-12+deb8u1. We recommend that you upgrade your libjpeg-turbo 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/01/msg00015.html" ); script_set_attribute( attribute:"see_also", value:"https://packages.debian.org/source/jessie/libjpeg-turbo" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); script_set_attribute(attribute:"solution", value:"Upgrade the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/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:L/PR:N/UI:R/S:U/C:H/I:H/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs-dbg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg62-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dbg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dev"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libturbojpeg1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libturbojpeg1-dbg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:libturbojpeg1-dev"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0"); script_set_attribute(attribute:"vuln_publication_date", value:"2017/02/13"); script_set_attribute(attribute:"patch_publication_date", value:"2019/01/22"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/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:"libjpeg-dev", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libjpeg-turbo-progs", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libjpeg-turbo-progs-dbg", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libjpeg62-turbo", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libjpeg62-turbo-dbg", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libjpeg62-turbo-dev", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libturbojpeg1", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libturbojpeg1-dbg", reference:"1:1.3.1-12+deb8u1")) flag++; if (deb_check(release:"8.0", prefix:"libturbojpeg1-dev", reference:"1:1.3.1-12+deb8u1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get()); else security_warning(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family SuSE Local Security Checks NASL id OPENSUSE-2019-1118.NASL description This update for libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) This update was imported from the SUSE:SLE-15:Update update project. last seen 2020-06-01 modified 2020-06-02 plugin id 123665 published 2019-04-03 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/123665 title openSUSE Security Update : libjpeg-turbo (openSUSE-2019-1118) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2019-1118. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(123665); script_version("1.2"); script_cvs_date("Date: 2020/01/27"); script_cve_id("CVE-2018-1152", "CVE-2018-11813", "CVE-2018-14498"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"openSUSE Security Update : libjpeg-turbo (openSUSE-2019-1118)"); script_summary(english:"Check for the openSUSE-2019-1118 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 libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). - CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) - CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) 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=1096209" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1098155" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1128712" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); script_set_attribute( attribute:"solution", value:"Update the affected libjpeg-turbo packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:L/PR:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-devel-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg62-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libjpeg8-devel-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-32bit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-32bit-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libturbojpeg0-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.0"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/06"); script_set_attribute(attribute:"patch_publication_date", value:"2019/04/02"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/04/03"); 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:"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:"libjpeg-turbo-1.5.3-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg-turbo-debuginfo-1.5.3-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg-turbo-debugsource-1.5.3-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg62-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg62-debuginfo-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg62-devel-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg62-turbo-1.5.3-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg62-turbo-debugsource-1.5.3-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg8-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg8-debuginfo-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libjpeg8-devel-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libturbojpeg0-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", reference:"libturbojpeg0-debuginfo-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg62-32bit-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg62-32bit-debuginfo-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg62-devel-32bit-62.2.0-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg8-32bit-debuginfo-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libjpeg8-devel-32bit-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libturbojpeg0-32bit-8.1.2-lp150.4.3.2") ) flag++; if ( rpm_check(release:"SUSE15.0", cpu:"x86_64", reference:"libturbojpeg0-32bit-debuginfo-8.1.2-lp150.4.3.2") ) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libjpeg-turbo / libjpeg-turbo-debuginfo / libjpeg-turbo-debugsource / etc"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2018-930DD33E43.NASL description Fix for **CVE-2018-1152**. 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-05 modified 2019-01-03 plugin id 120621 published 2019-01-03 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/120621 title Fedora 28 : libjpeg-turbo (2018-930dd33e43) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory FEDORA-2018-930dd33e43. # include("compat.inc"); if (description) { script_id(120621); script_version("1.4"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2018-1152"); script_xref(name:"FEDORA", value:"2018-930dd33e43"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"Fedora 28 : libjpeg-turbo (2018-930dd33e43)"); 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: "Fix for **CVE-2018-1152**. 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-2018-930dd33e43" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); script_set_attribute( attribute:"solution", value:"Update the affected libjpeg-turbo package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/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:L/PR:N/UI:R/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:libjpeg-turbo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:28"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/18"); script_set_attribute(attribute:"patch_publication_date", value:"2018/07/11"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/03"); 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:"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:"^28([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 28", "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:"FC28", reference:"libjpeg-turbo-1.5.3-6.fc28")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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, "libjpeg-turbo"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2019-1111-1.NASL description This update for libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) 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. last seen 2020-06-01 modified 2020-06-02 plugin id 124453 published 2019-05-01 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/124453 title SUSE SLED12 / SLES12 Security Update : libjpeg-turbo (SUSE-SU-2019:1111-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:1111-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(124453); script_version("1.3"); script_cvs_date("Date: 2020/01/21"); script_cve_id("CVE-2018-1152", "CVE-2018-11813", "CVE-2018-14498"); script_xref(name:"TRA", value:"TRA-2018-17"); script_name(english:"SUSE SLED12 / SLES12 Security Update : libjpeg-turbo (SUSE-SU-2019:1111-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 libjpeg-turbo fixes the following issues : The following security vulnerabilities were addressed : CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712). CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209) CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155) 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=1096209" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1098155" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1128712" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-1152/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-11813/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-14498/" ); # https://www.suse.com/support/update/announcement/2019/suse-su-20191111-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?8c6a9214" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2018-17" ); 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 Software Development Kit 12-SP4:zypper in -t patch SUSE-SLE-SDK-12-SP4-2019-1111=1 SUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t patch SUSE-SLE-SDK-12-SP3-2019-1111=1 SUSE Linux Enterprise Server 12-SP4:zypper in -t patch SUSE-SLE-SERVER-12-SP4-2019-1111=1 SUSE Linux Enterprise Server 12-SP3:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2019-1111=1 SUSE Linux Enterprise Desktop 12-SP4:zypper in -t patch SUSE-SLE-DESKTOP-12-SP4-2019-1111=1 SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2019-1111=1" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/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:L/PR:N/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:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-turbo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg62-turbo-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libjpeg8-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libturbojpeg0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libturbojpeg0-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/06"); script_set_attribute(attribute:"patch_publication_date", value:"2019/04/30"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/05/01"); 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:"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:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP3/4", os_ver + " SP" + sp); if (os_ver == "SLED12" && (! preg(pattern:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP3/4", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg-turbo-debuginfo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-debuginfo-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg8-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg8-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libturbojpeg0-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libturbojpeg0-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg62-debuginfo-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg8-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"4", reference:"libjpeg8-debuginfo-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg-turbo-debuginfo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-debuginfo-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg8-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg8-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libturbojpeg0-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libturbojpeg0-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg62-debuginfo-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg8-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libjpeg8-debuginfo-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg-turbo-debuginfo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-debuginfo-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-debuginfo-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg62-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg8-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg8-debuginfo-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libjpeg8-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libturbojpeg0-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"4", cpu:"x86_64", reference:"libturbojpeg0-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg-turbo-debuginfo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-debuginfo-32bit-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-debuginfo-62.2.0-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-turbo-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg62-turbo-debugsource-1.5.3-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg8-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg8-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg8-debuginfo-32bit-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libjpeg8-debuginfo-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libturbojpeg0-8.1.2-31.14.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libturbojpeg0-debuginfo-8.1.2-31.14.2")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libjpeg-turbo"); }
NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2318.NASL description According to the version of the libjpeg-turbo package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerability : - libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.(CVE-2018-1152) 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 131483 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/131483 title EulerOS Virtualization for ARM 64 3.0.3.0 : libjpeg-turbo (EulerOS-SA-2019-2318) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(131483); script_version("1.2"); script_cvs_date("Date: 2019/12/10"); script_cve_id( "CVE-2018-1152" ); script_name(english:"EulerOS Virtualization for ARM 64 3.0.3.0 : libjpeg-turbo (EulerOS-SA-2019-2318)"); script_summary(english:"Checks the rpm output for the updated package."); script_set_attribute(attribute:"synopsis", value: "The remote EulerOS Virtualization for ARM 64 host is missing a security update."); script_set_attribute(attribute:"description", value: "According to the version of the libjpeg-turbo package installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerability : - libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.(CVE-2018-1152) 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-2318 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?23dcc636"); script_set_attribute(attribute:"solution", value: "Update the affected libjpeg-turbo package."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/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:L/PR:N/UI:R/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:libjpeg-turbo"); 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 = ["libjpeg-turbo-2.0.0-1.eulerosv2r8"]; foreach (pkg in pkgs) if (rpm_check(release:"EulerOS-2.0", reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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, "libjpeg-turbo"); }
NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-3706-1.NASL description It was discovered that libjpeg-turbo incorrectly handled certain malformed JPEG images. If a user or automated system were tricked into opening a specially crafted JPEG image, a remote attacker could cause libjpeg-turbo to crash, resulting in a denial of service, or possibly execute arbitrary code. 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 110973 published 2018-07-10 reporter Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/110973 title Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : libjpeg-turbo vulnerabilities (USN-3706-1)
References
- https://www.tenable.com/security/research/tra-2018-17
- https://github.com/libjpeg-turbo/libjpeg-turbo/commit/43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6
- http://www.securityfocus.com/bid/104543
- https://usn.ubuntu.com/3706-1/
- https://usn.ubuntu.com/3706-2/
- https://lists.debian.org/debian-lts-announce/2019/01/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00015.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00033.html