{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-17147 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-17147 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-17147 is a high-severity memory corruption vulnerability in TP-Link TL-WR841N, published on 7 Jan 2020. 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-2019-17147 and fix it if it is affected.\n\nWhat it is: CVE-2019-17147 is a high-severity memory corruption vulnerability in TP-Link TL-WR841N, published on 7 Jan 2020. 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-2019-17147 in the wild and no public exploit code.\n\nAffected product: TP-Link TL-WR841N. 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-2019-17147/ (Markdown: https://insights.sbomify.com/CVE-2019-17147/index.md)","id":"CVE-2019-17147","markdown":"https://insights.sbomify.com/CVE-2019-17147/index.md","name":"CVE-2019-17147","record":{"aliases":["GHSA-9chw-9f2x-67h9"],"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":"Remote attackers can execute arbitrary code as admin on TP-Link TL-WR841N routers via a buffer overflow in the web service Host header parsing.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"tl-wr841n_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-120","name":"Buffer Copy without Checking Size of Input"}],"description":"This vulnerability allows remote attackers to execute arbitrary code on affected installations of TP-LINK TL-WR841N routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the web service, which listens on TCP port 80 by default. When parsing the Host request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length static buffer. An attacker can leverage this vulnerability to execute code in the context of the admin user. Was ZDI-CAN-8457.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-01-16","github_poc":2,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-01-16T07:08:57Z","kind":"github_poc","ref":"https://github.com/DrmnSamoLiu/CVE-2019-17147_Practice_Material","stars":4,"title":"This repo contains dumped flash partitions with firmware version vulnerable to  CVE-2019-17147, and some useful binaries to downgrade and debug your WR841N router."},{"date":"2025-06-09T08:58:59Z","kind":"github_poc","ref":"https://github.com/imnot-ye/CVE-2019-17147","stars":4,"title":null}],"tier":"poc_unverified"},"has_fix":null,"headline":"Memory corruption in TL-WR841N","id":"CVE-2019-17147","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2019"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in Desktop","id":"CVE-2019-17148"},"packages":[],"prev":{"headline":"Memory corruption in DCS-960L","id":"CVE-2019-17146"},"products":["TL-WR841N"],"published":"2020-01-07","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2022-25073","kev_date_added":null,"published":"2022-02-22"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-12575","kev_date_added":null,"published":"2018-07-02"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2022-46912","kev_date_added":null,"published":"2022-12-20"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2020-35576","kev_date_added":null,"published":"2021-01-25"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-12574","kev_date_added":null,"published":"2018-07-02"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2018-12577","kev_date_added":null,"published":"2018-07-02"}],"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-05","vendors":["TP-Link"]},"summary":"Remote attackers can execute arbitrary code as admin on TP-Link TL-WR841N routers via a buffer overflow in the web service Host header parsing.","url":"https://insights.sbomify.com/CVE-2019-17147/"}