CVE-2022-23650
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-23650 affects Netmaker, a platform for creating and managing virtual overlay networks using WireGuard. The vulnerability was discovered in versions prior to 0.8.5, 0.9.4, and 0.10.0, where a hard-coded cryptographic key in the codebase could be exploited to execute admin commands on a remote server if the attacker knows the address and username of the admin (GitHub Advisory).

Technical details

The vulnerability stems from a hard-coded JWT secret key in the codebase (var jwtSecretKey = []byte("(BytesOverTheWire)")) that was used for authentication. This implementation allowed potential attackers to forge valid authentication tokens and execute administrative commands. The vulnerability only affects the server (netmaker) component and not the clients (NVD).

Impact

An attacker who knows the server address and admin username could exploit this vulnerability to execute administrative commands on the remote server, potentially leading to unauthorized access and system compromise (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in Netmaker versions v0.8.5, v0.9.4, and v0.10.0. Users should upgrade to one of these versions. For docker installations, users need to execute: 'docker-compose down', 'docker pull gravitl/netmaker:(version)', and 'docker-compose up -d'. The fix implements a secure random JWT secret generation and storage mechanism (GitHub 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-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 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