CWE
120 119
Advisory Published
Updated

CVE-2021-27707: Buffer Overflow

First published: Wed Apr 14 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Tendacn G1 Firmware=v15.11.0.17\(9502\)_cn
Tendacn G1 Firmware
Tenda G3 Firmware=v15.11.0.17\(9502\)_cn
Tenda G3 Firmware

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-27707?

    CVE-2021-27707 is considered a high severity vulnerability due to its capability to allow remote code execution.

  • How do I fix CVE-2021-27707?

    To fix CVE-2021-27707, upgrade the firmware of Tenda G1 and G3 routers to a version that addresses this buffer overflow vulnerability.

  • Which devices are affected by CVE-2021-27707?

    CVE-2021-27707 affects Tenda G1 and G3 routers running firmware v15.11.0.17(9502)_CN.

  • What type of attack does CVE-2021-27707 enable?

    CVE-2021-27707 enables remote attackers to execute arbitrary code through crafted requests.

  • What is the impact of exploiting CVE-2021-27707?

    Exploiting CVE-2021-27707 can lead to unauthorized access and control over the affected router, potentially compromising the network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203