Description
Mullvad gotatun 0.4.1 before 0.10.1 contains a memory exhaustion vulnerability that allows remote unauthenticated attackers to grow the handshake RateLimiter per-source-IP HashMap without bound. Attackers who know the device public key can craft handshake packets with valid MAC1 from many source addresses to exhaust process memory on devices lacking peer endpoints.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
mullvad gotatun
Default version status: unaffected
0.4.1 to < 0.10.1affected
pkg:cargo/gotatunReferences
- https://github.com/mullvad/gotatun/security/advisories/GHSA-m2rr-7rr7-vmp7 ↗
- https://github.com/mullvad/gotatun/commit/b5881f08c2243babe5a7a320f4ac253ad7244763 ↗
- https://github.com/mullvad/gotatun/releases/tag/v0.10.1 ↗
- https://github.com/mullvad/gotatun/blob/v0.10.0/gotatun/src/noise/rate_limiter.rs#L144-L149 ↗
- https://github.com/mullvad/gotatun/blob/v0.10.0/gotatun/src/device/mod.rs#L632-L635 ↗
- https://www.vulncheck.com/advisories/gotatun-0.4.1-before-0.10.1-memory-exhaustion-via-handshake-rate-limiter ↗