Coturn
Coturn: Pre-authentication heap memory disclosure in ACME redirect (`try_acme_redirect`)
Coturn is a free open source implementation of TURN and STUN Server. From 4.5.2 through 4.14.0, when Coturn is started with --acme-redirect <URL> and exposes a plaintext-TCP listener, an unauthenticated remote client can send a single ordinary HTTP GET request and receive a 301 response whose Location header contains up to ~870 bytes of adjacent process heap memory. The leaked region is a recycled network receive buffer that is reused without being zeroed, so on a busy server it can contain data from other clients' requests (TURN credentials, OAuth tokens, relayed payloads). Root cause is a signed→unsigned conversion. This issue is fixed in version 4.15.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.5.2, < 4.15.0
Fixed in 4.15.0
Mitigation
Upgrade coturn to 4.15.0 or later.
References
- Vendor advisory github.com/coturn/coturn/security/advisories/G…
- Patch github.com/coturn/coturn/pull/1965
- Patch github.com/coturn/coturn/commit/960835886692fa…
1 more
- Release notes github.com/coturn/coturn/releases/tag/4.15.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.