Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680282 (CVE-2018-20004, CVE-2018-20005, CVE-2018-20592, CVE-2018-20593) - <dev-libs/mxml-2.12: multiple vulnerabilities
Summary: <dev-libs/mxml-2.12: multiple vulnerabilities
Status: RESOLVED FIXED
Alias: CVE-2018-20004, CVE-2018-20005, CVE-2018-20592, CVE-2018-20593
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/michaelrsweet/mxml...
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-14 03:25 UTC by D'juan McDonald (domhnall)
Modified: 2019-03-14 05:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D'juan McDonald (domhnall) 2019-03-14 03:25:13 UTC
CVE-2018-20593(https://nvd.nist.gov/vuln/detail/CVE-2018-20593):
In Mini-XML (aka mxml) v2.12, there is stack-based buffer overflow in the scan_file function in mxmldoc.c.

CVE-2018-20592(https://nvd.nist.gov/vuln/detail/CVE-2018-20592):
In Mini-XML (aka mxml) v2.12, there is a use-after-free in the mxmlAdd function of the mxml-node.c file. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted xml file, as demonstrated by mxmldoc.

Upstream:https://github.com/michaelrsweet/mxml/issues/237

CVE-2018-20005(https://nvd.nist.gov/vuln/detail/CVE-2018-20005):
An issue has been found in Mini-XML (aka mxml) 2.12. It is a use-after-free in mxmlWalkNext in mxml-search.c, as demonstrated by mxmldoc.

CVE-2018-20004(https://nvd.nist.gov/vuln/detail/CVE-2018-20004):
An issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in mxml_write_node in mxml-file.c via vectors involving a double-precision floating point number and the '<order type="real">' substring, as demonstrated by testmxml.

Upstream: https://github.com/michaelrsweet/mxml/issues/233

Reference: https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node


Gentoo Security Padawan
(domhnall)