-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global-buffer-overflow in coap_parse_oscore_conf_mem
function in src/coap_oscore.c
#1117
Comments
It is appreciated that you are checking the libcoap code for potential issues and giving detail to be able to reproduce the issue. This has been fixed in #1118 which is ready for further testing. Note that you need to add |
CVE-2023-35862 claims this makes 4.3.1 vulnerable, but I think I'm right in saying oscore code wasn't even present in 4.3.1? |
According to a collaborator [0] the affected code isn't in 4.3.1 [0]: obgm/libcoap#1117 Signed-off-by: Daniel Lang <dalang@gmx.at>
According to a collaborator [0] the affected code isn't in 4.3.1 [0]: obgm/libcoap#1117 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
According to a collaborator [0] the affected code isn't in 4.3.1 [0]: obgm/libcoap#1117 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit 20c023a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
According to a collaborator [0] the affected code isn't in 4.3.1 [0]: obgm/libcoap#1117 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit 20c023a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
According to a collaborator [0] the affected code isn't in 4.3.1 [0]: obgm/libcoap#1117 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit 20c023a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Environment
Problem Description
There is a global-buffer-overflow bug in the
coap_parse_oscore_conf_mem
function insrc/coap_oscore.c
.Expected Behavior
No crash.
Actual Behavior
Crash when enhanced with ASan.
Steps to reproduce
libcoap
with ASanoverflow.c
(as shown follows)overflow
and detect ASan errorCode to reproduce this issue
Debug Logs
The text was updated successfully, but these errors were encountered: