| 标题 | uYanki board-stm32f103rc-berial 0.0 Buffer Overflow |
|---|
| 描述 | The function heartrate1_i2c_hal_write() contains a stack-based buffer overflow vulnerability (CWE-787). It copies num + 1 bytes of data into a fixed-size buffer buffer[MAX_READ_SIZE] without verifying if num + 1 exceeds the buffer's capacity. An attacker could exploit this by providing a large num value, leading to arbitrary code execution, system crash, or unauthorized access.
More details: https://github.com/uYanki/board-stm32f103rc-berial/issues/3 |
|---|
| 来源 | ⚠️ https://github.com/uYanki/board-stm32f103rc-berial/issues/3 |
|---|
| 用户 | ybdesire (UID 83239) |
|---|
| 提交 | 2025-05-31 15時15分 (1 年前) |
|---|
| 管理 | 2025-06-15 08時47分 (15 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 312562 [uYanki board-stm32f103rc-berial 直到 84daed541609cb7b46854cc6672a275d1007e295 heartrate1_hal.c heartrate1_i2c_hal_write num 内存损坏] |
|---|
| 积分 | 20 |
|---|