GLSA-202210-17 : JHead: Multiple Vulnerabilities

high Nessus Plugin ID 166730

Description

The remote host is affected by the vulnerability described in GLSA-202210-17 (JHead: Multiple Vulnerabilities)

- A Denial of Service vulnerability exists in jhead 3.04 and 3.05 due to a wild address read in the Get16u function in exif.c in will cause segmentation fault via a crafted_file. (CVE-2021-28275)

- A Denial of Service vulnerability exists in jhead 3.04 and 3.05 via a wild address read in the ProcessCanonMakerNoteDir function in makernote.c. (CVE-2021-28276)

- A Heap-based Buffer Overflow vulnerability exists in jhead 3.04 and 3.05 is affected by: Buffer Overflow via the RemoveUnknownSections function in jpgfile.c. (CVE-2021-28277)

- A Heap-based Buffer Overflow vulnerability exists in jhead 3.04 and 3.05 via the RemoveSectionType function in jpgfile.c. (CVE-2021-28278)

- A heap-based buffer overflow was found in jhead in version 3.06 in Get16u() in exif.c when processing a crafted file. (CVE-2021-3496)

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

Solution

All JHead users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=media-gfx/jhead-3.06.0.1

See Also

https://security.gentoo.org/glsa/202210-17

https://bugs.gentoo.org/show_bug.cgi?id=730746

Plugin Details

Severity: High

ID: 166730

File Name: gentoo_GLSA-202210-17.nasl

Version: 1.4

Type: local

Published: 10/31/2022

Updated: 10/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-3496

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: p-cpe:/a:gentoo:linux:jhead, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2022

Vulnerability Publication Date: 4/22/2021

Reference Information

CVE: CVE-2021-28275, CVE-2021-28276, CVE-2021-28277, CVE-2021-28278, CVE-2021-3496