CVE-2023-48183
NixOS vulnerability analysis and mitigation

Overview

QuickJS before commit c4cdd61 contains a NULL pointer dereference vulnerability in the build_for_in_iterator function due to an erroneous lexical scope handling of 'this' with eval. The vulnerability is tracked as CVE-2023-48183 (GitHub Issue).

Technical details

The vulnerability occurs in the build_for_in_iterator function where p = JS_VALUE_GET_OBJ(obj) returns 0, leading to a NULL pointer dereference. The root cause is related to eval appearing in a function causing it to close over 'this', but not maintaining the proper is_lexical status. This happens because the code fails to properly handle the lexical scope when eval is used in combination with 'this' references (GitHub Commit).

Impact

When exploited, this vulnerability can cause the application to crash due to the NULL pointer dereference, potentially leading to a denial of service condition.

Exploitability

The vulnerability can be triggered by specific JavaScript code patterns that combine class constructors, eval statements, and for-in loops accessing 'this'. A proof-of-concept exploit has been demonstrated using a test case involving a class constructor with an arrow function containing a for-in loop and eval statement (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in commit c4cdd61 by correcting the lexical scope handling of 'this' with eval. Users should upgrade to a version of QuickJS that includes this commit (GitHub Commit).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 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