CVE-2014-2667

NameCVE-2014-2667
DescriptionRace condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when exist_ok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the expected value.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie2.7.9-2+deb8u1fixed
jessie (security)2.7.9-2+deb8u5fixed
stretch (security), stretch2.7.13-2+deb9u3fixed
buster2.7.16-2fixed
bullseye, sid2.7.16-4fixed
python3.4 (PTS)jessie3.4.2-1fixed
jessie (security)3.4.2-1+deb8u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(not affected)
python2.6source(unstable)(not affected)
python2.7source(unstable)(not affected)
python3.1source(unstable)(unfixed)low
python3.2source(unstable)(unfixed)low
python3.3source(unstable)(unfixed)low
python3.4source(unstable)3.4.1-1low

Notes

[squeeze] - python3.1 <no-dsa> (Minor issue)
[wheezy] - python3.2 <no-dsa> (Minor issue)
- python2.5 <not-affected> (Only affects Python 3.x)
- python2.6 <not-affected> (Only affects Python 3.x)
- python2.7 <not-affected> (Only affects Python 3.x)

Search for package or bug name: Reporting problems