The FoE DATA frame handler computes the payload length from the master-supplied mailbox length field and passes it directly to FOE_fwrite. The length is checked against the remaining file capacity but not against the physical mailbox buffer size. A master can declare a large length while sending a short frame, causing FOE_fwrite to read past the end of the mailbox buffer.
- CVSS:
- 7.1 (nvd)
- Vector:
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- EPSS:
- 0.31% (percentile 24.0)
- CWE:
- CWE-125
- Published:
- Modified:
- First seen:
- NVD status:
- Received