{"id":"CVE-2021-31658","title":"TP-Link TL-SG2005, TL-SG2008, etc","summary":"TP-Link TL-SG2005, TL-SG2008, etc. 1.0.0 Build 20180529 Rel.40524 is affected by an Array index error. The interface that provides the \"device description\" function only judges the length of the received data, and does not filter special…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","cwe":["CWE-129"],"vendor":"tp-link","product":"tl-sg2005_firmware","affected":["tl-sg2005_firmware = 1.0.0","tl-sg2008_firmware = 1.0.0"],"published":"2021-06-10","updated":"2026-07-05","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-31658","references":[{"url":"https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31658","label":"cve@mitre.org"},{"url":"http://tp-link.com","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31658","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.01023,"epssPercentile":0.61939,"ingestedAt":"2026-07-06T01:08:16.749Z","slug":"CVE-2021-31658","body":"## Overview\n\nTP-Link TL-SG2005, TL-SG2008, etc. 1.0.0 Build 20180529 Rel.40524 is affected by an Array index error. The interface that provides the \"device description\" function only judges the length of the received data, and does not filter special characters. This vulnerability will cause the application to crash, and all device configuration information will be erased.\n\n## Affected\n\n- `tl-sg2005_firmware = 1.0.0`\n- `tl-sg2008_firmware = 1.0.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}