Vulnerability · Published Jan 27, 2024 · Assigned by VulDB
CVE-2024-0962obgm libcoap Configuration File coap_oscore.c get_split_entry stack-based overflow
Medium 6.3
In plain English
A medium-severity stack buffer overflow in libcoap from obgm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file src/coap_oscore.c of the component Configuration File Handler. The manipulation leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. VDB-252206 is the identifier assigned to this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libcoap3 | 4.3.4-1.1+deb13u1 | DEBIAN-CVE-2024-0962 |
| Debian:14 | libcoap3 | 4.3.5-1 | DEBIAN-CVE-2024-0962 |
| Ubuntu:22.04:LTS | libcoap2 | no fix listed | UBUNTU-CVE-2024-0962 |
| Ubuntu:22.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2024-0962 |
| Ubuntu:24.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2024-0962 |
| Ubuntu:25.10 | libcoap3 | no fix listed | UBUNTU-CVE-2024-0962 |
| Ubuntu:26.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2024-0962 |
| Ubuntu:26.10 | libcoap3 | no fix listed | UBUNTU-CVE-2024-0962 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://vuldb.com/?id.252206 vdb-entry, technical-description
- https://vuldb.com/?ctiid.252206 signature, permissions-required
- https://github.com/obgm/libcoap/issues/1310 issue-tracking
- https://github.com/obgm/libcoap/issues/1310#issue-2099860835 exploit, issue-tracking
- https://github.com/obgm/libcoap/pull/1311 issue-tracking, patch