CVE-2024-0962

NameCVE-2024-0962
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1061704

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcoap2 (PTS)bullseye4.2.1-1fixed
libcoap3 (PTS)bookworm4.3.1-1fixed
trixie, sid4.3.4-1.1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcoapsource(unstable)(not affected)
libcoap2source(unstable)(not affected)
libcoap3sourcebookworm(not affected)
libcoap3source(unstable)(unfixed)1061704

Notes

[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

Search for package or bug name: Reporting problems