Bug 2218757 (CVE-2023-35862)

Summary: CVE-2023-35862 libcoap: buffer over-read via coap_parse_oscore_conf_mem() at coap_oscore.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was discovered in libcoap, caused by a global-buffer-overflow in coap_parse_oscore_conf_mem() function in src/coap_oscore.c. By persuading a victim to open a specially crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-04 07:02:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2218758    
Bug Blocks:    

Description TEJ RATHI 2023-06-30 06:22:00 UTC
libcoap 4.3.1 contains a buffer over-read via the function coap_parse_oscore_conf_mem at coap_oscore.c.

https://github.com/obgm/libcoap/tags
https://github.com/obgm/libcoap/issues/1117
https://github.com/obgm/libcoap/pull/1118

Comment 1 TEJ RATHI 2023-06-30 06:22:18 UTC
Created libcoap tracking bugs for this issue:

Affects: fedora-all [bug 2218758]

Comment 2 Product Security DevOps Team 2023-07-04 07:02:31 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.