{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0401 exists.","fix":"No fix has been published for CVE-2025-0401 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-0401 is a medium-severity path traversal vulnerability in 1902756969 reggie, published on 12 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-0401 and fix it if it is affected.\n\nWhat it is: CVE-2025-0401 is a medium-severity path traversal vulnerability in 1902756969 reggie, published on 12 Jan 2025. 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-2025-0401 exists.\n\nAffected product: 1902756969 reggie. 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-2025-0401/ (Markdown: https://insights.sbomify.com/CVE-2025-0401/index.md)","id":"CVE-2025-0401","markdown":"https://insights.sbomify.com/CVE-2025-0401/index.md","name":"CVE-2025-0401","record":{"aliases":["GHSA-jw4r-9q73-gp57"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"reggie web application","requires_auth":"none","summary":"Remote attackers can exploit a path traversal vulnerability in the download function to read arbitrary files from the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"reggie","vendor":"1902756969"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A vulnerability classified as critical has been found in 1902756969 reggie 1.0. Affected is the function download of the file src/main/java/com/itheima/reggie/controller/CommonController.java. The manipulation of the argument name leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-04-01","github_poc":2,"max_poc_stars":37,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-01T14:23:43Z","kind":"github_poc","ref":"https://github.com/JoasASantos/CVE-2025-0401","stars":37,"title":"Privilege Escalation using Passwd - April Fools prank"},{"date":"2025-04-29T09:03:49Z","kind":"github_poc","ref":"https://github.com/Darabium/Gombruc","stars":1,"title":"This vulnerability is related to CVE-2025-0401, which affects all Linux systems. With the help of this bash script, you can give your user any level of access, up to and including Root access.  Warning: This exploit is for educational purposes only and any exploitation of this vulnerability is risky."}],"tier":"weaponised"},"has_fix":null,"headline":"1902756969 reggie CommonController.java download path traversal","id":"CVE-2025-0401","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"1902756969 reggie CommonController.java upload unrestricted upload","id":"CVE-2025-0402"},"packages":[],"prev":{"headline":"StarSea99 starsea-mall update cross site scripting","id":"CVE-2025-0400"},"products":["reggie"],"published":"2025-01-12","related":[{"cvss_score":6.9,"headline":"1902756969 reggie Phone Number Validation sendMsg information disclosure","id":"CVE-2025-0403","kev_date_added":null,"published":"2025-01-13"},{"cvss_score":5.3,"headline":"1902756969 reggie CommonController.java upload unrestricted upload","id":"CVE-2025-0402","kev_date_added":null,"published":"2025-01-12"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-13","vendors":["1902756969"]},"summary":"Remote attackers can exploit a path traversal vulnerability in the download function to read arbitrary files from the server.","url":"https://insights.sbomify.com/CVE-2025-0401/"}