- Description
- ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF's lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option's length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF's SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- esp-idf
CVSS 3.1
- Type
- Secondary
- Base score
- 6.5
- Impact score
- 3.6
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
- security-advisories@github.com
- CWE-125
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:espressif:esp-idf:5.2.7:*:*:*:*:*:*:*",
"matchCriteriaId": "C20A5F4F-DC6E-4A95-AC9A-D7AAB279BD05",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:espressif:esp-idf:5.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "662FF5D0-F1CA-46B6-B574-46B2B1AE0C27",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:espressif:esp-idf:5.4.4:*:*:*:*:*:*:*",
"matchCriteriaId": "AFFE1121-2E19-45C4-A597-35E029748C99",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:espressif:esp-idf:5.5.4:*:*:*:*:*:*:*",
"matchCriteriaId": "2D53A845-578D-4153-BE97-B24E4B75F3BE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:espressif:esp-idf:6.0.1:*:*:*:*:*:*:*",
"matchCriteriaId": "F4E56C40-DD0B-4604-BFC4-B69932102DA5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]