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: RESOLVED FIXED
Alias: CVE-2021-34055
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
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: 2024-06-22 08:33 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
Comment 3 Larry the Git Cow gentoo-dev 2024-06-22 08:31:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=70a36362e8053f3760826b4ccce860e94299c700

commit 70a36362e8053f3760826b4ccce860e94299c700
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2024-06-22 08:28:39 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-06-22 08:29:13 +0000

    [ GLSA 202406-05 ] JHead: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/876247
    Bug: https://bugs.gentoo.org/879801
    Bug: https://bugs.gentoo.org/908519
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 glsa-202406-05.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)