CVE-2022-29180
NixOS vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-29180) was discovered in the Charm software versions v0.9.0 to v0.12.1. The vulnerability allowed attackers to forge HTTP requests to manipulate the charm data directory, potentially enabling unauthorized access or deletion of server files. The issue was discovered internally and patched in version v0.12.1, released on May 6, 2022 (Charm Advisory).

Technical details

The vulnerability is classified as a Server-Side Request Forgery (SSRF) issue with a CVSS v3.1 base score of 9.8 (Critical) according to NVD assessment, while GitHub assessed it with a score of 5.9 (Medium). The vulnerability was identified as CWE-918 (Server-Side Request Forgery). The issue stemmed from improper path validation before accessing the file store, which was fixed by implementing proper path cleaning using filepath.Clean() (NVD).

Impact

The vulnerability could allow attackers to access or delete files on the server through manipulated HTTP requests. However, encrypted user data uploaded to the Charm server remained safe as the servers cannot decrypt user data, including filenames, paths, and key-value data. Users running the official Charm Docker images were at minimal risk due to containerization limiting the exploit to the containerized filesystem (Charm Advisory).

Mitigation and workarounds

The vulnerability was patched in version v0.12.1 with commit 3c90668. The fix implements proper path cleaning before accessing the file store. All users running self-hosted Charm instances were recommended to update immediately to this version (Charm Advisory).

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-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 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