Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814206 (CVE-2021-37972) - <media-libs/libjpeg-turbo-2.1.1: Out of bounds read (CVE-2021-37972)
Summary: <media-libs/libjpeg-turbo-2.1.1: Out of bounds read (CVE-2021-37972)
Status: IN_PROGRESS
Alias: CVE-2021-37972
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A3 [glsa]
Keywords: PullRequest
Depends on: 787422 812851
Blocks: CVE-2020-17541 CVE-2021-37956, CVE-2021-37957, CVE-2021-37958, CVE-2021-37959, CVE-2021-37960, CVE-2021-37961, CVE-2021-37962, CVE-2021-37963, CVE-2021-37965, CVE-2021-37966, CVE-2021-37967, CVE-2021-37968, CVE-2021-37970, CVE-2021-37971
  Show dependency tree
 
Reported: 2021-09-21 18:51 UTC by Sam James
Modified: 2021-11-19 06:29 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.
Comment 1 Larry the Git Cow gentoo-dev 2021-09-21 19:45:28 UTC
The bug has been referenced in the following commit(s):

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

commit 5461f1137c410777343daf6c6f688ab8d5422116
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-21 19:25:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-21 19:25:38 +0000

    media-libs/libjpeg-turbo: add patch for arm64 writable sections
    
    Bug: https://bugs.gentoo.org/814206
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libjpeg-turbo-2.1.1-arm64-relro.patch      | 20 ++++++++++++++++++++
 ...2.1.1-r1.ebuild => libjpeg-turbo-2.1.1-r2.ebuild} |  5 +++++
 2 files changed, 25 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2021-10-17 20:39:18 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(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-11-19 06:29:39 UTC
The bug has been referenced in the following commit(s):

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

commit 9a1c0376c9e1e22ebfabe4333773d390395d5652
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-19 06:28:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-19 06:29:31 +0000

    media-libs/libjpeg-turbo: add 2.1.2
    
    Just tagging the security bug to note that while this
    release upstream contains the executable sections fix,
    it was already fixed in Gentoo a while ago.
    
    Bug: https://bugs.gentoo.org/814206
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libjpeg-turbo/Manifest                  |   1 +
 .../libjpeg-turbo/libjpeg-turbo-2.1.2.ebuild       | 128 +++++++++++++++++++++
 2 files changed, 129 insertions(+)