CVE-2024-1485
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-1485 is a vulnerability discovered in the decompression function of registry-support. The vulnerability was reported on February 13, 2024, and affects the registry-support library versions prior to 0.0.0-20240206. The flaw allows an unauthenticated remote attacker to trick a user into parsing a devfile that uses the 'parent' or 'plugin' keywords, which could lead to unauthorized file manipulation (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as a path traversal issue (CWE-22 and CWE-23) where the decompression function fails to properly validate user-supplied data. The flaw specifically occurs when processing .tar archives, where the cleanup process incorrectly handles relative paths, potentially allowing operations outside the intended directory scope. The vulnerability has received a CVSS v3.1 base score of 9.3 (Critical) from NIST and 8.0 (High) from Red Hat, with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability could allow attackers to overwrite or delete files outside of the intended archive directory. This poses a significant risk as it could lead to unauthorized file system modifications beyond the intended scope of the application (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been patched in version 0.0.0-20240206 of registry-support. The fix involves implementing proper path cleaning functionality that ensures no filepath can leave the confines of its parent directory by escaping out. The patch adds a leading slash to all filepaths before the cleaning process and removes any redundant double slashes (Registry Support 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-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 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