Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. rtslib-fb
  4. ›
  5. CVE-2020-14019

CVE-2020-14019: rtslib-fb weak permissions for /etc/target/saveconfig.json file

May 24, 2022 (updated October 21, 2024)

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.

References

  • github.com/advisories/GHSA-cpcw-p965-wpqx
  • github.com/open-iscsi/rtslib-fb
  • github.com/open-iscsi/rtslib-fb/commit/b23d061ee0fa7924d2cdce6194c313b9ee06c468
  • github.com/open-iscsi/rtslib-fb/pull/162
  • github.com/pypa/advisory-database/tree/main/vulns/rtslib-fb/PYSEC-2020-250.yaml
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TNMCV2DJJTX345YYBXAMJBXNNVUZQ5UH
  • nvd.nist.gov/vuln/detail/CVE-2020-14019

Code Behaviors & Features

Detect and mitigate CVE-2020-14019 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.73

Fixed versions

  • 2.1.73

Solution

Upgrade to version 2.1.73 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

pypi/rtslib-fb/CVE-2020-14019.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:35 +0000.