CVE-2023-37457
NixOS vulnerability analysis and mitigation

Overview

Asterisk, an open source private branch exchange and telephony toolkit, was found to contain a buffer overflow vulnerability (CVE-2023-37457) affecting versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0, as well as certified-asterisk 18.9-cert5 and prior. The vulnerability exists in the 'update' functionality of the PJSIP_HEADER dialplan function, which can exceed the available buffer space for storing new header values (GitHub Advisory).

Technical details

The vulnerability is classified as a Buffer Copy without Checking Size of Input (Classic Buffer Overflow) vulnerability (CWE-120). When updating an existing header, the 'update' code incorrectly copied the new value into the existing buffer without checking size limitations. If the new value exceeded the available buffer size, memory outside of the buffer would be written into, potentially causing a crash. The vulnerability has received a CVSS v3.1 base score of 8.2 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H (NVD).

Impact

The vulnerability can lead to memory corruption or system crashes when exploited. However, the impact is limited as it is not externally exploitable unless the dialplan is explicitly written to update a header based on data from an outside source (GitHub Advisory).

Mitigation and workarounds

A patch has been released that modifies the 'update' functionality to duplicate the new header value instead of copying it into the existing buffer. The fix is available in commit a1ca0268254374b515fa5992f01340f7717113fa. Additionally, Debian has released security updates to address this vulnerability in version 1:16.28.0~dfsg-0+deb10u4 (Debian Advisory, GitHub Patch).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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