Vulnerabilities in pkg:pypi/logilab-common
PACKAGECVE-2014-1839 is a MODERATE (CVSS 5.6) creation of temporary file with vulnerability (CWE-378: Creation of Temporary File With Insecure Permissions) affecting Logilab common libraries in the PyPI ecosystem. The issue involves creation of temporary file with insecure permissions in logilab-commons. Remediation is available by upgrading affected packages to version 0.61.0.
pkg:pypi/logilab-common
Vulnerability advisories affecting package pkg:pypi/logilab-common. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g5m2-22h2-rr3j | CVE-2014-1839 | MODERATE | Creation of Temporary File With Insecure Permissions in logilab-commons |
| GHSA-rr52-wg7f-8875 | CVE-2014-1838 | HIGH | Improper Link Resolution Before File Access in logilab-commons |
CVE-2014-1839 at a Glance
Security Impact
CVSS: 5.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2014-1839
To remediate this vulnerability, upgrade all affected Logilab common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install logilab-common>=0.61.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show logilab-common
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-1839, inspect your installed packages using pip:
pip show logilab-common
Analyze the terminal output to locate any version of Logilab common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.61.0), your application is affected.
Note: The pip show logilab-common command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-378: Creation of Temporary File With Insecure Permissions, where opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack. In Logilab common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-1839 Affected Logilab common Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
logilab-common
|
PyPI |
< 0.61.0
|
0.61.0
|
References
Frequently Asked Questions
What is CVE-2014-1839?
Which Logilab common versions are affected?
What version fixes CVE-2014-1839?
Is logilab-common affected?
What is the CVSS score of CVE-2014-1839?
What CWE is associated with CVE-2014-1839?
How can I check PyPI dependencies for CVE-2014-1839?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g5m2-22h2-rr3j",
"modified" : "2024-09-30T16:48:42Z",
"published" : "2022-05-14T02:09:23Z",
"aliases" : [ "CVE-2014-1839" ],
"summary" : "Creation of Temporary File With Insecure Permissions in logilab-commons",
"details" : "The Execute class in shellutils in logilab-common before 0.61.0 uses tempfile.mktemp, which allows local users to have an unspecified impact by pre-creating the temporary file.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "logilab-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.61.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-1839"
}, {
"type" : "WEB",
"url" : "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737051"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-g5m2-22h2-rr3j"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/logilab-common/PYSEC-2014-84.yaml"
}, {
"type" : "WEB",
"url" : "http://comments.gmane.org/gmane.comp.security.oss.general/11986"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2014-02/msg00085.html"
}, {
"type" : "WEB",
"url" : "http://www.logilab.org/ticket/207562"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-378" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T22:48:13Z",
"nvd_published_at" : "2014-03-11T19:37:00Z"
}
}