{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-27246 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-27246 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-27246 is a high-severity memory corruption vulnerability in TP-Link AC1750, published on 14 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-27246 and fix it if it is affected.\n\nWhat it is: CVE-2021-27246 is a high-severity memory corruption vulnerability in TP-Link AC1750, published on 14 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-27246 in the wild and no public exploit code.\n\nAffected product: TP-Link AC1750. 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-27246/ (Markdown: https://insights.sbomify.com/CVE-2021-27246/index.md)","id":"CVE-2021-27246","markdown":"https://insights.sbomify.com/CVE-2021-27246/index.md","name":"CVE-2021-27246","record":{"aliases":["GHSA-5q6x-hwjj-x4pq"],"analysis":{"component_type":"network_device","fix_type":"patch","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 as root on TP-Link Archer A7 routers via a stack-based buffer overflow in the tdpServer endpoint.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"ac1750_firmware","vendor":"tp-link"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"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 Archer A7 AC1750 1.0.15 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of MAC addresses by the tdpServer endpoint. A crafted TCP message can write stack pointers to the stack. An attacker can leverage this vulnerability to execute code in the context of the root user. Was ZDI-CAN-12306.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-03-01","github_poc":1,"max_poc_stars":43,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-03-01T16:45:42Z","kind":"github_poc","ref":"https://github.com/synacktiv/CVE-2021-27246_Pwn2Own2020","stars":43,"title":null}],"tier":"poc_unverified"},"has_fix":null,"headline":"Memory corruption in AC1750","id":"CVE-2021-27246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in WeChat","id":"CVE-2021-27247"},"packages":[],"prev":{"headline":"Security feature bypass in Archer A7","id":"CVE-2021-27245"},"products":["AC1750"],"published":"2021-04-14","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2020-28347","kev_date_added":null,"published":"2020-11-08"},{"cvss_score":9.8,"headline":"Memory corruption in Archer A7","id":"CVE-2020-10881","kev_date_added":null,"published":"2020-03-25"},{"cvss_score":8.8,"headline":"Memory corruption in AC1750","id":"CVE-2022-24352","kev_date_added":null,"published":"2023-03-28"},{"cvss_score":8.8,"headline":"Memory corruption in AC1750","id":"CVE-2022-24353","kev_date_added":null,"published":"2023-03-28"},{"cvss_score":8.8,"headline":"Integer overflow in AC1750","id":"CVE-2022-24354","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":8.8,"headline":"Command injection in Archer A7","id":"CVE-2020-10882","kev_date_added":null,"published":"2020-03-25"},{"cvss_score":8.1,"headline":"Hardcoded credentials in Archer A7","id":"CVE-2020-10884","kev_date_added":null,"published":"2020-03-25"}],"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 as root on TP-Link Archer A7 routers via a stack-based buffer overflow in the tdpServer endpoint.","url":"https://insights.sbomify.com/CVE-2021-27246/"}