Repository navigation
pnpm_10_29_2: mark insecure - #535889
pnpm_10_29_2: mark insecure#535889
Conversation
|
Successfully created backport PR for |
|
And what is with all those packages?https://github.com/search?q=repo%3ANixOS%2Fnixpkgs+pnpm_10_29_2&type=code |
|
|
Why do we need to keep breaking on purpose each others configs and force other maintainers and contributers to leave everything and upgrade things in an absolute hurry? |
|
WTF, That issue is 18 hours old!!! That is no timeframe to react to anything. I now need to leave everything and fix stuff and hack something together to not potentially flooded by user complains in the next days. |
|
Well the actual CVEs have been around for a month. We just didn't take care of them soon enough in the security tracker. Either way, I don't think an older issue would have helped here, as the only way people notice these things is by breaking glass. If pnpm was exclusively used within nixpkgs, I'd also be more lenient on marking packages as insecure. But it is often used in dev shells as well, so it's definitely a good idea to mark it as insecure this way. |
|
Many people just don't update for a good while if their config does not evaluate. So if some electron app they are using is marked insecure because of a dependency being marked insecure they just sit on an old version for a while until the maintainer does something. |
|
|
I don't think that build time dependency CVEs should be taken this seriously to break many packages, are end users actually affected? |
Is there a way to determine which package is a build time dependency, and which isn't for this type of builder? I know that the Python builder can technically do that (at least it has a specific attribute for that), not sure if this is applicable to all builders. |
|
At the same time as this package was marked insecure, some lsp servers started depending on it too: rs8pq0b8lxk64gpz5hh8cpkv942zb2wx-pnpm-10.34.0
NAR Size: 16.53 MiB | Closure Size: 240.82 MiB | Added Size: 16.53 MiB
Signatures: cache.nixos.org-1
Immediate Parents (2): session-desktop-1.18.0, libsession-util-nodejs-0.6.17
nix-tree output on output derivation built with updated flake inputs (refuses to evaluate without nixpkgs.config.permittedInsecurePackages = [
"pnpm-10.34.0"
];): q2633ak8j9apznwmwhb530zjq2xv69k1-pnpm-10.34.4.drv
NAR Size: 2.72 KiB | Closure Size: 3.58 MiB | Added Size: 6.25 KiB
Signatures: ✗
Immediate Parents (6): tailwindcss-language-server-0.14.29.drv, bash-language-server-5.6.0.drv, bash-language-server-pnpm-deps.drv, svelte-language-server-pnpm-deps.drv, tailwindcss-language-server-pnpm-deps.drv, svelte-language-server-0.18.0.drv (session-desktop gone because broken now) |
|
@jaredmontoya thanks for letting us know which packages are important to you :)
The rest of the packages you mentioned were not affected by this breakage, they are on
|
|
@gepbird It seems that pnpm 10.34.0 is also marked as insecure, that's why in my error: Refusing to evaluate package 'pnpm-10.34.0' in /nix/store/w8w3fia26p35xays42lixahnzigsl8dv-source/pkgs/development/tools/pnpm/generic.nix:164 because it is marked as insecure
Known issues:
- CVE-2026-55487
- CVE-2026-55698
- CVE-2026-55180
- CVE-2026-55697
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) for `nixos-rebuild` you can add ‘pnpm-10.34.0’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"pnpm-10.34.0"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘pnpm-10.34.0’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"pnpm-10.34.0"
];
} |
The |
fixes #535580
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.