Bug 1173633 - (CVE-2020-14940) VUL-0: CVE-2020-14940: tuxguitar: improper configuration of XML parsers might lead to XXE while loading GP6 (.gpx) and GP7 (.gp) tablature files
(CVE-2020-14940)
VUL-0: CVE-2020-14940: tuxguitar: improper configuration of XML parsers might...
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 15.1
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Mindaugas Baranauskas
Security Team bot
https://smash.suse.de/issue/262182/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-07-02 13:49 UTC by Alexandros Toptsoglou
Modified: 2020-07-04 16:34 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2020-07-02 13:49:18 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/
Comment 1 Mindaugas Baranauskas 2020-07-04 16:34:09 UTC
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...