{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4956 exists.","fix":"No fix has been published for CVE-2024-4956 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-4956 is a high-severity path traversal vulnerability in Sonatype Nexus Repository, published on 16 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4956 and fix it if it is affected.\n\nWhat it is: CVE-2024-4956 is a high-severity path traversal vulnerability in Sonatype Nexus Repository, published on 16 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4956 exists.\n\nAffected product: Sonatype Nexus Repository. 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-2024-4956/ (Markdown: https://insights.sbomify.com/CVE-2024-4956/index.md)","id":"CVE-2024-4956","markdown":"https://insights.sbomify.com/CVE-2024-4956/index.md","name":"CVE-2024-4956","record":{"aliases":["GHSA-6cgv-69mq-8w7x"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nexus Repository","requires_auth":"none","summary":"Unauthenticated attackers can read system files via path traversal in Sonatype Nexus Repository 3, requiring an upgrade to remediate.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Sonatype","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","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":"Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-05-23","github_poc":17,"max_poc_stars":17,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-05-26T06:50:48Z","kind":"github_poc","ref":"https://github.com/ifconfig-me/CVE-2024-4956-Bulk-Scanner","stars":17,"title":"[CVE-2024-4956] Nexus Repository Manager 3 Unauthenticated Path Traversal Bulk Scanner"},{"date":"2024-06-09T10:57:29Z","kind":"github_poc","ref":"https://github.com/verylazytech/CVE-2024-4956","stars":16,"title":"POC - CVE-2024–4956 - Nexus Repository Manager 3 Unauthenticated Path Traversal"},{"date":"2024-06-05T15:37:39Z","kind":"github_poc","ref":"https://github.com/fin3ss3g0d/CVE-2024-4956","stars":9,"title":"CVE-2024-4956 Python exploitation utility"},{"date":"2024-05-23T08:15:08Z","kind":"github_poc","ref":"https://github.com/xungzzz/CVE-2024-4956","stars":3,"title":"CVE-2024-4956 Nuclei Template"},{"date":"2024-05-23T11:39:06Z","kind":"github_poc","ref":"https://github.com/erickfernandox/CVE-2024-4956","stars":3,"title":"Unauthenticated Path Traversal in Nexus Repository 3 "},{"date":"2024-05-28T15:05:31Z","kind":"github_poc","ref":"https://github.com/GoatSecurity/CVE-2024-4956","stars":3,"title":"CVE-2024-4956 : Nexus Repository Manager 3 poc exploit"},{"date":"2024-06-03T02:49:20Z","kind":"github_poc","ref":"https://github.com/Cappricio-Securities/CVE-2024-4956","stars":3,"title":"Sonatype Nexus Repository Manager 3 (LFI)"},{"date":"2024-05-24T12:45:45Z","kind":"github_poc","ref":"https://github.com/gmh5225/CVE-2024-4956","stars":2,"title":"Unauthenticated Path Traversal in Nexus Repository 3 "}],"tier":"weaponised"},"has_fix":null,"headline":"Nexus Repository 3 - Path Traversal","id":"CVE-2024-4956","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Frontend Checklist \u003c= 2.3.2 - Admin+ Stored XSS","id":"CVE-2024-4957"},"packages":[],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2024-4952"},"products":["Nexus Repository"],"published":"2024-05-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Sonatype"]},"summary":"Unauthenticated attackers can read system files via path traversal in Sonatype Nexus Repository 3, requiring an upgrade to remediate.","url":"https://insights.sbomify.com/CVE-2024-4956/"}