| Name | CVE-2024-0962 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1061704 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libcoap2 (PTS) | bullseye | 4.2.1-1 | fixed |
| libcoap3 (PTS) | bookworm | 4.3.1-1 | fixed |
| trixie | 4.3.4-1.1+deb13u1 | fixed | |
| forky, sid | 4.3.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libcoap | source | (unstable) | (not affected) | |||
| libcoap2 | source | (unstable) | (not affected) | |||
| libcoap3 | source | bookworm | (not affected) | |||
| libcoap3 | source | trixie | 4.3.4-1.1+deb13u1 | |||
| libcoap3 | source | (unstable) | 4.3.5-1 | 1061704 |
[bookworm] - libcoap3 <not-affected> (Vulnerable code not present)
- libcoap2 <not-affected> (Vulnerable code not present)
- libcoap <not-affected> (Vulnerable code not present)
https://github.com/obgm/libcoap/issues/1310
https://github.com/obgm/libcoap/issues/1310#issue-2099860835
https://github.com/obgm/libcoap/pull/1311
Introduced by: https://github.com/obgm/libcoap/commit/dac6bd3b603fc8a37fe80f8a459d82c79feebad0 (v4.3.2-rc1)
Fixed by: https://github.com/obgm/libcoap/commit/2b28d8b0e9607e71a145345b4fe49517e052b7d9 (v4.3.5-rc1)