Home / mailingsPDF  

[USN-7633-1] Nix vulnerabilities

Posted on 14 July 2025
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-7633-1
July 14, 2025

nix vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS

Summary:

Several security issues were fixed in Nix.

Software Description:
- nix: Cross-platform package manager

Details:

Linus Heckemann discovered that Nix did not correctly handle certain
binaries. An attacker could possibly use this issue to execute
arbitrary code. (CVE-2024-38531)

Pierre-Etienne Meunier discovered that Nix did not correctly handle TLS
certificates. A remote attacker could possibly use this issue to leak
sensitive information. (CVE-2024-47174)

It was discovered that Nix did not correctly handle Unix sockets. An
attacker could possibly use this issue execute arbitrary code. This issue
only affected Ubuntu 24.04 LTS. (CVE-2024-27297)

It was discovered that Nix did not correctly handle unpacking Nix
archives (NARS). If a user or automated system were tricked into opening
a specially crafted file, an attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2024-45593)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
nix-bin 2.18.1+dfsg-1ubuntu5+esm2
Available with Ubuntu Pro

Ubuntu 22.04 LTS
nix-bin 2.6.0+dfsg-3ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-7633-1
CVE-2024-27297, CVE-2024-38531, CVE-2024-45593, CVE-2024-47174

--===============8342113124735171175==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP