{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31254 exists.","fix":"Apply the vendor's patch.","what":"CVE-2022-31254 is a high-severity vulnerability in SUSE Linux Enterprise Server for SAP 15, published on 7 Feb 2023. 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-31254 and fix it if it is affected.\n\nWhat it is: CVE-2022-31254 is a high-severity vulnerability in SUSE Linux Enterprise Server for SAP 15, published on 7 Feb 2023. 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-31254 exists.\n\nAffected product: SUSE Linux Enterprise Server for SAP 15. 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-31254/ (Markdown: https://insights.sbomify.com/CVE-2022-31254/index.md)","id":"CVE-2022-31254","markdown":"https://insights.sbomify.com/CVE-2022-31254/index.md","name":"CVE-2022-31254","record":{"aliases":["GHSA-hqw6-rjpx-2wf4","SUSE-SU-2023:0019-1","SUSE-SU-2023:0020-1","SUSE-SU-2023:0021-1","SUSE-SU-2023:0022-1","SUSE-SU-2023:0023-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SUSE Linux server","requires_auth":"low_privilege","summary":"Local attackers with _rmt user access can escalate privileges to root due to incorrect default permissions in the rmt-server-regsharing service.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"rmt-server","vendor":"opensuse"}],"cvss":{"score":7.8,"severity":"high","source":"cna","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":"A Incorrect Default Permissions vulnerability in rmt-server-regsharing service of SUSE Linux Enterprise Server for SAP 15, SUSE Linux Enterprise Server for SAP 15-SP1, SUSE Manager Server 4.1; openSUSE Leap 15.3, openSUSE Leap 15.4 allows local attackers with access to the _rmt user to escalate to root. This issue affects: SUSE Linux Enterprise Server for SAP 15 rmt-server versions prior to 2.10. SUSE Linux Enterprise Server for SAP 15-SP1 rmt-server versions prior to 2.10. SUSE Manager Server 4.1 rmt-server versions prior to 2.10. openSUSE Leap 15.3 rmt-server versions prior to 2.10. openSUSE Leap 15.4 rmt-server versions prior to 2.10.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-BCL","SUSE:Linux Enterprise Server 15 SP3-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:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.1","SUSE:Manager Proxy 4.2","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Retail Branch Server 4.2","SUSE:Manager Server 4.1","SUSE:Manager Server 4.2","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"rmt-server-pubcloud allows to escalate from user _rmt to root","id":"CVE-2022-31254","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":35,"n_references":1,"next":{"headline":"SUMA/UYUNI directory path traversal vulnerability in CobblerSnipperViewAction","id":"CVE-2022-31255"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["2.10-150000.3.61.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2023:0021-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["2.10-150000.3.61.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2023:0021-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP1","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP2","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["2.10-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2023:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","fixed":["2.10-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4","source":"SUSE-SU-2023:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-BCL","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-BCL","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["2.10-150000.3.61.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2023:0021-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["2.10-150000.3.61.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2023:0021-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.10-150100.3.42.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:0022-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.2","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.2","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["2.10-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2023:0023-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/suse/rmt-server\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.10-150300.3.21.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/opensuse/rmt-server\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2023:0020-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.10-150400.3.9.1"],"introduced":["0"],"last_affected":[],"package":"rmt-server","purl":"pkg:rpm/opensuse/rmt-server\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0019-1"}],"prev":{"headline":"openldap2: /usr/lib/openldap/start allows ldap user/group to recursively chown arbitrary directory trees to itself","id":"CVE-2022-31253"},"products":["SUSE Linux Enterprise Server for SAP 15","SUSE Linux Enterprise Server for SAP 15-SP1","SUSE Manager Server 4.1","openSUSE Leap 15.3","openSUSE Leap 15.4"],"published":"2023-02-07","related":[{"cvss_score":6.5,"headline":"Migrations requests can cause DoS on rmt","id":"CVE-2019-18904","kev_date_added":null,"published":"2020-04-03"}],"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":"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-03-25","vendors":["SUSE","openSUSE"]},"summary":"Local attackers with _rmt user access can escalate privileges to root due to incorrect default permissions in the rmt-server-regsharing service.","url":"https://insights.sbomify.com/CVE-2022-31254/"}