NetX Duo の証明書検証に重大な欠陥、書き込み超過を招く
Summary
Eclipse ThreadX の NetX Duo に含まれる NetX Secure の X.509 処理に、巨大な RSA 鍵を含む証明書でメモリの範囲外書き込みが起きる欠陥が見つかりました。認証前にネットワーク越しで悪用でき、TLS/DTLS のクライアントや、クライアント証明書認証を行うサーバーが影響を受けます。6.5.1.202602 以前を使う組込み機器の開発元や運用者は、修正版の有無をベンダーの告知で確認し、対象の把握から始めてください。
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 の NetX Duo に含まれる NetX Secure の X.509 処理に、巨大な RSA 鍵を含む証明書でメモリの範囲外書き込みが起きる欠陥が見つかりました。認証前にネットワーク越しで悪用でき、TLS/DTLS のクライアントや、クライアント証明書認証を行うサーバーが影響を受けます。6.5.1.202602 以前を使う組込み機器の開発元や運用者は、修正版の有無をベンダーの告知で確認し、対象の把握から始めてください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Eclipse Foundation | Eclipse ThreadX - NetX Duo |
≤ 6.5.1.202602 |
— |
Original description The description as published by the source.
The X.509 parser in NetX Secure accepts an RSA public key of any size, but every signature-verification path decrypts into fixed-size buffers dimensioned for the NX_CRYPTO_MAX_RSA_MODULUS_SIZE default of 4096 bits. A certificate carrying a larger modulus drives an out-of-bounds write past a file-scope static during ordinary certificate-chain verification.
It is reachable pre-authentication. The issuer used for the crypto operation is looked up in the remote, peer-supplied store before the trusted store, so the attacker supplies the oversized key themselves as an intermediate in the chain they present. It triggers on a TLS or DTLS client verifying a malicious server's chain, and on a server performing client-certificate authentication.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov