open-iscsi/rtslib-fb · Security
rtslib-fb weak permissions for /etc/target/saveconfig.json file
- GHSA ID
- GHSA-cpcw-p965-wpqx
- CVE ID
- CVE-2020-14019
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-276 · Incorrect Default Permissions
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-14019 ↗
- https://github.com/open-iscsi/rtslib-fb/pull/162 ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00012.html ↗
- https://github.com/open-iscsi/rtslib-fb/commit/b23d061ee0fa7924d2cdce6194c313b9ee06c468 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/rtslib-fb/PYSEC-2020-250.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TNMCV2DJJTX345YYBXAMJBXNNVUZQ5UH ↗
- https://github.com/advisories/GHSA-cpcw-p965-wpqx ↗