Bug 1656218 (CVE-2018-19664)

Summary: CVE-2018-19664 libjpeg-turbo: heap-based buffer over-read in the put_pixel_rows function in wrbmp.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: carnil, erik-fedora, klember, negativo17, nforro, phracek, rjones, vonsch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 13:46:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1656219, 1656220, 1656222    
Bug Blocks: 1656221    

Description Laura Pardo 2018-12-04 23:04:36 UTC
An issue was found in libjpeg-turbo 2.0.1. A heap-based buffer over-read in the put_pixel_rows function in wrbmp.c, as demonstrated by djpeg. 


References:
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/305

Comment 1 Laura Pardo 2018-12-04 23:05:25 UTC
Created libjpeg-turbo tracking bugs for this issue:

Affects: fedora-all [bug 1656219]


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

Affects: epel-7 [bug 1656222]
Affects: epel-all [bug 1656220]

Comment 2 Stefan Cornelius 2018-12-05 13:41:18 UTC
Looks like this was introduced by https://github.com/libjpeg-turbo/libjpeg-turbo/commit/aa7459050d7a50e1d8a99488902d41fbc118a50f

Comment 3 Stefan Cornelius 2018-12-05 13:46:26 UTC
Statement:

This issue did not affect the versions of libjpeg-turbo as shipped with Red Hat Enterprise Linux 6 and 7.