Skip to content
OpenAdvisories
High · 7.8 CVE-2020-14019 EUVD-2020-0169GHSA-cpcw-p965-wpqxPYSEC-2020-250

rtslib-fb weak permissions for /etc/target/saveconfig.json file

Published Jun 19, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-rtslib-fb 2.1.71-3 —
Debian 13 python-rtslib-fb 2.1.71-3 —
Debian 12 python-rtslib-fb 2.1.71-3 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS python-rtslib-fb No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 python-rtslib +2 2.1.73-2.el8 RHEA-2020:4505
RHEL 7 python-rtslib +1 2.1.74-1.el7_9 RHSA-2020:5435
ReleasePackageFixed inAdvisory
SLES 15 SP2 python-rtslib-fb 2.1.73-3.3.1 SUSE-SU-2020:2109-1
SLES 2 python-rtslib-fb 2.1.73-3.3.1 SUSE-SU-2020:2109-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 python-rtslib-fb 2.1.73-lp152.2.3.1 openSUSE-SU-2020:1156-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 python-rtslib +1 2.1.74-1.amzn2 ALAS2-2021-1589

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-rtslib No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 python-rtslib +1 2.1.74-1.0.1.el7_9 ELSA-2020-5435

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI rtslib-fb < 2.1.73 2.1.73 GHSA-cpcw-p965-wpqx

Advisories 6

References