Debian DLA-3219-1 : jhead - LTS security update

high Nessus Plugin ID 168389

Synopsis

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

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3219 advisory.

- jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u. (CVE-2021-34055)

- Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option. (CVE-2022-41751)

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 jhead packages.

For Debian 10 buster, these problems have been fixed in version 1

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024272

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

https://www.debian.org/lts/security/2022/dla-3219

https://security-tracker.debian.org/tracker/CVE-2021-34055

https://security-tracker.debian.org/tracker/CVE-2022-41751

https://packages.debian.org/source/buster/jhead

Plugin Details

Severity: High

ID: 168389

File Name: debian_DLA-3219.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/5/2022

Updated: 12/5/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2022-41751

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:jhead, cpe:/o:debian:debian_linux:10.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2022

Vulnerability Publication Date: 10/17/2022

Reference Information

CVE: CVE-2021-34055, CVE-2022-41751