{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-54887 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-54887 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-54887 is a high-severity memory corruption vulnerability in n/a, published on 9 Jan 2025. 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-2024-54887 and fix it if it is affected.\n\nWhat it is: CVE-2024-54887 is a high-severity memory corruption vulnerability in n/a, published on 9 Jan 2025. 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-2024-54887 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-2024-54887/ (Markdown: https://insights.sbomify.com/CVE-2024-54887/index.md)","id":"CVE-2024-54887","markdown":"https://insights.sbomify.com/CVE-2024-54887/index.md","name":"CVE-2024-54887","record":{"aliases":["GHSA-qf55-97mm-vqcj"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TP-Link router","requires_auth":"low_privilege","summary":"An authenticated attacker can execute arbitrary code with root privileges on TP-Link TL-WR940N routers via a buffer overflow in DNS configuration parameters.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tl-wr940n_firmware","vendor":"tp-link"}],"cvss":{"score":8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"TP-Link TL-WR940N V3 and V4 with firmware 3.16.9 and earlier contain a buffer overflow via the dnsserver1 and dnsserver2 parameters at /userRpm/Wan6to4TunnelCfgRpm.htm. This vulnerability allows an authenticated attacker to execute arbitrary code on the remote device in the context of the root user.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-06-06","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-06T16:37:33Z","kind":"github_poc","ref":"https://github.com/Gumbraise/CVE-2024-54887-PoC","stars":0,"title":"TypeScript PoC for CVE-2024-54887 (TP-Link TL-WR940N authenticated RCE)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2024-54887","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Code injection in n/a","id":"CVE-2024-54907"},"packages":[],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2024-54880"},"products":["n/a"],"published":"2025-01-09","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 TL-WR940N","id":"CVE-2022-24355","kev_date_added":null,"published":"2022-02-18"},{"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"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-05","vendors":["n/a"]},"summary":"An authenticated attacker can execute arbitrary code with root privileges on TP-Link TL-WR940N routers via a buffer overflow in DNS configuration parameters.","url":"https://insights.sbomify.com/CVE-2024-54887/"}