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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3219-1, DSA-5294-1 |
Debian Bugs | 1022028 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jhead (PTS) | jessie, jessie (lts) | 1:2.97-1+deb8u2 | vulnerable |
| stretch | 1:3.00-4+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 1:3.00-8+deb10u1 | fixed |
| bullseye (security), bullseye | 1:3.04-6+deb11u1 | fixed |
| bookworm | 1:3.06.0.1-6 | fixed |
| sid, trixie | 1:3.08-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
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