fprime: F´: FileDownlink SendPartial integer overflow lets legal startOffset/length values reach a reachable assertion
What fixes it
- 4.3fprimeGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 2
- fprimeaffected: < 4.3.0CVE List
- fprime<= 4.2.1GitHub
References 5
- github.com/nasa/fprime/commit/33fe2a4fe3fd5ff1b14985669fbad09f070e9914Fixvia CVE List
- github.com/nasa/fprime/commit/95eeb5cfb44e5609eff0887f0e11e640cdacef6bFixvia CVE List
- github.com/nasa/fprime/releases/tag/v4.3.0Fixvia CVE List
- github.com/nasa/fprime/security/advisories/GHSA-hcmw-g425-8h9gExploitvia CVE List
- github.com/nasa/fprime/pull/5565Referencevia CVE List