Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| libevent | libevent | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Libevent Project | Libevent |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4786-1 | libevent security update |
Debian DSA |
DSA-6493-1 | libevent security update |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.416% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Libevent Project
Libevent Project libevent |
|
| Vendors & Products |
Libevent Project
Libevent Project libevent |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha. | |
| Title | Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response | |
| Weaknesses | CWE-121 CWE-193 CWE-787 |
|
| References |
| |
| Metrics |
cvssV3_1
|