USN-6108-1: Jhead vulnerabilities

Publication date

25 May 2023

Overview

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


Packages

  • 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)

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
22.10 kinetic jhead –  1:3.06.0.1-2ubuntu0.22.10.1
22.04 jammy jhead –  1:3.06.0.1-2ubuntu0.22.04.1
20.04 focal jhead –  1:3.04-1ubuntu0.2
18.04 bionic jhead –  1:3.00-8~ubuntu0.2
16.04 xenial jhead –  1:3.00-4+deb9u1ubuntu0.1~esm2  
14.04 trusty jhead –  1:2.97-1+deb8u2ubuntu0.1~esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›