Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797424 (CVE-2020-17541) - <media-libs/libjpeg-turbo-2.0.4: buffer overrun vulnerability (CVE-2020-17541)
Summary: <media-libs/libjpeg-turbo-2.0.4: buffer overrun vulnerability (CVE-2020-17541)
Status: IN_PROGRESS
Alias: CVE-2020-17541
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/libjpeg-turbo/libj...
Whiteboard: B3 [glsa]
Keywords:
Depends on: CVE-2021-37972
Blocks:
  Show dependency tree
 
Reported: 2021-06-22 03:10 UTC by John Helmert III
Modified: 2024-03-29 10:38 UTC (History)
1 user (show)

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 2021-06-22 03:10:20 UTC
CVE-2020-17541:

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Patch: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/6bbc0a3c703f5ea2aecc3a6e60e8ba2935febb82
Patch is in our 2.x version but doesn't appear to be in a tagged release for
the 1.x branch.
Comment 1 NATTkA bot gentoo-dev 2021-07-29 17:21:35 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:29:44 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:37:42 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:45:47 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:53:52 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 18:01:46 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:10:07 UTC
Package list is empty or all packages have requested keywords.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 16:43:57 UTC
(In reply to John Helmert III from comment #0)
> Patch:
> https://github.com/libjpeg-turbo/libjpeg-turbo/commit/
> 6bbc0a3c703f5ea2aecc3a6e60e8ba2935febb82
> Patch is in our 2.x version but doesn't appear to be in a tagged release for
> the 1.x branch.

Yeah, here's the commit that's been in 2.x since 2.0.4: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/c76f4a08263b0cea40d2967560ac7c21f6959079
Comment 9 Larry the Git Cow gentoo-dev 2021-10-17 20:39:21 UTC
The bug has been referenced in the following commit(s):

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

commit 64cfcaa52778c853abeb26d16803346a4023f181
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2021-10-14 21:59:28 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2021-10-17 20:36:35 +0000

    media-libs/libjpeg-turbo: drop 1.5.3-r4, 2.1.0-r2
    
    Bug: https://bugs.gentoo.org/797424
    Bug: https://bugs.gentoo.org/814206
    Closes: https://bugs.gentoo.org/787422
    Signed-off-by: John Helmert III <ajak@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/22581

 media-libs/libjpeg-turbo/Manifest                  |   2 -
 .../files/libjpeg-turbo-1.2.0-x32.patch            |  38 ------
 .../files/libjpeg-turbo-1.5.3-CVE-2020-13790.patch |  43 -------
 .../files/libjpeg-turbo-1.5.3-cve-2018-11813.patch |  45 --------
 .../files/libjpeg-turbo-1.5.3-divzero_fix.patch    |  18 ---
 .../libjpeg-turbo/libjpeg-turbo-1.5.3-r4.ebuild    | 126 --------------------
 .../libjpeg-turbo/libjpeg-turbo-2.1.0-r2.ebuild    | 128 ---------------------
 7 files changed, 400 deletions(-)