Bug 1610890 (CVE-2018-14679)

Summary: CVE-2018-14679 libmspack: off-by-one error in the CHM PMGI/PMGL chunk number validity checks
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: cavery, dan, jen, lpardo, rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libmspack 0.7alpha Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:34:48 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: 1610891, 1610893, 1610932, 1611550    
Bug Blocks: 1610945    

Description Laura Pardo 2018-08-01 14:46:29 UTC
An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the CHM PMGI/PMGL chunk number validity checks, which could lead to denial of service (uninitialized data dereference and application crash)


References:
http://openwall.com/lists/oss-security/2018/07/28/1
https://bugs.debian.org/904802

Upstream patch:
https://github.com/kyz/libmspack/commit/72e70a921f0f07fee748aec2274b30784e1d312a

Comment 1 Laura Pardo 2018-08-01 14:46:53 UTC
Created libmspack tracking bugs for this issue:

Affects: fedora-all [bug 1610891]

Comment 4 Laura Pardo 2018-08-01 16:25:49 UTC
Created libmspack tracking bugs for this issue:

Affects: epel-all [bug 1610932]

Comment 6 Stefan Cornelius 2018-08-02 10:38:53 UTC
Statement:

This issue affects the versions of libmspack as shipped with Red Hat Enterprise Linux 7.

Comment 8 errata-xmlrpc 2018-10-30 07:59:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3327 https://access.redhat.com/errata/RHSA-2018:3327