CVE-2020-10699
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-10699 is a security vulnerability discovered in targetcli-fb versions 2.1.50 and 2.1.51, where the socket used by targetclid (/var/run/targetclid.sock) was configured with world-writable permissions. The vulnerability was disclosed on April 15, 2020, affecting Linux systems with these specific versions of targetcli-fb installed (NVD, Ubuntu).

Technical details

The vulnerability stems from the systemd socket unit failing to specify a SocketMode, resulting in the socket being created with world-writable permissions (0666). The targetclid daemon runs as root and provides a /var/run/targetclid.sock socket to which clients can write commands, which it executes on their behalf. Due to the world-writable permissions, any unprivileged user can write to the socket, and targetclid will execute the commands even without proper privileges (GitHub Issue).

Impact

If a system enables the targetclid socket, a local attacker can exploit this vulnerability to modify the iSCSI configuration and escalate their privileges to root. This allows unauthorized users to execute arbitrary commands with root privileges, potentially leading to complete system compromise (Ubuntu).

Exploitability

The vulnerability requires local access to the system and is only exploitable when the targetclid service is enabled. It should be noted that targetclid is disabled by default and is not required for targetcli to work (Red Hat Bugzilla).

Mitigation and workarounds

Several mitigation options are available: 1) Do not enable targetclid to prevent the socket from being created, 2) Manually change the socket's permissions every time it is created using 'sudo chmod 0600 /var/run/targetclid.sock', or 3) Update to targetcli-fb version 2.1.52 or later which contains the fix (Red Hat Bugzilla).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 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