CVE-2020-14019 is a high-severity (CVSS 7.8) Incorrect Default Permissions vulnerability in rtslib-fb. A fix is available for rtslib-fb — see the affected versions and patch details below.
rtslib-fb weak permissions for /etc/target/saveconfig.json file
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
rtslib-fbReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Open-iSCSI 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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | rtslib-fb | all versions | 2.1.73pip install --upgrade 'rtslib-fb==2.1.73' |
Affected Products
rtslib-fbrtslib-fb_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rtslib-fb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rtslib-fb to 2.1.73 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-14019 is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat Ceph Storage 2 and 3 are not affected because within the affected method, shutil.copyfile is not used. However, the affected method, save_to_file is outdated and contains a race condition. Hence, this issue has been rated as having a security impact of low.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 7 | python-rtslib-0:2.1.74-1.el7_9 | RHSA-2020:5435 |
| Red Hat Enterprise Linux 8 | python-rtslib-0:2.1.73-2.el8 | RHEA-2020:4505 |
Frequently Asked Questions
Is CVE-2020-14019 in your dependencies?
Find it across PyPI, including transitive dependencies.