{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3310 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-3310 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-3310 is a high-severity path traversal vulnerability in n/a, published on 10 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3310 and fix it if it is affected.\n\nWhat it is: CVE-2021-3310 is a high-severity path traversal vulnerability in n/a, published on 10 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3310 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2021-3310/ (Markdown: https://insights.sbomify.com/CVE-2021-3310/index.md)","id":"CVE-2021-3310","markdown":"https://insights.sbomify.com/CVE-2021-3310/index.md","name":"CVE-2021-3310","record":{"aliases":["GHSA-vxf7-jpg6-xh49"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Western Digital My Cloud","requires_auth":"low_privilege","summary":"Attackers can exploit symbolic link mishandling on SMB and AFP shares to execute code and read local files on Western Digital My Cloud devices.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"my_cloud_os","vendor":"westerndigital"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Western Digital My Cloud OS 5 devices before 5.10.122 mishandle Symbolic Link Following on SMB and AFP shares. This can lead to code execution and information disclosure (by reading local files).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-05-24","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-05-24T20:55:33Z","kind":"github_poc","ref":"https://github.com/piffd0s/CVE-2021-3310","stars":1,"title":"Western Digital MyCloud PR4100 Link Resolution Information Disclosure Vulnerability"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2021-3310","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"October CMS Session ID not invalidated after logout","id":"CVE-2021-3311"},"packages":[],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2021-3309"},"products":["n/a"],"published":"2021-03-10","related":[{"cvss_score":10,"headline":"Authentication Bypass issue in My Cloud OS 5 devices","id":"CVE-2023-22814","kev_date_added":null,"published":"2023-06-30"},{"cvss_score":9.8,"headline":"Command Injection Vulnerability in Western Digital My Cloud devices","id":"CVE-2022-29842","kev_date_added":null,"published":"2023-05-10"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2021-36224","kev_date_added":null,"published":"2023-02-06"},{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2021-36226","kev_date_added":null,"published":"2023-02-06"},{"cvss_score":9.8,"headline":"Pre-authenticated stack overflow vulnerability on FTP Service","id":"CVE-2022-22989","kev_date_added":null,"published":"2022-01-13"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2021-36225","kev_date_added":null,"published":"2023-02-06"},{"cvss_score":8.8,"headline":"Insufficient Verification of Data Authenticity Remote Code Execution Vulnerability on Western Digital My Cloud devices.","id":"CVE-2022-22994","kev_date_added":null,"published":"2022-01-28"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can exploit symbolic link mishandling on SMB and AFP shares to execute code and read local files on Western Digital My Cloud devices.","url":"https://insights.sbomify.com/CVE-2021-3310/"}