diff --git a/pkgs/tools/package-management/nixops/default.nix b/pkgs/tools/package-management/nixops/default.nix index 2ec98b82c690..21118870bfaf 100644 --- a/pkgs/tools/package-management/nixops/default.nix +++ b/pkgs/tools/package-management/nixops/default.nix @@ -6,6 +6,18 @@ let inherit (poetry2nix.mkPoetryPackages { projectDir = ./python-env; python = python2; + overrides = [ + poetry2nix.defaultPoetryOverrides + (self: super: { + pyjwt = super.pyjwt.overridePythonAttrs (old: { + meta = old.meta // { + knownVulnerabilities = lib.optionals (lib.versionOlder old.version "2.4.0") [ + "CVE-2022-29217" + ]; + }; + }); + }) + ]; }) python; pythonPackages = python.pkgs;