P-Netの脆弱性、細工されたイーサネットフレームで情報漏えいやサービス停止のおそれ
Summary
P-Netの1.0.3より前の版には、受信したイーサネットフレームの長さを確認しないまま読み取る脆弱性があります。VLANタグの処理に上限がないため、細工されたフレームを受けるとメモリの範囲外を読み取り、機器が停止したりメモリの内容が漏えいしたりするおそれがあります。影響を受ける版は1.0.3より前で、修正版は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より前の版には、受信したイーサネットフレームの長さを確認しないまま読み取る脆弱性があります。VLANタグの処理に上限がないため、細工されたフレームを受けるとメモリの範囲外を読み取り、機器が停止したりメモリの内容が漏えいしたりするおそれがあります。影響を受ける版は1.0.3より前で、修正版は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 does not validate the length of a received Ethernet frame in pf_eth_recv() before reading the EtherType, any VLAN tags and the PROFINET FrameID. The VLAN tag loop had no upper bound, so a truncated frame, or a frame consisting only of VLAN tags, makes the function read past the end of the receive buffer. This can cause a crash (denial of service) or disclose memory content.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web rt-labs.com
- web nvd.nist.gov
- web github.com