CVE-2014-1839: Creation of Temporary File With Insecure Permissions in logilab-commons
5.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.1944%
CWE
Published
5/14/2022
Updated
9/30/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
logilab-common | pip | < 0.61.0 | 0.61.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly mentions the Execute
class in shellutils using tempfile.mktemp
. The Debian bug report and CVE analysis confirm this code pattern creates a race condition vulnerability. The function
generates temporary filenames
without atomic creation (via mktemp
), leaving a window for attackers to hijack the file paths. The patched version (0.61.0) would have replaced mktemp
with a secure method like tempfile.mkstemp
.