Bug 959433 (CVE-2015-7810)
Summary: | CVE-2015-7810 libbluray (MountManager): TOCTOU race when expanding JAR files | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | bnocera, carnil, dkholia, fweimer, security-response-team |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-01 09:33:26 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: | 959238 | ||
Bug Blocks: | 959437 |
Description
Jan Lieskovsky
2013-05-03 13:14:56 UTC
This issue affects the versions of the libbluray package, as shipped with Fedora release of 17, 18, and Fedora EPEL-6. From the original report by Florian Weimer: Creating a temporary file, deleting it, and re-creating it as a directory is racy: File tmpDir = null; try { jar = new JarFile(path); tmpDir = File.createTempFile("bdj-", ""); } catch (IOException e) { e.printStackTrace(); throw new MountException(); } // create temporary directory tmpDir.delete(); tmpDir.mkdir(); Another user might create a directory with wide permissions and do nasty stuff in there. CVE was assigned: http://seclists.org/oss-sec/2015/q4/70 |