Bug 1730568 (CVE-2019-1010305) - CVE-2019-1010305 libmspack: buffer overflow in function chmd_read_headers()
Summary: CVE-2019-1010305 libmspack: buffer overflow in function chmd_read_headers()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-1010305
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1730569 1730570 1736744 1736745
Blocks: 1730573
TreeView+ depends on / blocked
 
Reported: 2019-07-17 07:22 UTC by Dhananjay Arunesh
Modified: 2021-02-16 21:42 UTC (History)
4 users (show)

Fixed In Version: libmspack-0.10alpha
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:33:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1686 0 None None None 2020-04-28 15:40:12 UTC
Red Hat Product Errata RHSA-2020:3848 0 None None None 2020-09-29 19:14:38 UTC

Description Dhananjay Arunesh 2019-07-17 07:22:58 UTC
libmspack 0.9.1alpha is affected by: Buffer Overflow. The impact is: Information Disclosure. The component is: function chmd_read_headers() in libmspack(file libmspack/mspack/chmd.c). The attack vector is: the victim must open a specially crafted chm file.

Reference:
https://github.com/kyz/libmspack/commit/2f084136cfe0d05e5bf5703f3e83c6d955234b4d
https://github.com/kyz/libmspack/issues/27

Comment 1 Dhananjay Arunesh 2019-07-17 07:23:30 UTC
Created libmspack tracking bugs for this issue:

Affects: epel-6 [bug 1730569]

Comment 2 Dhananjay Arunesh 2019-07-17 07:24:30 UTC
Created libmspack tracking bugs for this issue:

Affects: fedora-all [bug 1730570]

Comment 4 Marco Benatto 2019-08-02 14:33:23 UTC
When opening Windows compressed archives, libmspack starts reading the archive header to retrieve files and compression information. During this stage at chmd_read_headers() if a CHM file starts file '::' and is shorter than 33 bytes a heap-based buffer overflow happens due to out-of-bands read. This happens when the user opens a specially crafted CHM file. The flaw itself has a very low impact and is not easily exploitable, its may be produce small heap data leaks but with no further consequences.

Comment 6 Marco Benatto 2019-08-02 14:50:14 UTC
Statement:

This issue affects versions of libmspack as shipped with Red Hat Enterprise Linux 7 and 8. This flaw was rated as having a Low security impact by the Red Hat Product Security Team.

Comment 7 errata-xmlrpc 2020-04-28 15:40:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:1686 https://access.redhat.com/errata/RHSA-2020:1686

Comment 8 Product Security DevOps Team 2020-04-28 16:33:27 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-1010305

Comment 9 errata-xmlrpc 2020-09-29 19:14:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3848 https://access.redhat.com/errata/RHSA-2020:3848


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