CVE-2020-14019
Python vulnerability analysis and mitigation

Overview

CVE-2020-14019 affects Open-iSCSI rtslib-fb through version 2.1.72. The vulnerability was discovered in June 2020 and involves weak permissions for the /etc/target/saveconfig.json file due to the use of shutil.copyfile instead of shutil.copy, which does not preserve file permissions (NVD).

Technical details

The vulnerability stems from improper file permission handling in the rtslib-fb package. When saving configuration files, the code uses shutil.copyfile() instead of shutil.copy(), which fails to preserve the intended file permissions. This results in the /etc/target/saveconfig.json file having overly permissive default permissions instead of the intended restricted access (GitHub PR). The vulnerability has a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The weak file permissions on /etc/target/saveconfig.json could allow unauthorized access to sensitive configuration data. The file permissions are set to world-readable (-rw-r--r--) instead of the intended restricted access (-rw-------), potentially exposing system configuration information (GitHub PR).

Exploitability

The vulnerability requires local access to the system to exploit. An attacker with local access could read sensitive configuration information from the affected file due to the overly permissive file permissions (NVD).

Mitigation and workarounds

The vulnerability was fixed in rtslib-fb version 2.1.73 by changing the file copy operation from shutil.copyfile() to shutil.copy() to properly preserve file permissions. Users should upgrade to version 2.1.73 or later to address this vulnerability (OpenSUSE, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59714HIGH7.1
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 13, 2026
CVE-2026-48099HIGH7.1
  • Python logoPython
  • python3-wsgidav+pam
NoYesAug 13, 2026
CVE-2026-45725HIGH7.1
  • Python logoPython
  • compliance-trestle
NoYesAug 13, 2026
CVE-2026-73652HIGH7.1
  • Python logoPython
  • vantage6
NoNoAug 13, 2026
CVE-2026-45774MEDIUM6.9
  • Python logoPython
  • compliance-trestle
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management