9.4 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Gradient: Unauthenticated worker on /proto → arbitrary NAR write / cache poisoning
Gradient is a nix-based continuous integration system. In 1.1.0, when GRADIENT_DISCOVERABLE=true (the default, and the NixOS module default), anyone who can reach /proto can register as a worker without any credentials by sending a fresh, never-registered worker UUID. The resulting session has PeerAuth::Open, i.e. it sees jobs from every organisation, and can immediately NarPush/NarUploaded arbitrary store paths into nar_storage and the cached_path table. This vulnerability is fixed in 1.1.1.
References
-
https://github.com/wavelens/gradient/security/advisories/GHSA-49w6-gf3p-96m2 x_refsource_CONFIRM
Affected products
- ==1.1.0
Matching in nixpkgs
pkgs.python312Packages.gradient
None
pkgs.python312Packages.airgradient
None
pkgs.python313Packages.airgradient
Module for AirGradient
pkgs.python314Packages.airgradient
Module for AirGradient
pkgs.python312Packages.gradient-utils
None
pkgs.haskellPackages.conjugateGradient
Sparse matrix linear-equation solver
pkgs.python312Packages.gradient-statsd
None
pkgs.python313Packages.gradient-statsd
Wrapper around the DogStatsd client
pkgs.python314Packages.gradient-statsd
Wrapper around the DogStatsd client
pkgs.nixos-artwork.wallpapers.gradient-grey
Simple grey gradient background for NixOS
-
nixos-unstable 2018-10-20
- nixpkgs-unstable 2018-10-20
- nixos-unstable-small 2018-10-20
pkgs.obs-studio-plugins.obs-gradient-source
Plugin for adding a gradient Source to OBS Studio
pkgs.typstPackages.buaa-unofficial-gradient
A Typst template for BUAA slides based on Touying
pkgs.typstPackages.buaa-unofficial-gradient_0_1_0
A Typst template for BUAA slides based on Touying
Package maintainers
-
@honnip Jung seungwoo <me@honnip.page>
-
@flexiondotorg Martin Wimpress <martin@wimpress.org>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@RossSmyth Ross Smyth
-
@cherrypiejam Gongqi Huang