Bug 2006930 (CVE-2021-37972) - CVE-2021-37972 libjpeg-turbo: Out-of-bounds read in 64-bit SSE2 Huffman encoder
Summary: CVE-2021-37972 libjpeg-turbo: Out-of-bounds read in 64-bit SSE2 Huffman encoder
Keywords:
Status: NEW
Alias: CVE-2021-37972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2007679 2006931 2006932 2007307 2007309
Blocks: 2007311
TreeView+ depends on / blocked
 
Reported: 2021-09-22 16:42 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-16 17:18 UTC (History)
19 users (show)

Fixed In Version: libjpeg-turbo 2.1.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the libjpeg-turbo package, where it is susceptible to an out-of-bounds read on crafted input and malformed files. Proper bounds checking is not enforced when processing JPEG files. The highest threat from this vulnerability is system availability.
Clone Of:
Environment:
Last Closed: 2021-09-22 18:21:54 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-09-22 16:42:31 UTC
An out of bounds read flaw was found in the libjpeg-turbo component of the Chromium browser.

Upstream bug(s):

https://code.google.com/p/chromium/issues/detail?id=1234259

External References:

https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_21.html

Comment 1 Guilherme de Almeida Suckevicz 2021-09-22 16:43:35 UTC
Created chromium tracking bugs for this issue:

Affects: epel-all [bug 2006932]
Affects: fedora-all [bug 2006931]

Comment 2 Product Security DevOps Team 2021-09-22 18:21:54 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 4 Guilherme de Almeida Suckevicz 2021-09-23 14:23:52 UTC
Created libjpeg-turbo tracking bugs for this issue:

Affects: fedora-all [bug 2007307]


Created mingw-libjpeg-turbo tracking bugs for this issue:

Affects: fedora-all [bug 2007309]

Comment 6 Tomas Hoger 2021-09-24 06:26:32 UTC
The upstream bug report remains private at this point.  However, its bug is referenced by this commit:

https://source.chromium.org/chromium/_/chromium/chromium/deps/libjpeg_turbo.git/+/ff19e5b2e176c61d552f68768e0e051867745321
https://chromium-review.googlesource.com/c/chromium/deps/libjpeg_turbo/+/3085321

This commit updates libjpeg-turbo bundled with Chromium sources from version 2.1.0 to 2.1.1.  The CVE assignment seems to be for this change mentioned in the commit message:

"""
Notable changes include a fix for a crash in the 64-bit SSE2 Huffman
encoder.
"""

This should correspond to the following libjpeg-turbo commit:

https://github.com/libjpeg-turbo/libjpeg-turbo/commit/2849d86aaae168fcac2e1b6c373c249781a41c5c

Note that the commit message notes the problem was introduced in commit 087c29e, which was added in version 2.0.90 according git tags.

Comment 7 Tomas Hoger 2021-09-24 07:01:17 UTC
This is libjpeg-turbo upstream bug report, that points back to the Chromium bug:

https://github.com/libjpeg-turbo/libjpeg-turbo/issues/543


Note You need to log in before you can comment on or make changes to this bug.