Vulnerabilities in pkg:pypi/rtslib-fb
PACKAGECVE-2020-14019 is a HIGH (CVSS 7.8) rtslib-fb weak permissions for /etc/target/saveconfig.json vulnerability (CWE-276: Incorrect Default Permissions) affecting Rtslib fb libraries in the PyPI ecosystem. The issue involves rtslib-fb weak permissions for /etc/target/saveconfig.json file. Remediation is available by upgrading affected packages to version 2.1.73.
pkg:pypi/rtslib-fb
Vulnerability advisories affecting package pkg:pypi/rtslib-fb. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cpcw-p965-wpqx | CVE-2020-14019 | HIGH | rtslib-fb weak permissions for /etc/target/saveconfig.json file |
CVE-2020-14019 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-14019
To remediate this vulnerability, upgrade all affected Rtslib fb 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 rtslib-fb>=2.1.73
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show rtslib-fb
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-14019, inspect your installed packages using pip:
pip show rtslib-fb
Analyze the terminal output to locate any version of Rtslib fb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.73), your application is affected.
Note: The pip show rtslib-fb command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Rtslib fb, 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-2020-14019 Affected Rtslib fb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rtslib-fb
|
PyPI |
< 2.1.73
|
2.1.73
|
References
Frequently Asked Questions
What is CVE-2020-14019?
Which Rtslib fb versions are affected?
What version fixes CVE-2020-14019?
Is rtslib-fb affected?
What is the CVSS score of CVE-2020-14019?
What CWE is associated with CVE-2020-14019?
How can I check PyPI dependencies for CVE-2020-14019?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cpcw-p965-wpqx",
"modified" : "2024-10-21T21:25:20Z",
"published" : "2022-05-24T17:21:16Z",
"aliases" : [ "CVE-2020-14019" ],
"summary" : "rtslib-fb weak permissions for /etc/target/saveconfig.json file",
"details" : "Python rtslib-fb through 2.1.72 has weak permissions for `/etc/target/saveconfig.json` because shutil.copyfile (instead of shutil.copy) is used, and thus permissions are not preserved.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "rtslib-fb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.73"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.1.72"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-14019"
}, {
"type" : "WEB",
"url" : "https://github.com/open-iscsi/rtslib-fb/pull/162"
}, {
"type" : "WEB",
"url" : "https://github.com/open-iscsi/rtslib-fb/commit/b23d061ee0fa7924d2cdce6194c313b9ee06c468"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-iscsi/rtslib-fb"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/rtslib-fb/PYSEC-2020-250.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TNMCV2DJJTX345YYBXAMJBXNNVUZQ5UH"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00012.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-02T22:38:29Z",
"nvd_published_at" : "2020-06-19T11:15:00Z"
}
}