CVE-2016-8605 Race condition in n/a

Medium 5.3 Published Updated

A race condition in GNU Guile's mkdir function allows attackers to create directories with insecure permissions, potentially leading to privilege escalation or data exposure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8605?

CVE-2016-8605 is a medium-severity vulnerability in Fedoraproject Fedora, published on 12 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mkdir procedure of GNU Guile 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. This is fixed in Guile 2.0.13. Prior versions are affected.

Weakness: CWE-275

Which versions are affected by CVE-2016-8605?

It affects 2 products.

Linux distribution packages (16)
guile SUSE:Linux Enterprise Desktop 12 SP1All versions2.0.9-8.3
guile SUSE:Linux Enterprise Desktop 12 SP2All versions2.0.9-8.3
guile SUSE:Linux Enterprise Server 11 SP4All versions1.8.5-24.1
guile SUSE:Linux Enterprise Server 12 SP1All versions2.0.9-8.3
guile SUSE:Linux Enterprise Server 12 SP2All versions2.0.9-8.3
guile SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.0.9-8.3
guile SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions1.8.5-24.1
guile SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions2.0.9-8.3
guile SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.0.9-8.3
guile SUSE:Linux Enterprise Software Development Kit 11 SP4All versions1.8.5-24.1
guile SUSE:Linux Enterprise Software Development Kit 12 SP1All versions2.0.9-8.3
guile SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.0.9-8.3
guile1 SUSE:Linux Enterprise Software Development Kit 12 SP4All versions1.8.8-16.4.39
guile1 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.8.8-16.4.39
guile1 SUSE:Linux Enterprise Workstation Extension 12 SP4All versions1.8.8-16.4.39
guile1 SUSE:Linux Enterprise Workstation Extension 12 SP5All versions1.8.8-16.4.39

Products include Fedoraproject Fedora, Gnu Guile.

How do I fix CVE-2016-8605?

Upgrade to a fixed version.

Is CVE-2016-8605 being exploited?

There is no known exploitation of CVE-2016-8605 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2016-8605, GHSA-jxp8-7966-cm98, MGASA-2021-0340, SUSE-SU-2017:0394-1, SUSE-SU-2017:0398-1, SUSE-SU-2020:1659-1 and 2 more.

Is CVE-2016-8605 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free