[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53461] [address@hidden: Rust CVE]
From: |
Maxim Cournoyer |
Subject: |
[bug#53461] [address@hidden: Rust CVE] |
Date: |
Sat, 22 Jan 2022 22:33:52 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Leo,
Leo Famulari <leo@famulari.name> writes:
> From: kiasoc5@tutanota.com
> Subject: Rust CVE
> To: guix-security@gnu.org
> Date: Sun, 23 Jan 2022 01:20:10 +0100 (CET) (3 hours, 7 minutes ago)
>
> Hi,
>
> Rust has a new cve that is only mitigated by upgrading to Rust 1.58+.
>
> https://blog.rust-lang.org/2022/01/20/cve-2022-21658.html
>
> Attached is a patch that adds rust-1.58.1. It doesn't replace the
> default as I'm not sure whether this should be grafted or not.
>
> Thanks
> kiasoc5
>
>>From 753f4e9c68a7b12267989d1721e97841d9f499d0 Mon Sep 17 00:00:00 2001
> From: kiasoc5 <kiasoc5@tutanota.com>
> Date: Sat, 22 Jan 2022 19:10:50 -0500
> Subject: [PATCH] gnu: Add rust-1.58.
>
> * gnu/packages/rust.scm (rust-1.58): New variable.
> ---
> gnu/packages/rust.scm | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
> index 5a6d4a5c30..c9b44da844 100644
> --- a/gnu/packages/rust.scm
> +++ b/gnu/packages/rust.scm
> @@ -784,6 +784,10 @@ (define rust-1.57
> `("procps" ,procps)
> (package-native-inputs base-rust))))))
>
> +(define rust-1.58
> + (rust-bootstrapped-package
> + rust-1.57 "1.58.1"
> "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8"))
> +
The rust-1.57 variable should probably be made private or hidden now.
Also, unless we rebuild all crates with rust-1.58, it seems to me like
we won't be addressing the problem, as the CVE touches the
'remove_dir_all' procedure part of the standard library of Rust (and we
all know Rust likes to build things statically).
Am I missing something?
Thanks,
Maxim
- [bug#53461] [address@hidden: Rust CVE], Leo Famulari, 2022/01/22
- [bug#53461] [address@hidden: Rust CVE],
Maxim Cournoyer <=
- [bug#53461] [address@hidden: Rust CVE], Leo Famulari, 2022/01/23
- [bug#53461] [address@hidden: Rust CVE], Maxim Cournoyer, 2022/01/24
- [bug#53461] [address@hidden: Rust CVE], Leo Famulari, 2022/01/24
- [bug#53461] [address@hidden: Rust CVE], Maxim Cournoyer, 2022/01/25
- [bug#53461] [address@hidden: Rust CVE], Leo Famulari, 2022/01/25
- [bug#53461] [address@hidden: Rust CVE], Maxim Cournoyer, 2022/01/27