Name | CVE-2022-41751 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-3219-1, DSA-5294-1 |
Debian Bugs | 1022028 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
jhead (PTS) | buster | 1:3.00-8 | vulnerable |
buster (security) | 1:3.00-8+deb10u1 | fixed | |
bullseye (security), bullseye | 1:3.04-6+deb11u1 | fixed | |
bookworm, sid | 1:3.06.0.1-6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
jhead | source | buster | 1:3.00-8+deb10u1 | DLA-3219-1 | ||
jhead | source | bullseye | 1:3.04-6+deb11u1 | DSA-5294-1 | ||
jhead | source | (unstable) | 1:3.06.0.1-3 | 1022028 |
https://github.com/Matthias-Wandel/jhead/pull/57
https://github.com/Matthias-Wandel/jhead/commit/6985da52c9ad4f5f6c247269cb5508fae34a971c
https://github.com/Matthias-Wandel/jhead/commit/3fe905cf674f8dbac8a89e58cee1b4850abf9530
Fixes are insufficient: https://github.com/Matthias-Wandel/jhead/issues/60
https://github.com/Matthias-Wandel/jhead/commit/ec67262b8e5a4b05d8ad6898a09f1dc3fc032062
Further followup (bug #1023303): https://github.com/Matthias-Wandel/jhead/issues/65