{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-31255 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-31255 is a medium-severity path traversal vulnerability in SUSE Linux Enterprise Module for SUSE Manager Server 4.2, published on 10 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31255 and fix it if it is affected.\n\nWhat it is: CVE-2022-31255 is a medium-severity path traversal vulnerability in SUSE Linux Enterprise Module for SUSE Manager Server 4.2, published on 10 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31255 in the wild and no public exploit code.\n\nAffected product: SUSE Linux Enterprise Module for SUSE Manager Server 4.2. 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-31255/ (Markdown: https://insights.sbomify.com/CVE-2022-31255/index.md)","id":"CVE-2022-31255","markdown":"https://insights.sbomify.com/CVE-2022-31255/index.md","name":"CVE-2022-31255","record":{"aliases":["GHSA-fjgg-4cjq-r7wj"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SUSE Manager Server","requires_auth":"low_privilege","summary":"Remote attackers can read arbitrary files accessible to the Tomcat user via a path traversal vulnerability in the CobblerSnipperViewAction component.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"manager_server","vendor":"suse"},{"product":"uyuni","vendor":"uyuni-project"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in spacewalk/Uyuni of SUSE Linux Enterprise Module for SUSE Manager Server 4.2, SUSE Linux Enterprise Module for SUSE Manager Server 4.3, SUSE Manager Server 4.2 allows remote attackers to read files available to the user running the process, typically tomcat. This issue affects: SUSE Linux Enterprise Module for SUSE Manager Server 4.2 hub-xmlrpc-api-0.7-150300.3.9.2, inter-server-sync-0.2.4-150300.8.25.2, locale-formula-0.3-150300.3.3.2, py27-compat-salt-3000.3-150300.7.7.26.2, python-urlgrabber-3.10.2.1py2_3-150300.3.3.2, spacecmd-4.2.20-150300.4.30.2, spacewalk-backend-4.2.25-150300.4.32.4, spacewalk-client-tools-4.2.21-150300.4.27.3, spacewalk-java-4.2.43-150300.3.48.2, spacewalk-utils-4.2.18-150300.3.21.2, spacewalk-web-4.2.30-150300.3.30.3, susemanager-4.2.38-150300.3.44.3, susemanager-doc-indexes-4.2-150300.12.36.3, susemanager-docs_en-4.2-150300.12.36.2, susemanager-schema-4.2.25-150300.3.30.3, susemanager-sls versions prior to 4.2.28. SUSE Linux Enterprise Module for SUSE Manager Server 4.3 spacewalk-java versions prior to 4.3.39. SUSE Manager Server 4.2 release-notes-susemanager versions prior to 4.2.10.","ecosystems":[],"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":"SUMA/UYUNI directory path traversal vulnerability in CobblerSnipperViewAction","id":"CVE-2022-31255","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"sendmail: mail to root privilege escalation via sm-client.pre script","id":"CVE-2022-31256"},"packages":[],"prev":{"headline":"rmt-server-pubcloud allows to escalate from user _rmt to root","id":"CVE-2022-31254"},"products":["SUSE Linux Enterprise Module for SUSE Manager Server 4.2","SUSE Linux Enterprise Module for SUSE Manager Server 4.3","SUSE Manager Server 4.2"],"published":"2022-11-10","related":[{"cvss_score":9.4,"headline":"JWT token compromise can allow malicious actions including Remote Code Execution (RCE)","id":"CVE-2023-22644","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":7.5,"headline":"SUMA unauthenticated remote DoS via resource exhaustion","id":"CVE-2022-21952","kev_date_added":null,"published":"2022-06-22"},{"cvss_score":5.3,"headline":"SUMA user enumeration via weak error message","id":"CVE-2022-31248","kev_date_added":null,"published":"2022-06-22"},{"cvss_score":4.3,"headline":"SUMA/UYUNI arbitrary file disclosure vulnerability in ScapResultDownload","id":"CVE-2022-43753","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":2.6,"headline":"SUMA/UYUNI reflected cross site scripting in /rhn/audit/scap/Search.do","id":"CVE-2022-43754","kev_date_added":null,"published":"2022-11-10"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-30","vendors":["SUSE"]},"summary":"Remote attackers can read arbitrary files accessible to the Tomcat user via a path traversal vulnerability in the CobblerSnipperViewAction component.","url":"https://insights.sbomify.com/CVE-2022-31255/"}