Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a heap out-of-bounds write in bufferevent_sock.c when buffere...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:18.04:LTSlibevent |
< 2.1.8-stable-4ubuntu0.1~esm2→ 2.1.8-stable-4ubuntu0.1~esm2 |
2.1.8-stable-4ubuntu0.1~esm2 |
| Ubuntu:Pro:20.04:LTSlibevent |
< 2.1.11-stable-1ubuntu0.1~esm2→ 2.1.11-stable-1ubuntu0.1~esm2 |
2.1.11-stable-1ubuntu0.1~esm2 |
| Ubuntu:22.04:LTSlibevent |
< 2.1.12-stable-1ubuntu0.2→ 2.1.12-stable-1ubuntu0.2 |
2.1.12-stable-1ubuntu0.2 |
| Ubuntu:24.04:LTSlibevent |
< 2.1.12-stable-9ubuntu2.2→ 2.1.12-stable-9ubuntu2.2 |
2.1.12-stable-9ubuntu2.2 |
| Ubuntu:26.04:LTSlibevent |
< 2.1.12-stable-10ubuntu0.2→ 2.1.12-stable-10ubuntu0.2 |
2.1.12-stable-10ubuntu0.2 |
Original description The description as published by the source.
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a heap out-of-bounds write in bufferevent_sock.c when bufferevent_socket_set_conn_address_ copies a kernel-supplied AF_UNIX peer address into bufferevent_private.conn_address. Release builds compiled with NDEBUG disable the EVUTIL_ASSERT length guard, and the evhttp accept path can pass a 110-byte sockaddr from accept() into the 28-byte field. An unauthenticated local peer able to connect to an AF_UNIX listener can overwrite the adjacent dns_request pointer and heap data, causing memory corruption with confidentiality, integrity, and availability impact. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org