OS Command Injection Affecting jhead package, versions <1:3.00-8~ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.25% (64th 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 Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-JHEAD-3086956
  • published27 Oct 2022
  • disclosed17 Oct 2022

Introduced: 17 Oct 2022

CVE-2022-41751  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 jhead to version 1:3.00-8~ubuntu0.2 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.

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.

CVSS Scores

version 3.1