CVE-2018-25059
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was found in pastebinit up to version 0.2.2 that allows path traversal and storage path leak in the pasteHandler function. The issue was discovered in 2018 and was fixed in version 0.2.3 (NVD, GitHub PR).

Technical details

The vulnerability exists in the pasteHandler function where the application did not properly sanitize file paths, allowing path traversal attacks. The issue was fixed by properly cleaning and sanitizing the URL path using filepath.FromSlash and path.Clean functions, as well as preventing storage path disclosure in error messages (GitHub Commit).

Impact

This vulnerability could allow attackers to access files outside of the intended directory structure through path traversal, potentially exposing sensitive information on the system. Additionally, the storage path leak could provide attackers with information about the server's file system structure (GitHub PR).

Mitigation and workarounds

Users should upgrade to pastebinit version 0.2.3 or later which includes the security fix. The fix properly sanitizes file paths and prevents storage path disclosure in error messages (GitHub Release).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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