CVE-2023-30362
NixOS vulnerability analysis and mitigation

Overview

A Buffer Overflow vulnerability was discovered in the coap_send function of libcoap library version 4.3.1-103-g52cfd56. The vulnerability was fixed in version 4.3.1-120-ge242200. This security issue was assigned CVE-2023-30362 and was publicly disclosed on June 23, 2023 (NVD).

Technical details

The vulnerability exists in the coapsendinternal function within src/net.c. The issue occurs when calculating and inserting a null character at the end of pdu->data based on data_len, without proper length verification. This can lead to cases where it exceeds the allowed range of pdu->data, resulting in a heap buffer overflow read condition during the strstr function call (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH, with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability allows attackers to obtain sensitive information via malformed PDU (Protocol Data Unit). The high CVSS score indicates that this vulnerability can be exploited remotely without requiring privileges or user interaction, potentially leading to the disclosure of sensitive memory contents (NVD).

Mitigation and workarounds

The vulnerability has been fixed in libcoap version 4.3.1-120-ge242200. Users should upgrade to this version or later to address the security issue. The fix was implemented through a patch that addresses the potential overflow in coapsendinternal() (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management