Bug 1576640 (CVE-2018-10771) - CVE-2018-10771 abcm2ps: Stack-based buffer overflow in parse.c:get_key() allows for denial of service
Summary: CVE-2018-10771 abcm2ps: Stack-based buffer overflow in parse.c:get_key() allo...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-10771
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1576641
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-10 03:24 UTC by Sam Fowler
Modified: 2019-09-29 14:38 UTC (History)
1 user (show)

Fixed In Version: abcm2ps 8.13.21
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:22:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-05-10 03:24:49 UTC
Abcm2ps before version 8.13.21 is vulnerable to a stack-based buffer overflow in the parse.c:get_key() function. An attacker could exploit this to cause a denial of service via crafted file.


Upstream issue:

https://github.com/leesavide/abcm2ps/issues/17


Upstream patch:

https://github.com/leesavide/abcm2ps/commit/dc0372993674d0b50fedfbf7b9fad1239b8efc5f

Comment 1 Sam Fowler 2018-05-10 03:25:06 UTC
Created abcm2ps tracking bugs for this issue:

Affects: fedora-all [bug 1576641]

Comment 2 Sam Fowler 2018-05-10 03:28:37 UTC
Couldn't reproduce this with abcm2ps-7.8.14-5.fc27.src.rpm on F27:

$ gdb -q abcm2ps
Reading symbols from abcm2ps...done.
(gdb) r ~/Downloads/abcm2ps/POC2 
Starting program: /home/sfowler/rpmbuild/BUILD/abcm2ps-7.8.14/abcm2ps ~/Downloads/abcm2ps/POC2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
abcm2ps-7.8.14 (March 25, 2015)
File /home/sfowler/Downloads/abcm2ps/POC2
Error in line 6.2: Bad character
   6 [1�
       ^
   - In tune '':
Error in line 5.0: w: without music
Output written on Out.ps (1 page, 1 title, 18271 bytes)
[Inferior 1 (process 16672) exited with code 01

Comment 3 Product Security DevOps Team 2019-06-10 10:22:34 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.


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