Integer Overflow or Wraparound Affecting jhead package, versions <1:3.00-8~build0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.37% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-JHEAD-339546
  • published25 Sept 2018
  • disclosed16 Sept 2018

Introduced: 16 Sep 2018

CVE-2018-17088  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 jhead to version 1:3.00-8~build0.18.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jhead package and not the jhead package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service attack or unspecified other impact via a malicious JPEG file, because there is an integer overflow during a check for whether a location exceeds the EXIF data length. This is analogous to the CVE-2016-3822 integer overflow in exif.c. This gpsinfo.c vulnerability is unrelated to the CVE-2018-16554 gpsinfo.c vulnerability.