{"id":"CVE-2021-27707","aliases":["CVE-2021-27707"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)CN allows remote attackers to execute arbitrary code via a crafte…","summary":"Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)_CN allows remote attackers to execute arbitrary code via a crafted action/\"portMappingIndex \"request. This occurs because the \"formDelPortMapping\" function directly passes the parameter \"portMappingIndex\" to strcpy without limit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)_CN allows remote attackers to execute arbitrary code via a crafted action/\"portMappingIndex \"request. This occurs because the \"formDelPortMapping\" function directly passes the parameter \"portMappingIndex\" to strcpy without limit.","source":"cvelist"},{"lang":"es","text":"Un desbordamiento de búfer en los enrutadores Tenda versiones G1 y G3 con firmware v15.11.0.17(9502) _CN, permite a atacantes remotos ejecutar código arbitrario por medio de una petición diseñada action/\"portMappingIndex\".&#xa0;Esto ocurre porque la función \"formDelPortMapping\" pasa directamente el parámetro \"portMappingIndex\" a strcpy sin límite","source":"nvd"}],"published":"2021-04-14T15:00:05.000Z","modified":"2026-06-17T03:45:22.177Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"v15.11.0.17(9502)_cn"}],"vendor":"tenda","product":"g1_firmware","cpe":"cpe:2.3:o:tenda:g1_firmware:v15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"v15.11.0.17(9502)_cn"}],"vendor":"tenda","product":"g3_firmware","cpe":"cpe:2.3:o:tenda:g3_firmware:v15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hackmd.io/U7OVgYIuRcOKV7SW5-euHw","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27707","url":"https://www.cve.org/CVERecord?id=CVE-2021-27707","licence":"CVE Terms of Use","modified":"2024-08-03T21:26:10.870Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27707","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27707","licence":"Public domain","modified":"2026-06-17T03:45:22.177Z"}],"updatedAt":"2026-11-25T22:58:00.811Z","epss":{"score":0.02828,"percentile":0.86983,"date":"2026-12-01T12:00:22.000Z"}}