Eclipse ThreadXでモジュール用オブジェクト割り当ての整数オーバーフローによりメモリが破壊される
Summary
Eclipse ThreadXのModule Managerで、オブジェクト割り当てサイズの加算が検査されず整数オーバーフローが起きます。その結果、ヘッダーの書き込みが確保領域の外に及び、隣接するメモリブロックを壊すおそれがあります。影響を受けるのは6.0.1から6.5.1.202602aまでです。修正版の有無については、最新の情報を確認してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Eclipse ThreadXのModule Managerで、オブジェクト割り当てサイズの加算が検査されず整数オーバーフローが起きます。その結果、ヘッダーの書き込みが確保領域の外に及び、隣接するメモリブロックを壊すおそれがあります。影響を受けるのは6.0.1から6.5.1.202602aまでです。修正版の有無については、最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Eclipse Foundation | Eclipse ThreadX |
6.0.1 – 6.5.1.202602a |
— |
Original description The description as published by the source.
A ThreadX module chooses object_size when it calls txm_module_object_allocate. The Module Manager adds its own 16-byte private header to that size and asked the object pool for the result without checking the addition. A size near the top of a ULONG wrapped, the pool served a block far smaller than the header, and the manager then wrote the header past the end of it and into the neighbouring byte-pool block.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov