{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31253 exists.","fix":"No fix has been published for CVE-2022-31253 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31253 is a high-severity vulnerability in openSUSE Factory, published on 9 Nov 2022. 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-2022-31253 and fix it if it is affected.\n\nWhat it is: CVE-2022-31253 is a high-severity vulnerability in openSUSE Factory, published on 9 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31253 exists.\n\nAffected product: openSUSE Factory. 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-2022-31253/ (Markdown: https://insights.sbomify.com/CVE-2022-31253/index.md)","id":"CVE-2022-31253","markdown":"https://insights.sbomify.com/CVE-2022-31253/index.md","name":"CVE-2022-31253","record":{"aliases":["GHSA-hxf4-pc5p-7f5c","openSUSE-SU-2024:12457-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"openSUSE openldap2","requires_auth":"low_privilege","summary":"Local attackers with ldap user control can change ownership of arbitrary directories to escalate privileges to root in openSUSE openldap2.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"openldap2","vendor":"opensuse"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"description":"A Untrusted Search Path vulnerability in openldap2 of openSUSE Factory allows local attackers with control of the ldap user or group to change ownership of arbitrary directory entries to this user/group, leading to escalation to root. This issue affects: openSUSE Factory openldap2 versions prior to 2.6.3-404.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"openldap2: /usr/lib/openldap/start allows ldap user/group to recursively chown arbitrary directory trees to itself","id":"CVE-2022-31253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"rmt-server-pubcloud allows to escalate from user _rmt to root","id":"CVE-2022-31254"},"packages":[],"prev":{"headline":"permissions: chkstat does not check for group-writable parent directories or target files in safeOpen()","id":"CVE-2022-31252"},"products":["Factory"],"published":"2022-11-09","related":[{"cvss_score":7.7,"headline":"Local privilege escalation from ldap to root when using OPENLDAP_CONFIG_BACKEND=ldap in openldap2","id":"CVE-2020-8023","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":7.3,"headline":"openldap uses fixed paths in /tmp","id":"CVE-2020-8027","kev_date_added":null,"published":"2021-02-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-01","vendors":["openSUSE"]},"summary":"Local attackers with ldap user control can change ownership of arbitrary directories to escalate privileges to root in openSUSE openldap2.","url":"https://insights.sbomify.com/CVE-2022-31253/"}