CVE-2022-43358
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-43358 is a stack overflow vulnerability discovered in LibSass version 3.6.5-8-g210218, specifically in the astselectors.cpp file within the Sass::ComplexSelector::hasplaceholder function. The vulnerability was disclosed on August 22, 2023, affecting the LibSass compiler, which is a C/C++ implementation of a Sass compiler (NVD, CVE).

Technical details

The vulnerability is classified as an Out-of-bounds Write (CWE-787) with a CVSS v3.1 base score of 7.5 (HIGH). The issue manifests as a stack overflow in the hasplaceholder function within astselectors.cpp at line 464, which can be triggered through specially crafted input (NVD, GitHub Issue).

Impact

When exploited, this vulnerability can lead to a denial of service (DoS) condition by causing the application to crash. The stack overflow condition can potentially allow attackers to cause system instability and service disruption (NVD).

Mitigation and workarounds

Users are advised to upgrade to a patched version of LibSass. However, it should be noted that LibSass is now deprecated, and while it continues to receive maintenance releases, there are no plans to add additional features. Projects using LibSass are recommended to migrate to Dart Sass as a long-term solution (LibSass).

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-48639HIGH7.3
  • 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

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