mini-snmpdに認証なしで情報が漏えいする脆弱性、1.7で修正
Summary
mini-snmpdのSNMP要求の解析処理に範囲外読み取りの脆弱性が見つかりました。認証なしで細工した要求を1つ送るだけで、プロセスが停止するおそれがあり、隣接するヒープメモリの内容が漏えいする可能性もあります。1.7より前のバージョンが影響を受け、修正版は1.7です。1.7以降へ更新してください。
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.
mini-snmpdのSNMP要求の解析処理に範囲外読み取りの脆弱性が見つかりました。認証なしで細工した要求を1つ送るだけで、プロセスが停止するおそれがあり、隣接するヒープメモリの内容が漏えいする可能性もあります。1.7より前のバージョンが影響を受け、修正版は1.7です。1.7以降へ更新してください。
Original description The description as published by the source.
mini-snmpd is a minimal SNMP agent implementation. Prior to 1.7, the ASN.1 BER parser in protocol.c does not verify that an attacker-controlled field length is no greater than the remaining packet size before decode_str(), decode_oid(), and decode_ptr() evaluate size - len + 1. When len exceeds size, unsigned size_t arithmetic wraps and bypasses the bounds check, allowing the decoder to read beyond the 2048-byte packet buffer. Parsing occurs before the SNMP community string is checked, so a remote unauthenticated attacker can send one crafted request to UDP port 161 to crash the process and potentially disclose adjacent heap memory. This issue is fixed in version 1.7.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com