#VU125375 Improper Certificate Validation in nix - CVE-2024-47174

 

#VU125375 Improper Certificate Validation in nix - CVE-2024-47174

Published: September 26, 2024 / Updated: April 8, 2026


Vulnerability identifier: #VU125375
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-47174
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
nix
Software vendor:
nixos.org

Description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to improper certificate validation in <nix/fetchurl.nix> when establishing HTTPS connections. A remote attacker can perform a man-in-the-middle attack to disclose sensitive information.

Credentials may be exposed when authentication is supplied through a netrc file or through derivations using impureEnvVars.


Remediation

Install security update from vendor's website.

External links