From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sJ3xELgy8mWTVAEA62LTzQ:P1 (envelope-from ) for ; Thu, 14 Mar 2024 00:11:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sJ3xELgy8mWTVAEA62LTzQ (envelope-from ) for ; Thu, 14 Mar 2024 00:11:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=VbYlPxo5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710371512; a=rsa-sha256; cv=none; b=F6HPbiPNPvT1cLvWMLEARQMiDfXDOLe/WnqWePk+uRt1rqxDucRHetmBxIIeSEY7UMz7nv cLydVb8gCn5+ay+5GS48I353BW+PYvbQ/g1VR/u/12mRvZSrBY/G+OZ/2WPwxzAQhF+7jK nA3L5wulTGlQKfp+CTEgJS1aRMQnZYBOsa0krsWcYOlZOAL/Gj4pOne7j2b8Xo8SNwxAHg 1sEYjg4tvuJC5vwHlnQIoH+J1BftJaGam2wPSzyq4AlEBY2J/ZSxhlTyb/EmfbJSFT3EfQ yKHngTJJO0id20ces/CMD4nWrETwGeLg3nCb1OKdd1gjCII1RezHQrqjBmz1Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=VbYlPxo5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710371512; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=7SMSXNpiFf678qafujOPWMfMrCar6rq3B5a8hJRZpsI=; b=AG/Fgbl0lIhAQ9ixf/qO3qdlUxcA9cAGWte7oGIxAjd9YucQWeB+wSrhElJ6bmJX1sl37/ kO+BLpn3OJ4vdxc8Q57FX6qnU+c0Vi5s69GWM1Aw+qoV+jZK1fPrXADpb+dDjHXwSyouEn pKhKr2vPLYjpTniE1ibFPgU3fp8MH14/2QoKKnLN77Po1Bwbf+ZoCw5SzsDb2axj6LlESD jZJ2Cn2lnHT9YXTuPfbZpzdUt9oYib28Xwy76h91o+aXcsEyDLZsOiE9stkqdWcSq0bjiP nLgyF+MgbtOQPoca/FZz1z9EeCYE3bOs7j0TljA/SWXqhCU7rV7wWOFZCO099g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 244642616D for ; Thu, 14 Mar 2024 00:11:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkXkv-0007D9-K2; Wed, 13 Mar 2024 19:11:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkXkt-0007Ct-2P for bug-guix@gnu.org; Wed, 13 Mar 2024 19:11:27 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkXks-00072N-Pp for bug-guix@gnu.org; Wed, 13 Mar 2024 19:11:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkXlR-0003Ft-Po for bug-guix@gnu.org; Wed, 13 Mar 2024 19:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#69777: Please add a test for CVE-2024-27297 Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Mar 2024 23:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69777 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69777@debbugs.gnu.org Received: via spool by 69777-submit@debbugs.gnu.org id=B69777.171037146412436 (code B ref 69777); Wed, 13 Mar 2024 23:12:01 +0000 Received: (at 69777) by debbugs.gnu.org; 13 Mar 2024 23:11:04 +0000 Received: from localhost ([127.0.0.1]:47572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkXkW-0003EW-82 for submit@debbugs.gnu.org; Wed, 13 Mar 2024 19:11:04 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:56866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkXkT-0003Dy-PF for 69777@debbugs.gnu.org; Wed, 13 Mar 2024 19:11:02 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 2A7951AEE2 for <69777@debbugs.gnu.org>; Wed, 13 Mar 2024 16:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1710371417; bh=E4eonTI0qFZBSBGqsN6OhzpUgbkiW8s/5oNyVBSXTwQ=; h=From:To:Subject:In-Reply-To:References:Date:From; b=VbYlPxo5yR+5PsSivI5lywqh8hDTsfzjcKmNWuG0vx+1ts4/nbQTPaRNpLDZfB0vI MiKxRQoI1lbIUhivydpmgWF7wBTNLcu2utB1fEj5yyTKKMXMbFsd+bKxGprZZMGn03 Up9TlQga0vezYm4pa4SzLSyTOCugpsrsuKE2+Y+DYW0v6CkIf+4MbNe2rhjL1Arf1Q MraiL76N932nU+RFP8NuBxGuQFVKmInefDU1E8b6OYC0fiAQTfxrUIql1dZTgOqxhu u1fetbDOFi7/pwSGpkJlU9tPO/arHeKmaLU4faNkQlE2FMR6ddGSuRXPKP5Urrh90m KfbdaVgnv0FVQ== From: Vagrant Cascadian In-Reply-To: <874jda6tgf.fsf@wireframe> References: <874jda6tgf.fsf@wireframe> Date: Wed, 13 Mar 2024 16:10:13 -0700 Message-ID: <87wmq5684q.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.90 X-Spam-Score: -3.90 X-Migadu-Queue-Id: 244642616D X-TUID: tkJYPsjBuRtK --=-=-= Content-Type: text/plain On 2024-03-13, Vagrant Cascadian wrote: > It would be really nice, especially for downstream distributors, if > there was a test for CVE-2024-27297. > > There is working code to test this in the excellent blog post on the > subject, which is a likely good starting point! > > https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-cve-2024-27297/ > > Super extra bonus points if the test is backwards compatible with guix > 1.4 and 1.2 :) FWIW, the reproducer from the blog is not working for me with guix 1.2: guix build -f guix-cve-2024-27297 -M4 /home/vagrant/guix-cve-2024-27297:20:7: warning: importing module (guix config) from the host /home/vagrant/guix-cve-2024-27297:20:7: warning: importing module (guix config) from the host substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivations will be built: /gnu/store/dirlf6m5kb6by220qivwj10r677ylb39-checking-for-vulnerability.drv /gnu/store/90ysjngcdr0z5mcxprryxpp2413mly8z-derivation-that-exfiltrates-fd-65f22e2a-11731.drv /gnu/store/ndny5r3l0s2vq1nal4raskl9pb0badc3-sender.drv /gnu/store/m1ln7m49qrd5jbg0rhjwgb3p5v4iqv1p-derivation-that-grabs-fd-65f22e2a-11731.drv /gnu/store/n7zss6k3999bm566n6xwqgc5672mw5yr-receiver.drv building /gnu/store/n7zss6k3999bm566n6xwqgc5672mw5yr-receiver.drv... building /gnu/store/ndny5r3l0s2vq1nal4raskl9pb0badc3-sender.drv... Backtrace: 4 (primitive-load "/gnu/store/2vg1l5pb6jgbrg3iivzj01gl0n8?") In ice-9/eval.scm: 619:8 3 (_ #f) 191:27 2 (_ #f) 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . load-profile) #) ERROR: In procedure %resolve-variable: Unbound variable: load-profile Backtrace: 4 (primitive-load "/gnu/store/c4a9kl1p4xs8fmw2w5smaim04cy?") In ice-9/eval.scm: 619:8 3 (_ #f) 191:27 2 (_ #f) 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . load-profile) #) ERROR: In procedure %resolve-variable: Unbound variable: load-profile builder for `/gnu/store/ndny5r3l0s2vq1nal4raskl9pb0badc3-sender.drv' failed with exit code 1 build of /gnu/store/ndny5r3l0s2vq1nal4raskl9pb0badc3-sender.drv failed View build log at '/var/log/guix/drvs/nd/ny5r3l0s2vq1nal4raskl9pb0badc3-sender.drv.bz2'. cannot build derivation `/gnu/store/90ysjngcdr0z5mcxprryxpp2413mly8z-derivation-that-exfiltrates-fd-65f22e2a-11731.drv': 1 dependenc ies couldn't be built cannot build derivation `/gnu/store/dirlf6m5kb6by220qivwj10r677ylb39-checking-for-vulnerability.drv': 1 dependencies couldn't be bui lt guix build: error: build of `/gnu/store/dirlf6m5kb6by220qivwj10r677ylb39-checking-for-vulnerability.drv' failed I guess I can try "guix pull" to something current to run it... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZfIyVQAKCRDcUY/If5cW qlQaAP4hjIHnpcAX4DB5rwP/LOX8ISe2eN8dUI7s7eWV0JqkiwD9GEM2br1A2E0s sH2MwuNyrhRkYpPJEjUeDa1pDJ+4GA4= =RuLg -----END PGP SIGNATURE----- --=-=-=--