Vulnerability · Published Oct 17, 2022 · Assigned by mitre
CVE-2022-41751
High 7.8
In plain English
A high-severity OS command injection in the jhead package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.5%top 58.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jhead | 1:3.06.0.1-3 | DEBIAN-CVE-2022-41751 |
| Debian:13 | jhead | 1:3.06.0.1-3 | DEBIAN-CVE-2022-41751 |
| Debian:14 | jhead | 1:3.06.0.1-3 | DEBIAN-CVE-2022-41751 |
| Ubuntu:22.04:LTS | jhead | 1:3.06.0.1-2ubuntu0.22.04.1 | USN-6108-1 |
| Ubuntu:22.04:LTS | jhead | 1:3.06.0.1-2ubuntu0.22.04.1 | UBUNTU-CVE-2022-41751 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/Matthias-Wandel/jhead
- https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788
- https://github.com/Matthias-Wandel/jhead/pull/57
- FEDORA-2022-1d9133bc8e vendor-advisory
- FEDORA-2022-61ec901852 vendor-advisory
- FEDORA-2022-628829f0e6 vendor-advisory
- [debian-lts-announce] 20221204 [SECURITY] [DLA 3219-1] jhead security update mailing-list
- DSA-5294 vendor-advisory