{"answers":{"affected":"3 open source packages ship an affected version, including github.com/sjqzhang/go-fastdfs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-1800 in the wild and no public exploit code.","fix":"Upgrade github.com/sjqzhang/go-fastdfs to 1.4.5-0.20230408141131-61cbff5124c6 or later.","what":"CVE-2023-1800 is a high-severity path traversal vulnerability in sjqzhang go-fastdfs, published on 2 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1800 and fix it if it is affected.\n\nWhat it is: CVE-2023-1800 is a high-severity path traversal vulnerability in sjqzhang go-fastdfs, published on 2 Apr 2023. 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-2023-1800 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sjqzhang/go-fastdfs (Go): affected all versions; fixed in 1.4.5-0.20230408141131-61cbff5124c6\n- github.com/sjqzhang/go-fastdfs (Go): affected all versions; fixed in 1.4.5-0.20230408141131-61cbff5124c6\n- github.com/sjqzhang/go-fastdfs (Go): affected all versions; fixed in 1.4.5-0.20230408141131-61cbff5124c6\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-2023-1800/ (Markdown: https://insights.sbomify.com/CVE-2023-1800/index.md)","id":"CVE-2023-1800","markdown":"https://insights.sbomify.com/CVE-2023-1800/index.md","name":"CVE-2023-1800","record":{"aliases":["GHSA-xq3x-grrj-fj6x","GO-2023-1713"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Go distributed file system","requires_auth":"none","summary":"Remote attackers can exploit a path traversal flaw in the file upload handler to read or modify arbitrary files on the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"go-fastdfs","vendor":"go-fastdfs_project"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"A vulnerability, which was classified as critical, has been found in sjqzhang go-fastdfs up to 1.4.3. Affected by this issue is the function upload of the file /group1/uploa of the component File Upload Handler. The manipulation leads to path traversal: '../filedir'. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-224768.","ecosystems":["Go"],"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":"sjqzhang go-fastdfs File Upload uploa upload path traversal","id":"CVE-2023-1800","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Memory corruption in tcpdump","id":"CVE-2023-1801"},"packages":[{"ecosystem":"Go","fixed":["1.4.5-0.20230408141131-61cbff5124c6"],"introduced":["0"],"last_affected":[],"package":"github.com/sjqzhang/go-fastdfs","purl":null,"source":"GHSA-xq3x-grrj-fj6x"},{"ecosystem":"Go","fixed":["1.4.5-0.20230408141131-61cbff5124c6"],"introduced":["0"],"last_affected":[],"package":"github.com/sjqzhang/go-fastdfs","purl":"pkg:golang/github.com/sjqzhang/go-fastdfs","source":"GHSA-xq3x-grrj-fj6x"},{"ecosystem":"Go","fixed":["1.4.5-0.20230408141131-61cbff5124c6"],"introduced":["0"],"last_affected":[],"package":"github.com/sjqzhang/go-fastdfs","purl":"pkg:golang/github.com/sjqzhang/go-fastdfs","source":"GO-2023-1713"}],"prev":{"headline":"EyouCMS login.php cross site scripting","id":"CVE-2023-1799"},"products":["go-fastdfs"],"published":"2023-04-02","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-22","vendors":["sjqzhang"]},"summary":"Remote attackers can exploit a path traversal flaw in the file upload handler to read or modify arbitrary files on the server.","url":"https://insights.sbomify.com/CVE-2023-1800/"}