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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)buster2.7.16-2+deb10u1fixed
buster (security)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed

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)
python3.2source(unstable)(unfixed)low
python3.3source(unstable)(unfixed)
python3.4source(unstable)3.4.1-1

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