{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2621 exists.","fix":"No fix has been published for CVE-2025-2621 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-2621 is a critical memory corruption vulnerability in D-Link DAP-1620, published on 22 Mar 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-2621 and fix it if it is affected.\n\nWhat it is: CVE-2025-2621 is a critical memory corruption vulnerability in D-Link DAP-1620, published on 22 Mar 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-2621 exists.\n\nAffected product: D-Link DAP-1620. 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-2621/ (Markdown: https://insights.sbomify.com/CVE-2025-2621/index.md)","id":"CVE-2025-2621","markdown":"https://insights.sbomify.com/CVE-2025-2621/index.md","name":"CVE-2025-2621","record":{"aliases":["GHSA-qfgw-2hj2-mgmg"],"analysis":{"component_type":"iot_embedded","fix_type":"end_of_life","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link wireless access point","requires_auth":"none","summary":"Remote attackers can exploit a stack-based buffer overflow in the storage check_dws_cookie function to execute arbitrary code on unsupported D-Link DAP-1620 devices.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dap-1620_firmware","vendor":"dlink"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was found in D-Link DAP-1620 1.03 and classified as critical. This issue affects the function check_dws_cookie of the file /storage. The manipulation of the argument uid leads to stack-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"D-Link DAP-1620 storage check_dws_cookie stack-based overflow","id":"CVE-2025-2621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"aizuda snail-job Workflow-Task Management Module check-node-expression getRuntime deserialization","id":"CVE-2025-2622"},"packages":[],"prev":{"headline":"D-Link DAP-1620 Authentication storage mod_graph_auth_uri_handler stack-based overflow","id":"CVE-2025-2620"},"products":["DAP-1620"],"published":"2025-03-22","related":[{"cvss_score":9.3,"headline":"D-Link DAP-1620 Path api set_ws_action heap-based overflow","id":"CVE-2025-2618","kev_date_added":null,"published":"2025-03-22"},{"cvss_score":9.3,"headline":"D-Link DAP-1620 Cookie storage check_dws_cookie stack-based overflow","id":"CVE-2025-2619","kev_date_added":null,"published":"2025-03-22"},{"cvss_score":9.3,"headline":"D-Link DAP-1620 Authentication storage mod_graph_auth_uri_handler stack-based overflow","id":"CVE-2025-2620","kev_date_added":null,"published":"2025-03-22"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2021-46381","kev_date_added":null,"published":"2022-03-04"}],"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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-24","vendors":["D-Link"]},"summary":"Remote attackers can exploit a stack-based buffer overflow in the storage check_dws_cookie function to execute arbitrary code on unsupported D-Link DAP-1620 devices.","url":"https://insights.sbomify.com/CVE-2025-2621/"}