Cloudanix VulnDB

CVE-2023-30362

High · 7.5

CVSS

7.5

EPSS

0.8%

Published

Jun 23, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in software used for device communication might allow outsiders to access private information without needing special access.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A buffer overflow in the coap_send function permits reading beyond allocated memory bounds when processing a malformed protocol data unit, resulting in disclosure of sensitive information.

Why it matters to the business

Organizations using the affected library in network-enabled devices face risk of sensitive data exposure, which could lead to privacy breaches or further attacks, though exploitation likelihood remains low based on available metrics.

How an attack unfolds

An attacker crafts a malformed PDU and sends it to a vulnerable libcoap implementation, triggering the buffer overflow in coap_send to leak memory contents containing sensitive information.

How to fix it

Update the libcoap library to version 4.3.1-120-ge242200 or later to address the buffer overflow.

How to confirm the fix worked

Verify the library version is updated; perform fuzz testing with malformed PDUs to confirm no overflow occurs.

Typical attack path

  1. Identify vulnerable libcoap instance via network scanning
  2. Craft malformed CoAP PDU targeting the coap_send function
  3. Transmit the PDU over the network
  4. Capture leaked sensitive data from memory disclosure

How to detect it

Examine network logs for malformed CoAP packets; look for unusual memory access patterns or crashes in libcoap processes; no specific public exploitation artifacts known.

What your security team should do

  • Prioritize updating libcoap in all affected deployments
  • Monitor for unusual CoAP traffic patterns
  • Review data exposure risks in constrained network environments

The record

Buffer Overflow vulnerability in coap_send function in libcoap library 4.3.1-103-g52cfd56 fixed in 4.3.1-120-ge242200 allows attackers to obtain sensitive information via malformed pdu.

Affected packages

Ecosystem Package Introduced Fixed
Debian:12 libcoap3 0 No fix
Debian:13 libcoap3 0 4.3.1-2
Ubuntu:18.04:LTS libcoap 0 No fix
Ubuntu:20.04:LTS libcoap2 0 No fix
Ubuntu:22.04:LTS libcoap2 0 No fix
Ubuntu:22.04:LTS libcoap3 0 No fix
Ubuntu:24.04:LTS libcoap3 0 No fix
Ubuntu:25.04 libcoap3 0 No fix
Ubuntu:25.10 libcoap3 0 No fix
Ubuntu:Pro:18.04:LTS libcoap 0 No fix

Related vulnerabilities