Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879801 (CVE-2021-34055) - <media-gfx/jhead-3.06.0.1-r1: heap buffer overflow
Summary: <media-gfx/jhead-3.06.0.1-r1: heap buffer overflow
Status: CONFIRMED
Alias: CVE-2021-34055
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/Matthias-Wandel/jh...
Whiteboard: B3 [glsa?]
Keywords:
Depends on: 905846
Blocks:
  Show dependency tree
 
Reported: 2022-11-05 01:14 UTC by John Helmert III
Modified: 2023-06-12 20:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-05 01:14:40 UTC
CVE-2021-34055:

jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.

Patch is: https://github.com/Matthias-Wandel/jhead/commit/f0a884210cc46830b176f71fd61569adc8f230a7

Not sure if in any release
Comment 1 Larry the Git Cow gentoo-dev 2023-04-10 02:48:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf038d30f5cae49c82bed3af187d62387ed8c1e

commit ecf038d30f5cae49c82bed3af187d62387ed8c1e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-04-10 02:48:08 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-04-10 02:48:38 +0000

    media-gfx/jhead: Add CVE-2021-34055 patch
    
    Bug: https://bugs.gentoo.org/879801
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../files/jhead-3.06.0.1-CVE-2021-34055.patch      | 108 +++++++++++++++++++++
 media-gfx/jhead/jhead-3.06.0.1-r1.ebuild           |  27 ++++++
 2 files changed, 135 insertions(+)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2023-06-12 20:24:59 UTC
Cleanup done