CVE-2024-36050: Medium severity Nix Nix vulnerability

Published May 18, 2024
·
Updated

Nix through 2.22.1 mishandles certain usage of hash caches, which makes it easier for attackers to replace current source code with attacker-controlled source code by luring a maintainer into accepting a malicious pull request.

Affected Software

1 affected component
Nix Nix<=2.22.1

Event History

May 18, 2024
CVE Published
via MITRE·09:24 PM
Data Sourced
via MITRE·09:24 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-36050?

The severity of CVE-2024-36050 is considered critical due to the potential for attackers to replace source code through social engineering.

2

How do I fix CVE-2024-36050?

To fix CVE-2024-36050, upgrade to Nix version 2.22.2 or later, which addresses the hash cache handling issue.

3

What software versions are affected by CVE-2024-36050?

CVE-2024-36050 affects Nix versions up to and including 2.22.1.

4

What type of attack does CVE-2024-36050 enable?

CVE-2024-36050 enables supply chain attacks by allowing attackers to replace legitimate source code with malicious code.

5

Who is primarily impacted by CVE-2024-36050?

Developers and maintainers using vulnerable versions of Nix could be lured into accepting malicious pull requests due to CVE-2024-36050.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203