Bug 1282492 (CVE-2015-8106) - CVE-2015-8106 latex2rtf: Format string vulnerability in CmdKeywords
Summary: CVE-2015-8106 latex2rtf: Format string vulnerability in CmdKeywords
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2015-8106
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: 1282493 1282494
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-16 15:21 UTC by Adam Mariš
Modified: 2019-09-29 13:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 02:45:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2015-11-16 15:21:21 UTC
A format string vulnerability was found in CmdKeywords function when processing \keywords command in tex file. When the user runs latex2rtf with malicious crafted tex file, an attacker can execute arbitrary code. The variable `keywords' in the function CmdKeywords may hold a malicious input string, which can be used as a format argument of vsnprintf.

Vulnerable code:

1789        char *keywords = getBraceParam();
...
1798    fprintRTF(keywords);
...

858    void fprintRTF(char *format, ...){
      ...
873    vsnprintf(buffer, 1024, format, apf);
      ...

Public disclosure (includes reproducer and suggested fix):

http://seclists.org/oss-sec/2015/q4/283

Comment 1 Adam Mariš 2015-11-16 15:21:53 UTC
Created latex2rtf tracking bugs for this issue:

Affects: fedora-all [bug 1282493]
Affects: epel-all [bug 1282494]

Comment 2 Fedora Update System 2016-04-05 10:11:19 UTC
latex2rtf-2.3.10-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2016-04-08 20:22:21 UTC
latex2rtf-2.3.10-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2016-04-09 14:23:19 UTC
latex2rtf-2.3.10-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-04-16 18:54:02 UTC
latex2rtf-2.3.10-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-04-22 17:25:47 UTC
latex2rtf-2.3.10-1.el6.1 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Product Security DevOps Team 2019-06-08 02:45:31 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.