{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-10737 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-10737 is a medium-severity vulnerability in Red Hat oddjob, published on 27 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-10737 and fix it if it is affected.\n\nWhat it is: CVE-2020-10737 is a medium-severity vulnerability in Red Hat oddjob, published on 27 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-10737 in the wild and no public exploit code.\n\nAffected product: Red Hat oddjob. 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-2020-10737/ (Markdown: https://insights.sbomify.com/CVE-2020-10737/index.md)","id":"CVE-2020-10737","markdown":"https://insights.sbomify.com/CVE-2020-10737/index.md","name":"CVE-2020-10737","record":{"aliases":["DEBIAN-CVE-2020-10737","GHSA-m6xw-hhwx-7qjc","RHSA-2020:4687","UBUNTU-CVE-2020-10737","USN-5169-1","openSUSE-SU-2024:11109-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux home directory tool","requires_auth":"high_privilege","summary":"An attacker can exploit a race condition in mkhomedir to change ownership of arbitrary directories via symlinks, leading to privilege escalation.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"oddjob","vendor":"redhat"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","ecosystems":["Red Hat:enterprise_linux:8::appstream","openSUSE:Tumbleweed"],"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":"Race condition in oddjob","id":"CVE-2020-10737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2020"},"n_packages":6,"n_references":2,"next":{"headline":"Moodle vulnerable to RCE","id":"CVE-2020-10738"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.34.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"oddjob","purl":"pkg:rpm/redhat/oddjob","source":"RHSA-2020:4687"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.34.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"oddjob-debuginfo","purl":"pkg:rpm/redhat/oddjob-debuginfo","source":"RHSA-2020:4687"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.34.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"oddjob-debugsource","purl":"pkg:rpm/redhat/oddjob-debugsource","source":"RHSA-2020:4687"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.34.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"oddjob-mkhomedir","purl":"pkg:rpm/redhat/oddjob-mkhomedir","source":"RHSA-2020:4687"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.34.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"oddjob-mkhomedir-debuginfo","purl":"pkg:rpm/redhat/oddjob-mkhomedir-debuginfo","source":"RHSA-2020:4687"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.34.5-1.9"],"introduced":["0"],"last_affected":[],"package":"oddjob","purl":"pkg:rpm/opensuse/oddjob\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11109-1"}],"prev":{"headline":"Missing authorization in ceph","id":"CVE-2020-10736"},"products":["oddjob"],"published":"2020-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":["Red Hat"]},"summary":"An attacker can exploit a race condition in mkhomedir to change ownership of arbitrary directories via symlinks, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2020-10737/"}