CVE-2022-41751 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.
HighCVSS 7.8
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/jhead(Debian 12) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 | Fixed |
| debian/jhead(Debian 13) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 | Fixed |
| debian/jhead(Debian 14) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 | Fixed |
| ubuntu/jhead(Ubuntu 18.04) | < 1:3.00-8~ubuntu0.2; = 1:3.00-4; = 1:3.00-5; = 1:3.00-6 +2 more | 1:3.00-8~ubuntu0.2 | Fixed |
| ubuntu/jhead(Ubuntu 20.04) | < 1:3.04-1ubuntu0.2; = 1:3.03-3; = 1:3.04-1; = 1:3.04-1ubuntu0.1 | 1:3.04-1ubuntu0.2 | Fixed |
| ubuntu/jhead(Ubuntu 22.04) | < 1:3.06.0.1-2ubuntu0.22.04.1; = 1:3.04-6; = 1:3.06.0.1-2 | 1:3.06.0.1-2ubuntu0.22.04.1 | Fixed |
| ubuntu/jhead(Ubuntu Pro 14.04) | < 1:2.97-1+deb8u2ubuntu0.1~esm2; = 1:2.97-1; = 1:2.97-1+deb8u1build0.14.04.1; = 1:2.97-1+deb8u2build0.14.04.1~esm1 +1 more | 1:2.97-1+deb8u2ubuntu0.1~esm2 | Fixed |
| ubuntu/jhead(Ubuntu Pro 16.04) | < 1:3.00-4+deb9u1ubuntu0.1~esm2; = 1:3.00-1; = 1:3.00-2; = 1:3.00-3 +2 more | 1:3.00-4+deb9u1ubuntu0.1~esm2 | Fixed |
| debian linux | = 10.0; = 11.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 35; = 36; = 37 | No fix listed | Versions listed |
| jhead project jhead | = 3.06.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/jhead(Ubuntu:22.04) | < 1:3.06.0.1-2ubuntu0.22.04.1 | 1:3.06.0.1-2ubuntu0.22.04.1 |
| jhead project jhead | = 3.06.0.1 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| debian/jhead(Debian:12) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 |
| debian/jhead(Debian:14) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 |
| debian/jhead(Debian:13) | < 1:3.06.0.1-3 | 1:3.06.0.1-3 |
| ubuntu/jhead(Ubuntu:Pro:14.04) | < 1:2.97-1+deb8u2ubuntu0.1~esm2 | 1:2.97-1+deb8u2ubuntu0.1~esm2 |
| ubuntu/jhead(Ubuntu:Pro:14.04) | = 1:2.97-1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:14.04) | = 1:2.97-1+deb8u1build0.14.04.1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:14.04) | = 1:2.97-1+deb8u2build0.14.04.1~esm1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:14.04) | = 1:2.97-1+deb8u2ubuntu0.1~esm1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:16.04) | < 1:3.00-4+deb9u1ubuntu0.1~esm2 | 1:3.00-4+deb9u1ubuntu0.1~esm2 |
| ubuntu/jhead(Ubuntu:Pro:16.04) | = 1:3.00-1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:16.04) | = 1:3.00-2 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:16.04) | = 1:3.00-3 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:16.04) | = 1:3.00-4+deb9u1build0.16.04.1 | No fix listed |
| ubuntu/jhead(Ubuntu:Pro:16.04) | = 1:3.00-4+deb9u1ubuntu0.1~esm1 | No fix listed |
| ubuntu/jhead(Ubuntu:18.04) | < 1:3.00-8~ubuntu0.2 | 1:3.00-8~ubuntu0.2 |
| ubuntu/jhead(Ubuntu:18.04) | = 1:3.00-4 | No fix listed |
| ubuntu/jhead(Ubuntu:18.04) | = 1:3.00-5 | No fix listed |
| ubuntu/jhead(Ubuntu:18.04) | = 1:3.00-6 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/jhead(Ubuntu:18.04) | = 1:3.00-8~build0.18.04.1 | No fix listed |
| ubuntu/jhead(Ubuntu:18.04) | = 1:3.00-8~ubuntu0.1 | No fix listed |
| ubuntu/jhead(Ubuntu:20.04) | < 1:3.04-1ubuntu0.2 | 1:3.04-1ubuntu0.2 |
| ubuntu/jhead(Ubuntu:20.04) | = 1:3.03-3 | No fix listed |
| ubuntu/jhead(Ubuntu:20.04) | = 1:3.04-1 | No fix listed |
| ubuntu/jhead(Ubuntu:20.04) | = 1:3.04-1ubuntu0.1 | No fix listed |
| ubuntu/jhead(Ubuntu:22.04) | = 1:3.04-6 | No fix listed |
| ubuntu/jhead(Ubuntu:22.04) | = 1:3.06.0.1-2 | No fix listed |
References
- Debian Security Tracker CVE-2022-41751 vendor-advisory
- github.com product third-party-advisory
- github.com exploit third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- 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 third-party-advisory
- DSA-5294 third-party-advisory vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6108-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking