Debian DSA-5579-1 : freeimage - security update

high Nessus Plugin ID 187051

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 / 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5579 advisory.

- Buffer Overflow vulnerability in function LoadPixelDataRLE8 in PluginBMP.cpp in FreeImage 3.18.0 allows remote attackers to run arbitrary code and cause other impacts via crafted image file. (CVE-2020-21427)

- Buffer Overflow vulnerability in function LoadRGB in PluginDDS.cpp in FreeImage 3.18.0 allows remote attackers to run arbitrary code and cause other impacts via crafted image file. (CVE-2020-21428)

- Buffer Overflow vulnerability in FreeImage_Load function in FreeImage Library 3.19.0(r1828) allows attackers to cuase a denial of service via crafted PFM file. (CVE-2020-22524)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the freeimage packages.

For the stable distribution (bookworm), these problems have been fixed in version 3.18.0+ds2-9+deb12u1.

See Also

https://packages.debian.org/source/bookworm/freeimage

https://security-tracker.debian.org/tracker/source-package/freeimage

https://www.debian.org/security/2023/dsa-5579

https://security-tracker.debian.org/tracker/CVE-2020-21427

https://security-tracker.debian.org/tracker/CVE-2020-21428

https://security-tracker.debian.org/tracker/CVE-2020-22524

Plugin Details

Severity: High

ID: 187051

File Name: debian_DSA-5579.nasl

Version: 1.3

Type: local

Agent: unix

Published: 12/18/2023

Updated: 12/24/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2020-21428

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libfreeimageplus-doc, p-cpe:/a:debian:debian_linux:freeimage, p-cpe:/a:debian:debian_linux:libfreeimage3, p-cpe:/a:debian:debian_linux:libfreeimage-dev, p-cpe:/a:debian:debian_linux:libfreeimageplus3, cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:libfreeimageplus-dev

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/17/2023

Vulnerability Publication Date: 8/22/2023

Reference Information

CVE: CVE-2020-21427, CVE-2020-21428, CVE-2020-22524