{"answers":{"affected":"3 open source packages ship an affected version, including rtslib-fb. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-14019 in the wild and no public exploit code.","fix":"Upgrade rtslib-fb to 2.1.73 or later.","what":"CVE-2020-14019 is a high-severity vulnerability in n/a, published on 19 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-14019 and fix it if it is affected.\n\nWhat it is: CVE-2020-14019 is a high-severity vulnerability in n/a, published on 19 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-14019 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rtslib-fb (PyPI): affected all versions; fixed in 2.1.73\n- rtslib-fb (PyPI): affected all versions; fixed in 2.1.73\n- rtslib-fb (PyPI): affected all versions; fixed in 2.1.73\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-14019/ (Markdown: https://insights.sbomify.com/CVE-2020-14019/index.md)","id":"CVE-2020-14019","markdown":"https://insights.sbomify.com/CVE-2020-14019/index.md","name":"CVE-2020-14019","record":{"aliases":["AZL-44778","DEBIAN-CVE-2020-14019","GHSA-cpcw-p965-wpqx","MGASA-2020-0336","PYSEC-2020-250","RHEA-2020:4505","RHSA-2020:5435","SUSE-SU-2020:2109-1","UBUNTU-CVE-2020-14019","openSUSE-SU-2020:1156-1","openSUSE-SU-2024:11270-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"iSCSI target library","requires_auth":"low_privilege","summary":"Weak file permissions on saveconfig.json allow local attackers to read sensitive iSCSI target configuration data.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rtslib-fb","vendor":"rtslib-fb_project"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"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.","ecosystems":["PyPI","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Python 2 15 SP2","openSUSE:Leap 15.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"rtslib-fb weak permissions for /etc/target/saveconfig.json file","id":"CVE-2020-14019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"misconfiguration","year":"2020"},"n_packages":16,"n_references":3,"next":{"headline":"Path traversal in n/a","id":"CVE-2020-14021"},"packages":[{"ecosystem":"PyPI","fixed":["2.1.73"],"introduced":["0"],"last_affected":[],"package":"rtslib-fb","purl":null,"source":"GHSA-cpcw-p965-wpqx"},{"ecosystem":"PyPI","fixed":["2.1.73"],"introduced":["0"],"last_affected":[],"package":"rtslib-fb","purl":"pkg:pypi/rtslib-fb","source":"GHSA-cpcw-p965-wpqx"},{"ecosystem":"PyPI","fixed":["2.1.73"],"introduced":["0"],"last_affected":[],"package":"rtslib-fb","purl":"pkg:pypi/rtslib-fb","source":"PYSEC-2020-250"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib","purl":"pkg:rpm/redhat/python-rtslib","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-doc","purl":"pkg:rpm/redhat/python-rtslib-doc","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-doc","purl":"pkg:rpm/redhat/python-rtslib-doc","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib","purl":"pkg:rpm/redhat/python-rtslib","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-doc","purl":"pkg:rpm/redhat/python-rtslib-doc","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib","purl":"pkg:rpm/redhat/python-rtslib","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.1.74-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-doc","purl":"pkg:rpm/redhat/python-rtslib-doc","source":"RHSA-2020:5435"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.1.73-2.el8"],"introduced":["0"],"last_affected":[],"package":"python-rtslib","purl":"pkg:rpm/redhat/python-rtslib","source":"RHEA-2020:4505"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.1.73-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-rtslib","purl":"pkg:rpm/redhat/python3-rtslib","source":"RHEA-2020:4505"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.1.73-2.el8"],"introduced":["0"],"last_affected":[],"package":"target-restore","purl":"pkg:rpm/redhat/target-restore","source":"RHEA-2020:4505"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.1.73-3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-fb","purl":"pkg:rpm/suse/python-rtslib-fb\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2020:2109-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 2 15 SP2","fixed":["2.1.73-3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-fb","purl":"pkg:rpm/suse/python-rtslib-fb\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%202%2015%20SP2","source":"SUSE-SU-2020:2109-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["2.1.73-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rtslib-fb","purl":"pkg:rpm/opensuse/python-rtslib-fb\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:1156-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-14018"},"products":["n/a"],"published":"2020-06-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHEA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Weak file permissions on saveconfig.json allow local attackers to read sensitive iSCSI target configuration data.","url":"https://insights.sbomify.com/CVE-2020-14019/"}