Ubuntu 6342 Published by

A Jhead security update has been released for Ubuntu Linux 14.04 LTS, 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 22.10.



USN-6108-1: Jhead vulnerabilities


==========================================================================
Ubuntu Security Notice USN-6108-1
May 25, 2023

Jhead vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS (Available with Ubuntu Pro)
- Ubuntu 14.04 LTS (Available with Ubuntu Pro)

Summary:

Jhead could be made to crash or run programs as your login if it
opened a specially crafted file.

Software Description:
- jhead: Manipulate the non-image part of Exif compliant JPEG files

Details:

It was discovered that Jhead did not properly handle certain crafted images
while rotating them. An attacker could possibly use this issue to crash Jhead,
resulting in a denial of service. (CVE-2021-34055)

Kyle Brown discovered that Jhead did not properly handle certain crafted
images while regenerating the Exif thumbnail. An attacker could possibly use
this issue to execute arbitrary commands. (CVE-2022-41751)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.10:
jhead 1:3.06.0.1-2ubuntu0.22.10.1

Ubuntu 22.04 LTS:
jhead 1:3.06.0.1-2ubuntu0.22.04.1

Ubuntu 20.04 LTS:
jhead 1:3.04-1ubuntu0.2

Ubuntu 18.04 LTS:
jhead 1:3.00-8~ubuntu0.2

Ubuntu 16.04 LTS (Available with Ubuntu Pro):
jhead 1:3.00-4+deb9u1ubuntu0.1~esm2

Ubuntu 14.04 LTS (Available with Ubuntu Pro):
jhead 1:2.97-1+deb8u2ubuntu0.1~esm2

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6108-1
CVE-2021-34055, CVE-2022-41751

Package Information:
https://launchpad.net/ubuntu/+source/jhead/1:3.06.0.1-2ubuntu0.22.10.1
https://launchpad.net/ubuntu/+source/jhead/1:3.06.0.1-2ubuntu0.22.04.1
https://launchpad.net/ubuntu/+source/jhead/1:3.04-1ubuntu0.2
https://launchpad.net/ubuntu/+source/jhead/1:3.00-8~ubuntu0.2