CVE-2021-33359
NixOS vulnerability analysis and mitigation

Overview

A vulnerability exists in gowitness versions prior to 2.3.6 that allows an unauthenticated attacker to perform arbitrary file read using the file:// scheme in the url parameter to get an image of any file (NVD).

Technical details

The vulnerability is tracked as CVE-2021-33359 and has been assigned a CVSS v3.1 base score of 7.5 HIGH (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). The issue stems from insufficient URI validation in the screenshot and report server functionality, which allowed arbitrary URI schemes to be processed (GitHub Release).

Impact

The vulnerability allows attackers to read arbitrary files from the host filesystem by using the file:// URI scheme. This could potentially expose sensitive system files and lead to information disclosure (GitHub Release).

Mitigation and workarounds

The vulnerability was fixed in version 2.3.6 by limiting allowed URIs to only those starting with http/https by default. A new flag --allow-insecure-uri/-A was added to optionally disable this restriction. Additionally, the report and screenshot servers now listen on localhost only by default. Users are advised to upgrade to version 2.3.6 or later (GitHub Release).

Community reactions

The vulnerability was responsibly disclosed by Omri Inbar from Checkmarx. The project maintainers promptly addressed the issue by releasing version 2.3.6 with security hardening measures (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
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
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