{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24355 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-24355 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-24355 is a high-severity memory corruption vulnerability in TP-Link TL-WR940N, published on 18 Feb 2022. 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-2022-24355 and fix it if it is affected.\n\nWhat it is: CVE-2022-24355 is a high-severity memory corruption vulnerability in TP-Link TL-WR940N, published on 18 Feb 2022. 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-2022-24355 in the wild and no public exploit code.\n\nAffected product: TP-Link TL-WR940N. 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-2022-24355/ (Markdown: https://insights.sbomify.com/CVE-2022-24355/index.md)","id":"CVE-2022-24355","markdown":"https://insights.sbomify.com/CVE-2022-24355/index.md","name":"CVE-2022-24355","record":{"aliases":["GHSA-qpq6-p42w-r7mg"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TP-Link router","requires_auth":"none","summary":"Network-adjacent attackers can execute arbitrary code with root privileges on TP-Link routers via a stack-based buffer overflow in file name parsing.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"tl-wr940n_firmware","vendor":"tp-link"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of file name extensions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13910.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-03-23","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-23T11:30:28Z","kind":"github_poc","ref":"https://github.com/ExLuck/CVE-2022-24355","stars":0,"title":null},{"date":"2026-07-30T11:08:36Z","kind":"github_poc","ref":"https://github.com/ilizavr/CVE-2022-24355","stars":0,"title":"Tplink wr841 v10 rce exploit without authorisation "}],"tier":"poc_unverified"},"has_fix":null,"headline":"Memory corruption in TL-WR940N","id":"CVE-2022-24355","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in PDF Reader","id":"CVE-2022-24356"},"packages":[],"prev":{"headline":"Integer overflow in AC1750","id":"CVE-2022-24354"},"products":["TL-WR940N"],"published":"2022-02-18","related":[{"cvss_score":9.9,"headline":"Memory corruption in n/a","id":"CVE-2023-36355","kev_date_added":null,"published":"2023-06-22"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2019-6989","kev_date_added":null,"published":"2019-06-06"},{"cvss_score":8.5,"headline":"OS Command Injection in IPv6 PPPoE Configuration in TP-Link TL-WR940N","id":"CVE-2026-11409","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":8.5,"headline":"OS Command Injection in BigPond Cable (BPA) Configuration in TP-Link TL-WR940N","id":"CVE-2026-11410","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":8.2,"headline":"TP-Link TL-WR940N, TL-WR841N WanSlaacCfgRpm.htm buffer overflow","id":"CVE-2025-6151","kev_date_added":null,"published":"2025-06-17"},{"cvss_score":8,"headline":"Memory corruption in n/a","id":"CVE-2024-54887","kev_date_added":null,"published":"2025-01-09"}],"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":["TP-Link"]},"summary":"Network-adjacent attackers can execute arbitrary code with root privileges on TP-Link routers via a stack-based buffer overflow in file name parsing.","url":"https://insights.sbomify.com/CVE-2022-24355/"}