# Security

**URL:** https://discourse.nixos.org/c/dev/security/21.md?page=1

[Latest](https://discourse.nixos.org/latest.md) · [Categories](https://discourse.nixos.org/categories.md)

**Page:** 2

---

## [Reconsider reusing upstream tarballs](https://discourse.nixos.org/t/reconsider-reusing-upstream-tarballs/42524)

<div class="topic-metadata">

**Author:** [@colemickens](https://discourse.nixos.org/u/colemickens)\
**Replies:** 46\
**Last updated:** [April 8, 2024, 11:55pm UTC](https://discourse.nixos.org/t/reconsider-reusing-upstream-tarballs/42524 "2024-04-08T23:55:24Z")

</div>

Serious question, can we … consider policy about using release tarballs in nixpkgs instead of building from source. EDIT: For context, this was split out of CVE-2024-3094: Malicious code in xz 5.6.0 and 5.6.1 tarballs -…

---

## [Keeping up with Gitlab updates](https://discourse.nixos.org/t/keeping-up-with-gitlab-updates/40384)

<div class="topic-metadata">

**Author:** [@carlphilippreh](https://discourse.nixos.org/u/carlphilippreh)\
**Replies:** 3\
**Last updated:** [February 28, 2024, 6:52am UTC](https://discourse.nixos.org/t/keeping-up-with-gitlab-updates/40384 "2024-02-28T06:52:20Z")

</div>

Hello everyone, I recently migrated a Docker-based Gitlab installation over to NixOS. Unfortunately, the most recent version in NixOS is still 16.8.1 and two newer versions with security fixes, 16.8.2 and 16.8.3, have b…

---

## [The default java version in nixpkgs is EOL and insecure](https://discourse.nixos.org/t/the-default-java-version-in-nixpkgs-is-eol-and-insecure/39022)

<div class="topic-metadata">

**Author:** [@Tungsten842](https://discourse.nixos.org/u/Tungsten842)\
**Replies:** 0\
**Last updated:** [January 30, 2024, 10:15am UTC](https://discourse.nixos.org/t/the-default-java-version-in-nixpkgs-is-eol-and-insecure/39022 "2024-01-30T10:15:45Z")

</div>

https://github.com/NixOS/nixpkgs/issues/280901

---

## [Thinkpad T480 fingerprint reader support](https://discourse.nixos.org/t/thinkpad-t480-fingerprint-reader-support/17448)

<div class="topic-metadata">

**Author:** [@faultymuse](https://discourse.nixos.org/u/faultymuse)\
**Replies:** 6\
**Last updated:** [January 4, 2024, 10:50pm UTC](https://discourse.nixos.org/t/thinkpad-t480-fingerprint-reader-support/17448 "2024-01-04T22:50:11Z")

</div>

I have a Thinkpad T480 I’ve been using for a while and recently discovered the wonder that is Nix/NixOS. Unfortunately the built-in fingerprint reader (device ID 06cb:009a) did not have linux driver support until recentl…

---

## [Help needed with nix \`trusted-users\` behaviour](https://discourse.nixos.org/t/help-needed-with-nix-trusted-users-behaviour/8369)

<div class="topic-metadata">

**Author:** [@MartinJ](https://discourse.nixos.org/u/MartinJ)\
**Replies:** 3\
**Last updated:** [December 22, 2023, 8:19pm UTC](https://discourse.nixos.org/t/help-needed-with-nix-trusted-users-behaviour/8369 "2023-12-22T20:19:29Z")

</div>

Hi, I opened nix copy --no-check-sigs fails for trusted user · Issue #3873 · NixOS/nix · GitHub because I’m facing a strange behaviour from nix 2.3.7, where even as I set my user to be trusted (in /etc/nix/nix.conf on m…

---

## [Timely updates for NixOS](https://discourse.nixos.org/t/timely-updates-for-nixos/29231)

<div class="topic-metadata">

**Author:** [@bernat](https://discourse.nixos.org/u/bernat)\
**Replies:** 24\
**Last updated:** [October 22, 2023, 9:07pm UTC](https://discourse.nixos.org/t/timely-updates-for-nixos/29231 "2023-10-22T21:07:29Z")

</div>

Hey! OpenSSL 1.1.1u was released two weeks ago to fix some vulnerabilities. It was backported to 22.11 with \[Backport staging-22.11\] openssl\_1\_1: 1.1.1t -\> 1.1.1u by github-actions\[bot\] · Pull Request #235017 · NixOS/ni…

---

## [What's the requirement for a package to be updated?](https://discourse.nixos.org/t/whats-the-requirement-for-a-package-to-be-updated/34018)

<div class="topic-metadata">

**Author:** [@Quagmire](https://discourse.nixos.org/u/Quagmire)\
**Replies:** 2\
**Last updated:** [October 10, 2023, 6:54am UTC](https://discourse.nixos.org/t/whats-the-requirement-for-a-package-to-be-updated/34018 "2023-10-10T06:54:47Z")

</div>

I’ve been working on setting a mail server using NixOS 23.05 and I have functionality close to where I want it. I decided to analyze a few of the included packages for any security issues and I found a number of problems…

---

## [Curl high severity problem CVE-2023-38545](https://discourse.nixos.org/t/curl-high-severity-problem-cve-2023-38545/33871)

<div class="topic-metadata">

**Author:** [@turion](https://discourse.nixos.org/u/turion)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 1:39pm UTC](https://discourse.nixos.org/t/curl-high-severity-problem-cve-2023-38545/33871 "2023-10-05T13:39:56Z")

</div>

See, Severity HIGH security problem to be announced with curl 8.4.0 on Oct 11 · curl/curl · Discussion #12026 · GitHub, there will be an update to curl sooner than expected, on October 11, which fixes a high severity pro…

---

## [Could Microsoft master key hack impact Nix via Github?](https://discourse.nixos.org/t/could-microsoft-master-key-hack-impact-nix-via-github/33652)

<div class="topic-metadata">

**Author:** [@bgibson](https://discourse.nixos.org/u/bgibson)\
**Replies:** 3\
**Last updated:** [September 30, 2023, 11:29am UTC](https://discourse.nixos.org/t/could-microsoft-master-key-hack-impact-nix-via-github/33652 "2023-09-30T11:29:54Z")

</div>

Interesting discussion here about the possible implication of MS’s recent master key hack on GitHub’s security. Speculation that any repo on Github could now be compromised too, including nixpkgs. Any thoughts on thi…

---

## [Inkscape possible domain compromise](https://discourse.nixos.org/t/inkscape-possible-domain-compromise/32008)

<div class="topic-metadata">

**Author:** [@waffle8946](https://discourse.nixos.org/u/waffle8946)\
**Replies:** 10\
**Last updated:** [August 23, 2023, 6:19am UTC](https://discourse.nixos.org/t/inkscape-possible-domain-compromise/32008 "2023-08-23T06:19:47Z")

</div>

https://github.com/NixOS/nixpkgs/blob/c7623219fccf46b36370140d777ba61c85c9bb8d/pkgs/applications/graphics/inkscape/default.nix fetches from https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz, but vis…

---

## [Vulnix: New maintainer needed](https://discourse.nixos.org/t/vulnix-new-maintainer-needed/27209)

<div class="topic-metadata">

**Author:** [@ckauhaus](https://discourse.nixos.org/u/ckauhaus)\
**Replies:** 17\
**Last updated:** [June 3, 2023, 2:23pm UTC](https://discourse.nixos.org/t/vulnix-new-maintainer-needed/27209 "2023-06-03T14:23:14Z")

</div>

Unfortunatly, I don’t have time to continue the maintainership of vulnix nor am I able to prepare any more vulnerability roundups. We have had some discussions at last year’s NixCon but they did not result in an actionab…

---

## [The future of the vulnerability roundups](https://discourse.nixos.org/t/the-future-of-the-vulnerability-roundups/22424)

<div class="topic-metadata">

**Author:** [@ckauhaus](https://discourse.nixos.org/u/ckauhaus)\
**Replies:** 12\
**Last updated:** [June 3, 2023, 8:03am UTC](https://discourse.nixos.org/t/the-future-of-the-vulnerability-roundups/22424 "2023-06-03T08:03:40Z")

</div>

Hi everyone, as you may possibly have noticed, I’m currently unable to continue the vulnerability roundups. With the current state of tooling, they are just too much manual work which I cannot provide anymore in my curr…

---

## [No hashes starting with 'e', 't', 'o' or 'u' in /nix/store?](https://discourse.nixos.org/t/no-hashes-starting-with-e-t-o-or-u-in-nix-store/4906)

<div class="topic-metadata">

**Author:** [@aycanirican](https://discourse.nixos.org/u/aycanirican)\
**Replies:** 39\
**Last updated:** [May 2, 2023, 6:45am UTC](https://discourse.nixos.org/t/no-hashes-starting-with-e-t-o-or-u-in-nix-store/4906 "2023-05-02T06:45:28Z")

</div>

I don’t have any hashes in my nix store that starts with one of those letters \['e','o','t','u'\]. I checked a few nixos machines of mine and found out that they’re the same. I checked both MacOS and Linux machines. Do you…

---

## [Pacman-bintrans, the reason I stick with Arch](https://discourse.nixos.org/t/pacman-bintrans-the-reason-i-stick-with-arch/21637)

<div class="topic-metadata">

**Author:** [@mahdi-ln](https://discourse.nixos.org/u/mahdi-ln)\
**Replies:** 12\
**Last updated:** [October 10, 2022, 1:23pm UTC](https://discourse.nixos.org/t/pacman-bintrans-the-reason-i-stick-with-arch/21637 "2022-10-10T13:23:42Z")

</div>

pacman-bintrans, a binary transparency tool for pacman, provides some level of gossiping to stop split-world-attack. (with options like --required-rebuild-confirms and --bypass-proxy-for-pkgs). This is the reason I can’t…

---

## [How to secure NixOS after the attack to PyTorch?](https://discourse.nixos.org/t/how-to-secure-nixos-after-the-attack-to-pytorch/24346)

<div class="topic-metadata">

**Author:** [@gnu\_s](https://discourse.nixos.org/u/gnu_s)\
**Replies:** 12\
**Last updated:** [January 2, 2023, 4:04pm UTC](https://discourse.nixos.org/t/how-to-secure-nixos-after-the-attack-to-pytorch/24346 "2023-01-02T16:04:36Z")

</div>

Many PyTorch users were compromised by a malicious dependency associated with PyTorch that stole data from $HOME. It’s not something specific to NixOS or Nix, but to any PyPI users. This attack is explained in PyTorch an…

---

## [CrowdSec Package](https://discourse.nixos.org/t/crowdsec-package/23040)

<div class="topic-metadata">

**Author:** [@michacassola](https://discourse.nixos.org/u/michacassola)\
**Replies:** 1\
**Last updated:** [November 6, 2022, 4:06pm UTC](https://discourse.nixos.org/t/crowdsec-package/23040 "2022-11-06T16:06:27Z")

</div>

Hi, would you consider including CrowdSec in Nixpkgs? Thanks!

---

## [OpenSSL 3.0.7 plan?](https://discourse.nixos.org/t/openssl-3-0-7-plan/22792)

<div class="topic-metadata">

**Author:** [@kenmacd](https://discourse.nixos.org/u/kenmacd)\
**Replies:** 19\
**Last updated:** [November 4, 2022, 6:48am UTC](https://discourse.nixos.org/t/openssl-3-0-7-plan/22792 "2022-11-04T06:48:46Z")

</div>

Hello, I’d like to know if there are any plans around how to deal with the merging/deploying of the upcoming OpenSSL 3.0.7 release. As it will fix a critical vulnerability, and that class is ‘likely to be exploitable’, I…

---

## [Please sign ISOs](https://discourse.nixos.org/t/please-sign-isos/22044)

<div class="topic-metadata">

**Author:** [@mahdi-ln](https://discourse.nixos.org/u/mahdi-ln)\
**Replies:** 7\
**Last updated:** [September 29, 2022, 5:43pm UTC](https://discourse.nixos.org/t/please-sign-isos/22044 "2022-09-29T17:43:01Z")

</div>

I hesitate to use unsigned ISO. Not signing it gives a feeling that nixos team trying not to take responsibility for the released ISOs

---

## [Should security.tpm2 be enabled by default?](https://discourse.nixos.org/t/should-security-tpm2-be-enabled-by-default/9916)

<div class="topic-metadata">

**Author:** [@bbigras](https://discourse.nixos.org/u/bbigras)\
**Replies:** 3\
**Last updated:** [July 27, 2022, 10:12pm UTC](https://discourse.nixos.org/t/should-security-tpm2-be-enabled-by-default/9916 "2022-07-27T22:12:24Z")

</div>

I saw that 20.09 now has security.tpm2. Should it be enabled by default on system with tpm 2 support? Are those chips trustworthy like the (Trusted Platform Module) name says? I think I saw somewhere that we can use t…

---

## [Trust model for nixpkgs](https://discourse.nixos.org/t/trust-model-for-nixpkgs/9450)

<div class="topic-metadata">

**Author:** [@yakman2020](https://discourse.nixos.org/u/yakman2020)\
**Replies:** 40\
**Last updated:** [July 10, 2022, 9:00pm UTC](https://discourse.nixos.org/t/trust-model-for-nixpkgs/9450 "2022-07-10T21:00:55Z")

</div>

I am implementing reproducible builds using nix packages and the nix package manager. I have received pushback from collegues which my management have taken seriously. The net of the pushback is that, for example, deb …

---

## [How should one report small vulnerabilities in individual modules?](https://discourse.nixos.org/t/how-should-one-report-small-vulnerabilities-in-individual-modules/17279)

<div class="topic-metadata">

**Author:** [@TLATER](https://discourse.nixos.org/u/TLATER)\
**Replies:** 5\
**Last updated:** [April 18, 2022, 10:11am UTC](https://discourse.nixos.org/t/how-should-one-report-small-vulnerabilities-in-individual-modules/17279 "2022-04-18T10:11:11Z")

</div>

Hi, I think I spotted a small vulnerability while reading through a module - it seems very minor and unlikely to be exploited in practice, but it’s there and I’d like to report and fix it (if it’s even actually a problem…

---

## [Why does Nix/Nixpkgs/NixOS GitHub organization require all members to have two-factor authentication enabled?](https://discourse.nixos.org/t/why-does-nix-nixpkgs-nixos-github-organization-require-all-members-to-have-two-factor-authentication-enabled/17021)

<div class="topic-metadata">

**Author:** [@koolean](https://discourse.nixos.org/u/koolean)\
**Replies:** 17\
**Last updated:** [January 8, 2022, 12:12am UTC](https://discourse.nixos.org/t/why-does-nix-nixpkgs-nixos-github-organization-require-all-members-to-have-two-factor-authentication-enabled/17021 "2022-01-08T00:12:48Z")

</div>

I have been invited to join the Nix/Nixpkgs/NixOS GitHub organization after a contribution to a repository. FYI, I use a different pseudo on GitHub. If I do not have a mobile phone, I have no intention to get one. If I …

---

## [Replacing a package with my own fork?](https://discourse.nixos.org/t/replacing-a-package-with-my-own-fork/15668)

<div class="topic-metadata">

**Author:** [@das\_j](https://discourse.nixos.org/u/das_j)\
**Replies:** 4\
**Last updated:** [December 16, 2021, 8:16pm UTC](https://discourse.nixos.org/t/replacing-a-package-with-my-own-fork/15668 "2021-12-16T20:16:32Z")

</div>

Hi everyone, libspf2 has had at least one 9.8 CVE advisory. Upstream is pretty unresponsive, and while it has been announced that the advisory is fixed in the following version, no version was ever released. This prom…

---

## [Removal of insecure "steghide" package](https://discourse.nixos.org/t/removal-of-insecure-steghide-package/12071)

<div class="topic-metadata">

**Author:** [@ckauhaus](https://discourse.nixos.org/u/ckauhaus)\
**Replies:** 8\
**Last updated:** [November 7, 2021, 12:40pm UTC](https://discourse.nixos.org/t/removal-of-insecure-steghide-package/12071 "2021-11-07T12:40:58Z")

</div>

Hi, I’d like to get some clarifying hints on what to do with the “steghide” package. See Vulnerability roundup 100: steghide-0.5.1: 1 advisory \[7.5\] · Issue #116923 · NixOS/nixpkgs · GitHub for details. The package got…

---

## [How to configure login.defs and password quality control settings with PAM?](https://discourse.nixos.org/t/how-to-configure-login-defs-and-password-quality-control-settings-with-pam/9737)

<div class="topic-metadata">

**Author:** [@gspia](https://discourse.nixos.org/u/gspia)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 8:07am UTC](https://discourse.nixos.org/t/how-to-configure-login-defs-and-password-quality-control-settings-with-pam/9737 "2021-10-29T08:07:13Z")

</div>

The title says it all: I tried to find out relevant options with nix option search but wasn’t able to find something that I could use. And similarly, some of the web query trials didn’t give anything relevant (or I just …

---

## [Security of Nixpkgs Repository](https://discourse.nixos.org/t/security-of-nixpkgs-repository/15463)

<div class="topic-metadata">

**Author:** [@znewman01](https://discourse.nixos.org/u/znewman01)\
**Replies:** 9\
**Last updated:** [October 19, 2021, 8:12pm UTC](https://discourse.nixos.org/t/security-of-nixpkgs-repository/15463 "2021-10-19T20:12:51Z")

</div>

I’m an academic researcher (and Nix enthusiast!) interested in software repository security – specifically, how to protect users from compromised repositories (as opposed to bad packages served legitimately). The rough “…

---

## [(Resolved) Unexpected binary SSL certificates in ca-bundle.crt after nixos-rebuild! Great Russian Firewall?](https://discourse.nixos.org/t/resolved-unexpected-binary-ssl-certificates-in-ca-bundle-crt-after-nixos-rebuild-great-russian-firewall/15004)

<div class="topic-metadata">

**Author:** [@SergeyMironov](https://discourse.nixos.org/u/SergeyMironov)\
**Replies:** 0\
**Last updated:** [September 13, 2021, 12:32pm UTC](https://discourse.nixos.org/t/resolved-unexpected-binary-ssl-certificates-in-ca-bundle-crt-after-nixos-rebuild-great-russian-firewall/15004 "2021-09-13T12:32:22Z")

</div>

Update: that was my mistake: I had long-forgotten includes in my configuration.nix, adding some erroneous binary certifiactes copied from random Windows system. The addition was made back in 2019 but caused no errors unt…

---

## [Proposal: remove ability for substituters to set their priority](https://discourse.nixos.org/t/proposal-remove-ability-for-substituters-to-set-their-priority/13190)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.nixos.org/u/asymmetric)\
**Replies:** 9\
**Last updated:** [May 27, 2021, 8:38pm UTC](https://discourse.nixos.org/t/proposal-remove-ability-for-substituters-to-set-their-priority/13190 "2021-05-27T20:38:18Z")

</div>

Currently, the nix tool decides the order in which substituters are queried by using a Priority value, which substituters can set themselves: ❯ curl -L cache.nixos.org/nix-cache-info StoreDir: /nix/store WantMassQuery: …

---

## [Insecure imagemagick version in NixOS 20.09](https://discourse.nixos.org/t/insecure-imagemagick-version-in-nixos-20-09/11955)

<div class="topic-metadata">

**Author:** [@Melkor333](https://discourse.nixos.org/u/Melkor333)\
**Replies:** 5\
**Last updated:** [May 10, 2021, 11:47am UTC](https://discourse.nixos.org/t/insecure-imagemagick-version-in-nixos-20-09/11955 "2021-05-10T11:47:01Z")

</div>

I’ve run vulnix --system on my server which is on the 20.09 branch and it showed a LOT of open CVEs which is a bit concerning. The worst of them is imagemagick-6.9.11-60 with 81 open CVEs which go up to a score of 9.8 (a…

---

## [Branch protection policies](https://discourse.nixos.org/t/branch-protection-policies/6410)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.nixos.org/u/asymmetric)\
**Replies:** 33\
**Last updated:** [May 7, 2021, 11:17am UTC](https://discourse.nixos.org/t/branch-protection-policies/6410 "2021-05-07T11:17:07Z")

</div>

This comment made me wonder if the branch protection policies have been documented. Looking at the list of branches, some of them appear ot be protected, but AFAICT it’s not possible to see what the protection amounts t…

[Previous page](https://discourse.nixos.org/c/dev/security/21.md)

[Next page](https://discourse.nixos.org/c/dev/security/21.md?page=2)
