{"answers":{"affected":"2 open source packages ship an affected version, including fish.payara.api:payara-bom. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-37422 in the wild and no public exploit code.","fix":"Upgrade fish.payara.api:payara-bom to 5.2022.3 or later.","what":"CVE-2022-37422 is a high-severity path traversal vulnerability in n/a, published on 18 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-37422 and fix it if it is affected.\n\nWhat it is: CVE-2022-37422 is a high-severity path traversal vulnerability in n/a, published on 18 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-37422 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- fish.payara.api:payara-bom (Maven): affected all versions; fixed in 5.2022.3\n- fish.payara.api:payara-bom (Maven): affected all versions; fixed in 5.2022.3\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-37422/ (Markdown: https://insights.sbomify.com/CVE-2022-37422/index.md)","id":"CVE-2022-37422","markdown":"https://insights.sbomify.com/CVE-2022-37422/index.md","name":"CVE-2022-37422","record":{"aliases":["GHSA-h28c-453m-h9xm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Payara Application Server","requires_auth":"none","summary":"Unauthenticated attackers can perform directory traversal to read arbitrary files on Payara Server, Micro, and Embedded instances.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"payara","vendor":"payara"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Payara through 5.2022.2 allows directory traversal without authentication. This affects Payara Server, Payara Micro, and Payara Server Embedded.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-16T09:47:27Z","kind":"github_poc","ref":"https://github.com/shoucheng3/payara__Payara_CVE-2022-37422_5-2022-2","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path Traversal in Payara","id":"CVE-2022-37422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Neo4j Graph apoc plugins Partial Path Traversal Vulnerability","id":"CVE-2022-37423"},"packages":[{"ecosystem":"Maven","fixed":["5.2022.3"],"introduced":["0"],"last_affected":[],"package":"fish.payara.api:payara-bom","purl":null,"source":"GHSA-h28c-453m-h9xm"},{"ecosystem":"Maven","fixed":["5.2022.3"],"introduced":["0"],"last_affected":[],"package":"fish.payara.api:payara-bom","purl":"pkg:maven/fish.payara.api/payara-bom","source":"GHSA-h28c-453m-h9xm"}],"prev":{"headline":"Silverstipe CMS Stored XSS in custom meta tags","id":"CVE-2022-37421"},"products":["n/a"],"published":"2022-08-18","related":[{"cvss_score":8.7,"headline":"Payload Injection Attack via Management REST interface","id":"CVE-2024-8215","kev_date_added":null,"published":"2024-10-08"},{"cvss_score":7.5,"headline":"Payara, when deployed to the root context, allows attackers to visit META-INF and WEB-INF","id":"CVE-2022-45129","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":7,"headline":"REST Interface Link Redirection via Host parameter","id":"CVE-2024-7312","kev_date_added":null,"published":"2024-09-11"},{"cvss_score":6.8,"headline":"Cross-site Scripting (Stored)","id":"CVE-2025-1534","kev_date_added":null,"published":"2025-04-01"},{"cvss_score":6.1,"headline":"Payara Platform: URL Redirection to untrusted site using FORM authentication","id":"CVE-2023-41699","kev_date_added":null,"published":"2023-11-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Unauthenticated attackers can perform directory traversal to read arbitrary files on Payara Server, Micro, and Embedded instances.","url":"https://insights.sbomify.com/CVE-2022-37422/"}