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 used, and thus permissions are not preserved.
What to do
Fixed builds are available from Debian, PyPI, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | python-rtslib-fb | Fix pending | UBUNTU-CVE-2020-14019 | |
| Ubuntu 18.04 | python-rtslib-fb | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | python-rtslib-fb | Not affected vulnerable_code_not_present | ||
| Debian 14 | python-rtslib-fb | Fixed | 2.1.71-3 | DEBIAN-CVE-2020-14019 |
| Debian 13 | python-rtslib-fb | Fixed | 2.1.71-3 | DEBIAN-CVE-2020-14019 |
| Debian 12 | python-rtslib-fb | Fixed | 2.1.71-3 | DEBIAN-CVE-2020-14019 |
| Red Hat Enterprise Linux 8 | python-rtslib | Fixed | 0:2.1.73-2.el8 | RHEA-2020:4505 |
| Red Hat Enterprise Linux 8 | python3-rtslib | Fixed | 0:2.1.73-2.el8 | RHEA-2020:4505 |
| Red Hat Enterprise Linux 8 | target-restore | Fixed | 0:2.1.73-2.el8 | RHEA-2020:4505 |
| Red Hat Enterprise Linux 7 | python-rtslib | Fixed | 0:2.1.74-1.el7_9 | RHSA-2020:5435 |
| Red Hat Enterprise Linux 7 | python-rtslib-doc | Fixed | 0:2.1.74-1.el7_9 | RHSA-2020:5435 |
| Red Hat Enterprise Linux 6 | python-rtslib | Will not fix Out of support scope | ||
| PyPI library | rtslib-fb | Fixed | 2.1.73 | GHSA-cpcw-p965-wpqx |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00012.html (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.