Отправить #1058614: NASA Core Flight System Limit Checker (LC) 49c137c Integer Overflow leading to Out-of-bounds ReadИнформация

НазваниеNASA Core Flight System Limit Checker (LC) 49c137c Integer Overflow leading to Out-of-bounds Read
ОписаниеA vulnerability was identified in NASA Core Flight System Limit Checker (LC). Affected is the function LC_WPOffsetValid in the file fsw/src/lc_watch.c. The bound check (Offset + NumOfDataBytes) > MsgLength is computed in 32-bit unsigned arithmetic. Offset is the WatchpointOffset field taken from the Watchpoint Definition Table (WDT). With Offset = 0xFFFFFFFC and NumOfDataBytes = 4, the uint32 sum wraps to 0, so the check 0 > MsgLength is false and the function incorrectly returns true. LC_ProcessWP then computes WPDataPtr = (uint8*)BufPtr + WatchpointOffset and reads through this pointer, dereferencing memory about 4 GB past the packet buffer. This causes a SIGSEGV that crashes the LC application (denial of service). LC_ValidateWDT applies no upper bound to WatchpointOffset, so a malformed or corrupt WDT passes table validation. The classification is CWE-190 (integer overflow) leading to CWE-125 (out-of-bounds read). Impact is availability only; the out-of-bounds value is not returned to the attacker. Triggering requires a malicious or corrupt WDT to be loaded (a privileged ground table-load operation) followed by a telemetry message with the matching MessageID, so privileges required is Low. The issue is present on current main and is unpatched at submission time. A verified fix is proposed in the referenced report (overflow-safe comparison in LC_WPOffsetValid plus a WatchpointOffset upper-bound check in LC_ValidateWDT). CVSS 4.0 vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (Medium). CVSS 3.1 vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (6.5, Medium).
Источник⚠️ https://github.com/nasa/LC/issues/152
Пользователь
 Yehyeong Lee (UID 102518)
Представление27.10.2026 00:42 (29 дни назад)
Модерация25.11.2026 07:53 (29 days later)
Статуспринято
Запись VulDB443650 [NASA Core Flight System Limit Checker до 7.0.1 Watchpoint Processing fsw/src/lc_watch.c LC_WPOffsetValid повреждение памяти]
Баллы20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!