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

References