{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3139 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3139 is a high-severity path traversal vulnerability in n/a, published on 13 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3139 and fix it if it is affected.\n\nWhat it is: CVE-2021-3139 is a high-severity path traversal vulnerability in n/a, published on 13 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3139 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-3139/ (Markdown: https://insights.sbomify.com/CVE-2021-3139/index.md)","id":"CVE-2021-3139","markdown":"https://insights.sbomify.com/CVE-2021-3139/index.md","name":"CVE-2021-3139","record":{"aliases":["DEBIAN-CVE-2021-3139","GHSA-j364-gjm2-cwx8","SUSE-SU-2021:0093-1","SUSE-SU-2021:0143-1","SUSE-SU-2021:0158-1","UBUNTU-CVE-2021-3139","USN-4707-1","openSUSE-SU-2021:0097-1","openSUSE-SU-2021:0128-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"iSCSI target software","requires_auth":"low_privilege","summary":"Remote attackers with iSCSI LUN access can read or write arbitrary files via directory traversal in tcmu-runner XCOPY requests.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tcmu-runner","vendor":"tcmu-runner_project"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"In Open-iSCSI tcmu-runner 1.3.x, 1.4.x, and 1.5.x through 1.5.2, xcopy_locate_udev in tcmur_cmd_handler.c lacks a check for transport-layer restrictions, allowing remote attackers to read or write files via directory traversal in an XCOPY request. For example, an attack can occur over a network if the attacker has access to one iSCSI LUN. NOTE: relative to CVE-2020-28374, this is a similar mistake in a different algorithm.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP2","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Manager Proxy 4.0","SUSE:Manager Retail Branch Server 4.0","SUSE:Manager Server 4.0","openSUSE:Leap 15.1","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":"Path traversal in n/a","id":"CVE-2021-3139","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":17,"n_references":5,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2021-3141"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.4.0-4.3.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:0143-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP2","fixed":["1.5.2-3.3.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2","source":"SUSE-SU-2021:0093-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Manager Proxy 4.0","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Manager%20Proxy%204.0","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"SUSE:Manager Server 4.0","fixed":["1.4.0-3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/suse/tcmu-runner\u0026distro=SUSE%20Manager%20Server%204.0","source":"SUSE-SU-2021:0158-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["1.4.0-lp151.3.9.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/opensuse/tcmu-runner\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2021:0128-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.5.2-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"tcmu-runner","purl":"pkg:rpm/opensuse/tcmu-runner\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0097-1"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2021-3138"},"products":["n/a"],"published":"2021-01-13","related":[{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-1000198","kev_date_added":null,"published":"2017-11-17"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2017-1000199","kev_date_added":null,"published":"2017-11-17"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-1000200","kev_date_added":null,"published":"2017-11-17"},{"cvss_score":5.5,"headline":"Denial of service in n/a","id":"CVE-2017-1000201","kev_date_added":null,"published":"2017-11-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-03","vendors":["n/a"]},"summary":"Remote attackers with iSCSI LUN access can read or write arbitrary files via directory traversal in tcmu-runner XCOPY requests.","url":"https://insights.sbomify.com/CVE-2021-3139/"}