CVE-2022-44789
NixOS vulnerability analysis and mitigation

Overview

A logical issue was discovered in O_getOwnPropertyDescriptor() function in Artifex MuJS versions 1.0.0 through 1.3.x before 1.3.2. The vulnerability was disclosed on November 23, 2022, and affects the MuJS JavaScript interpreter, which is designed for embedding in other software to extend them with scripting capabilities (NVD, Debian Security).

Technical details

The vulnerability exists in the O_getOwnPropertyDescriptor() function where getOwnPropertyDescriptor should create the descriptor object by using [[DefineOwnProperty]], and not by looking through the prototype chain where it may invoke getters and setters on the Object.prototype. If there exists an Object.prototype.get property with a setter, that method is invoked when it shouldn't. A malicious getter can delete the property currently being processed in getOwnPropertyDescriptor, leading to a use-after-free bug (GitHub Commit).

Impact

The vulnerability allows an attacker to achieve Remote Code Execution through memory corruption by loading a crafted JavaScript file. This can lead to potential execution of arbitrary code and compromise of the affected system (Public Reference).

Mitigation and workarounds

The vulnerability has been fixed in MuJS version 1.3.2. The fix involves using jsdefproperty rather than jssetproperty to define own properties in getOwnPropertyDescriptor and related functions. Various Linux distributions have also released security updates to address this vulnerability, including Debian (version 1.1.0-1+deb11u2) and Fedora 37 (version 1.3.2-1.fc37) (Debian Security, Fedora Update).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 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