CVE-2022-28550

NameCVE-2022-28550
DescriptionMatthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a result, there will be a stack buffer overflow problem when multiple `&i` or `&o` are given.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jhead (PTS)bullseye (security), bullseye1:3.04-6+deb11u1vulnerable
bookworm1:3.06.0.1-6vulnerable
sid, trixie1:3.08-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jheadsource(unstable)1:3.08-1

Notes

[bookworm] - jhead <no-dsa> (Minor issue)
[bullseye] - jhead <no-dsa> (Minor issue)
[buster] - jhead <no-dsa> (Minor issue)
https://github.com/Matthias-Wandel/jhead/issues/51
https://github.com/Matthias-Wandel/jhead/commit/9688daa7de7eb7bdc6b2223c33eb9ccc2f668b88 (3.08)

Search for package or bug name: Reporting problems