F´: FileDownlink SendPartial бүтін санның толып кетуі рұқсат етілген 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