MongooseのTLS証明書検証を回避される脆弱性、修正版7.24
Summary
組み込み向けライブラリMongooseの内蔵TLSクライアントに、偽のサーバー証明書を受け入れてしまう脆弱性があります。内蔵TLSを使う機器やアプリの担当者は、Mongoose 7.24へ更新して再ビルドし、配布してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
組み込み向けライブラリMongooseの内蔵TLSクライアントに、偽のサーバー証明書を受け入れてしまう脆弱性があります。内蔵TLSを使う機器やアプリの担当者は、Mongoose 7.24へ更新して再ビルドし、配布してください。
Original description The description as published by the source.
Mongoose is an embedded web server and network library. From 7.17 until 7.24, Mongoose's MG_TLS_BUILTIN client in src/tls_builtin.c can accept an attacker-controlled server certificate chain when configured with a single DER CA certificate and processing a peer-provided chain, because mg_tls_verify_cert_signature() can return a negative issuer-key parsing result that callers negate as though verification succeeded. A crafted issuer with the trusted CA subject and public-key bytes but an unparseable RSA encoding can pair with an attacker-self-signed leaf that is not signed by the trusted CA, allowing a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key. This issue is fixed in 7.24.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com