P-Netに任意コード実行の恐れのある脆弱性、1.0.3で修正
Summary
産業用通信スタックP-Netに、細工した接続要求でメモリを壊され、機器が停止したり、コードを実行されたりする恐れのある脆弱性が見つかりました。対象は、特定のビルドオプションを有効にして組み込んだ機器だけです。該当する開発元は修正版1.0.3で再ビルドし、機器の利用者はベンダーに該当の有無を問い合わせてください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
産業用通信スタックP-Netに、細工した接続要求でメモリを壊され、機器が停止したり、コードを実行されたりする恐れのある脆弱性が見つかりました。対象は、特定のビルドオプションを有効にして組み込んだ機器だけです。該当する開発元は修正版1.0.3で再ビルドし、機器の利用者はベンダーに該当の有無を問い合わせてください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| RT-Labs | P-Net |
< 1.0.3 |
1.0.3 |
Original description The description as published by the source.
P-Net before 1.0.3, when built with PNET_OPTION_AR_VENDOR_BLOCKS enabled, parses a data length from a field of the ARVendorBlock request that is not part of the block definition and uses it as the number of bytes to copy into a fixed-size buffer, without comparing it with the buffer size or the block length. A crafted Connect request causes an out-of-bounds write. This can lead to a crash (denial of service) or potentially arbitrary code execution.
This option is disabled by default.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web rt-labs.com
- web nvd.nist.gov
- web github.com