F´: целочисленное переполнение в SendPartial компонента FileDownlink позволяет допустимым значениям startOffset/length достигать достижимого утверждения
Исправление
Исправлено в версиях: 4.3.0
Затронутые версии
| fprime | → исправлено в 4.3.0 |
Оригинальное описание (EN)
Оригинальный заголовок: F´: FileDownlink SendPartial integer overflow lets legal startOffset/length values reach a reachable assertion
F´ (F Prime) is a framework that enables development and deployment of spaceflight and other embedded software applications. Prior to 4.3.0, Svc::FileDownlink SendPartial range validation is vulnerable because unchecked startOffset plus length arithmetic bypasses the range check and stores a wrapped m_endOffset that is inconsistent with m_byteOffset. When an existing source file is larger than a valid startOffset and a SendPartial command supplies a length whose U32 sum with that offset wraps below the file size, under standard F Prime assertion handling, the first data-packet transition reaches FW_ASSERT and aborts or resets the process, causing denial of service. This issue is fixed in version 4.3.0.
Ссылки
- Вендорgithub.com/nasa/fprime/security/advisories/GHSA-hcmw-g425-8h9g
- Прочееgithub.com/nasa/fprime/pull/5565
- Прочееgithub.com/nasa/fprime/commit/33fe2a4fe3fd5ff1b14985669fbad09f070e9914
- Прочееgithub.com/nasa/fprime/commit/95eeb5cfb44e5609eff0887f0e11e640cdacef6b
- Прочееgithub.com/nasa/fprime/releases/tag/v4.3.0