Bugzilla – Bug 1173633
VUL-0: CVE-2020-14940: tuxguitar: improper configuration of XML parsers might lead to XXE while loading GP6 (.gpx) and GP7 (.gp) tablature files
Last modified: 2020-07-04 16:34:09 UTC
CVE-2020-14940 An issue was discovered in io/gpx/GPXDocumentReader.java in TuxGuitar 1.5.4. It uses misconfigured XML parsers, leading to XXE while loading GP6 (.gpx) and GP7 (.gp) tablature files. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-14940 http://people.canonical.com/~ubuntu-security/cve/2020/CVE-2020-14940.html http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14940 https://logicaltrust.net/blog/2020/06/tuxguitar.html https://sourceforge.net/p/tuxguitar/bugs/126/
openSUSE has Tuxguitar 1.4 instead of 1.5.4 According to OWASP XXE Prevention Cheat Sheet <https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html>, this problem can be solved by proper configuration of a parser: DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); String FEATURE = "http://apache.org/xml/features/disallow-doctype-decl"; dbf.setFeature(FEATURE, true); However I don't know where to patch Tuxguitar...