Bug 1394156 (CVE-2016-6809)

Summary: CVE-2016-6809 tika: Native deserialization of Java objects in matlab files
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dkholia, hhorak, java-sig-commits, jorton, kanderso, mat.booth, mnewsome, nobody+bgollahe, ohudlick, puntogil, rzima
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tika 1.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-31 08:25:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1394157    
Bug Blocks: 1394158    

Description Adam Mariš 2016-11-11 08:52:22 UTC
Apache Tika wraps the jmatio parser (https://github.com/gradusnikov/jmatio) to handle MATLAB files.  The parser uses native deserialization on serialized Java objects embedded in MATLAB files. A malicious user could inject arbitrary code into a MATLAB file that would be executed when the object is deserialized.

Versions Affected: 1.6-1.13 

Mitigation: Turn off MATLAB file parsing or upgrade to Tika 1.14

Public via:

http://seclists.org/bugtraq/2016/Nov/40

Upstream patch:

https://github.com/apache/tika/commit/8a68b5d474205cc9

Comment 1 Adam Mariš 2016-11-11 08:52:37 UTC
Created tika tracking bugs for this issue:

Affects: fedora-all [bug 1394157]