Mongooseに遠隔からサービスを停止される脆弱性 MQTTブローカーがクラッシュするおそれ
Summary
Mongooseの7.22より前の版では、不正なMQTTのSUBSCRIBEパケットによって範囲外の領域を読み出し、MQTTブローカーがクラッシュするおそれがあります。認証なしで遠隔から攻撃できるため、CVSS v4.0のスコアは8.7です。修正版は7.22で、利用中の版を確認し、7.22以降に更新してください。
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の7.22より前の版では、不正なMQTTのSUBSCRIBEパケットによって範囲外の領域を読み出し、MQTTブローカーがクラッシュするおそれがあります。認証なしで遠隔から攻撃できるため、CVSS v4.0のスコアは8.7です。修正版は7.22で、利用中の版を確認し、7.22以降に更新してください。
Original description The description as published by the source.
Mongoose is an embedded web server and network library. Prior to 7.22, the Mongoose MQTT broker tutorial's mg_mqtt_next_topic() function can read two bytes beyond msg->dgram.len when a malformed MQTT SUBSCRIBE packet supplies a topic position that does not leave enough bytes for the topic-length field. Because tutorials/mqtt/mqtt-server/main.c reads that field without validating the complete two-byte access against the datagram boundary, an unauthenticated remote MQTT client can trigger invalid memory access and crash the broker. This issue is fixed in 7.22.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- REDHAT Red Hat
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com