- Description
- ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0, a heap buffer overflow exists in the Security Scheme 2 (SRP6a) session-setup path of the protocomm component. The first-phase handler (handle_session_command0() in components/protocomm/src/security/security2.c) trusts the length of a client-supplied protobuf field for the SRP6a username and copies it into a buffer whose size is derived from a narrower destination type. The resulting truncation-versus-copy asymmetry corrupts the heap when an oversized value is supplied. This issue has been patched in versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- esp-idf
CVSS 3.1
- Type
- Secondary
- Base score
- 7.1
- Impact score
- 4.2
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Severity
- HIGH
- security-advisories@github.com
- CWE-122
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:espressif:esp-idf:5.2.6:*:*:*:*:*:*:*",
"matchCriteriaId": "37A040C2-E9D4-4678-9A10-74B5AEE4901D",
"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:*:*:*:*:*:*:*",
"matchCriteriaId": "F9D5D616-4CBC-480A-A7CF-4B80D7D3FA17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]