mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
cudaPackages.tensorrt: mark insecure
This commit is contained in:
@@ -200,8 +200,14 @@ buildRedist (
|
||||
# the redistributables do. As such, we need to specify downloadPage manually.
|
||||
downloadPage = "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt";
|
||||
changelog = "https://docs.nvidia.com/deeplearning/tensorrt/latest/getting-started/release-notes.html#release-notes";
|
||||
|
||||
license = _cuda.lib.licenses.tensorrt;
|
||||
|
||||
knownVulnerabilities =
|
||||
# https://github.com/NixOS/nixpkgs/issues/522570
|
||||
# https://nvidia.custhelp.com/app/answers/detail/a_id/5836
|
||||
lib.optionals (lib.versionOlder finalAttrs.version "10.16.1") [
|
||||
"CVE-2026-24188: OOB write"
|
||||
];
|
||||
};
|
||||
}
|
||||
)
|
||||
|
||||
@@ -25,6 +25,9 @@ in
|
||||
nixpkgsArgs ? {
|
||||
config = {
|
||||
allowUnfreePredicate = cudaLib.allowUnfreeCudaPredicate;
|
||||
# [CVE-2026-24188](https://github.com/NixOS/nixpkgs/issues/522570):
|
||||
# OOB write
|
||||
allowInsecurePredicate = p: lib.getName p == "tensorrt";
|
||||
"${variant}Support" = true;
|
||||
inHydra = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user