Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1383966 - (CVE-2016-8605) CVE-2016-8605 guile: Thread-unsafe umask modification
CVE-2016-8605 guile: Thread-unsafe umask modification
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20161010,reported=2...
: Security
Depends On: 1383973 1383974 1383975
Blocks: 1383977
  Show dependency treegraph
 
Reported: 2016-10-12 05:23 EDT by Andrej Nemec
Modified: 2016-12-16 09:28 EST (History)
5 users (show)

See Also:
Fixed In Version: guile 2.0.13
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in guile, in the mkdir procedure's usage of umask(2). Under particular circumstances, an attacker could influence an application written in guile to create directories or files insecurely, potentially exposing them to being read or manipulated by local users.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-16 00:05:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2016-10-12 05:23:17 EDT
The mkdir procedure of GNU Guile, an implementation of the Scheme programming language, temporarily changed the process' umask to zero. During that time window, in a multithreaded application, other threads could end up creating files with insecure permissions. For example, mkdir without the optional mode argument would create directories as 0777.

Upstream bug:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24659

Upstream patch:

http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=245608911698adb3472803856019bdd5670b6614

References:

http://seclists.org/oss-sec/2016/q4/92
Comment 1 Andrej Nemec 2016-10-12 05:33:08 EDT
Created compat-guile18 tracking bugs for this issue:

Affects: fedora-all [bug 1383974]
Affects: epel-7 [bug 1383975]
Comment 2 Andrej Nemec 2016-10-12 05:33:15 EDT
Created guile tracking bugs for this issue:

Affects: fedora-all [bug 1383973]
Comment 3 Doran Moppert 2016-12-15 23:56:46 EST
The opportunity for impact here is quite small, requiring mkdir-with-mask to be executed simultaneously with either mkdir-without-mask or create-file-without-mask in another thread.  The impact is for a directory or file to be created with too-permissive permissions, so that another local user might be able to read or write to it - subject to permissions of its containing directory.
Comment 4 Doran Moppert 2016-12-16 00:04:57 EST
Statement:

Red Hat Product Security has rated this issue as having Low security
impact. This issue is not currently planned to be addressed in future
updates. For additional information, refer to the Issue Severity
Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.