{"answers":{"affected":"2 open source packages ship an affected version, including com.reposilite:reposilite-backend. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36117 exists.","fix":"Upgrade com.reposilite:reposilite-backend to 3.5.12 or later.","what":"CVE-2024-36117 is a high-severity path traversal vulnerability in dzikoysk reposilite, published on 19 Jun 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-36117 and fix it if it is affected.\n\nWhat it is: CVE-2024-36117 is a high-severity path traversal vulnerability in dzikoysk reposilite, published on 19 Jun 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-36117 exists.\n\nAffected packages and fixed versions:\n- com.reposilite:reposilite-backend (Maven): affected from 3.3.0; fixed in 3.5.12\n- com.reposilite:reposilite-backend (Maven): affected from 3.3.0; fixed in 3.5.12\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-36117/ (Markdown: https://insights.sbomify.com/CVE-2024-36117/index.md)","id":"CVE-2024-36117","markdown":"https://insights.sbomify.com/CVE-2024-36117/index.md","name":"CVE-2024-36117","record":{"aliases":["GHSA-82j3-hf72-7x93"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Maven repository manager","requires_auth":"none","summary":"Attackers can read arbitrary files from the server via path traversal in Reposilite's javadoc serving feature.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"reposilite","vendor":"reposilite"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Reposilite is an open source, lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem. Reposilite v3.5.10 is affected by an Arbitrary File Read vulnerability via path traversal while serving expanded javadoc files. Reposilite has addressed this issue in version 3.5.12. There are no known workarounds for this vulnerability. This issue was discovered and reported by the GitHub Security lab and is also tracked as GHSL-2024-074.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-36117.yaml","stars":null,"title":"Reposilite \u003e= 3.3.0, \u003c 3.5.12 - Arbitrary File Read"}],"tier":"weaponised"},"has_fix":false,"headline":"Path traversal while serving Reposilite javadoc expanded files","id":"CVE-2024-36117","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"Unauthorized viewing of workspace test cases in MeterSphere","id":"CVE-2024-36118"},"packages":[{"ecosystem":"Maven","fixed":["3.5.12"],"introduced":["3.3.0"],"last_affected":[],"package":"com.reposilite:reposilite-backend","purl":null,"source":"GHSA-82j3-hf72-7x93"},{"ecosystem":"Maven","fixed":["3.5.12"],"introduced":["3.3.0"],"last_affected":[],"package":"com.reposilite:reposilite-backend","purl":"pkg:maven/com.reposilite/reposilite-backend","source":"GHSA-82j3-hf72-7x93"}],"prev":{"headline":"Path traversal in Reposilite javadoc file expansion","id":"CVE-2024-36116"},"products":["reposilite"],"published":"2024-06-19","related":[{"cvss_score":7.5,"headline":"Path traversal in Reposilite javadoc file expansion","id":"CVE-2024-36116","kev_date_added":null,"published":"2024-06-19"}],"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":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-04","vendors":["dzikoysk"]},"summary":"Attackers can read arbitrary files from the server via path traversal in Reposilite's javadoc serving feature.","url":"https://insights.sbomify.com/CVE-2024-36117/"}