Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp35160pxb; Tue, 12 Apr 2022 16:04:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzHMTTINbQrui8BXc9CpnR7/joekviVihXfD3nrEFNLBYTz0jYvOYMeCJzjaiSpSQBGiiE X-Received: by 2002:a63:4142:0:b0:39c:dd63:27a2 with SMTP id o63-20020a634142000000b0039cdd6327a2mr22147357pga.119.1649804664349; Tue, 12 Apr 2022 16:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649804664; cv=none; d=google.com; s=arc-20160816; b=L1XOtQetG2aV/YTPEsQfLMOYXwwcj9bi8QOHBHZb5+qOFtvSafGoe0NFLYhqzGYra9 +cRpVBr6NzMYgg+ihxQ/3h7bXNZe/CngdDX/uTPAy+P9v0xFMZRggLRDuahd+7B/fUzM 11rm48wE2wUUscmi5DEcSIycT46ak3kMnJ5rNOADDdJ3Gjc+jNcUuRrqjNUpLXbxWVua B32ewPldVqxDjGYWjqt/pVTWH8tx8oskLBpQexwBsUW+t0ldFdcfPSQlb0L5wlJOhjnb f41W37TQQUsYQD27bUuklKETpPVIg8rRURGjdjWBQWmuBNXTd/kPfjgQX4S6GEUFbeq1 Mp+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=z9NQi1ml/pNs6k8iFZmY0TUp/xSTyZP8LgV9/lOgFis=; b=E6NDVFlwG2YxU08Flq2J4UxEzEUvxNKtej0xju/Pj3zg+6WwyEyocloBBpl+95ScCT IWHObz2y5dlr22PGhAbv08PDkO87iuWQwex8nQPUS52OITGxYLjD6vdyHipwDun1KuZV YPgj6rIyt32fHmoLPeRJ7XIBcPCqeRCTBV75rvlOK2iA1pDPjTc8Ka6/2wcNzJNqf8l4 MIEiBJSk9yUP+RloheOT+PzE3AJ30t5sWwAdW07krwIHGpOU+kShKu5eYk7AnO3qhG3m hIZIYl42/PfJPEr0B6O6XAFJEfXdzCOGFcKTSkukDw5ggiYTDn4u3khM4tJAgGnnHoxt xrow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ibbIomvT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s25-20020a056a00179900b0050594974188si13085624pfg.277.2022.04.12.16.04.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ibbIomvT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 436CA1EC607; Tue, 12 Apr 2022 14:46:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357242AbiDLSHz (ORCPT + 99 others); Tue, 12 Apr 2022 14:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358606AbiDLSHh (ORCPT ); Tue, 12 Apr 2022 14:07:37 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9C41A073; Tue, 12 Apr 2022 11:05:19 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id g20so23316907edw.6; Tue, 12 Apr 2022 11:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=z9NQi1ml/pNs6k8iFZmY0TUp/xSTyZP8LgV9/lOgFis=; b=ibbIomvT/EBEch/llY78xJmulZ6hYp7HHP+xatYlWvfOAVZaMu1EhWY8jc0lv4Jh4g GymFM0rd62Sn4GwW1d00Z62p2GB+vvAzB9Mq6tuLl/a2YImSPXlmnILZ0U/0+tsGX2C4 0ry5snn1VT9Ppa7YQuZ4cFMx2hcC4f8GOZ6s/P5NzUsp1Q33Zfohn1sVO3FPr2GEOgeb hKHHSJOSooTO+QD883W6AEWaphQF+c4/tNqemtsf/2E9ThCJ7brKloKqE/D4qyKs+t9u uwieWr2UPUwEG9X7EJ5iRD9bAZNpMl2iFqmatRoiTS4+94TWeFKiLbpEfFcQ5AcKykJQ DuJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=z9NQi1ml/pNs6k8iFZmY0TUp/xSTyZP8LgV9/lOgFis=; b=dahcl3BvYRChPl5PnNu5lEH2kE8sKypAMhxw3t3dEMuZAdKSW2b48G0M1aJSzm7s90 Qr4meI/mVXXOHZnXPDcEtQclQE3WAgJHA22SKkLVxXCwtG8AGEvYIdevlFqP1Cpw4+PD vprXDql4ZSQ7uxuZ7o6/SEWpKf2/Yxj+Fvj+r5NFRPwqesYdhZNmGaOspBezLlbYt2JT tJ7DvqHESofP78m2GgQuKP2TGppG5faM0tB27r/9AGt1KJhpxbLujNS76FlL7AnI2MsL //m+ToM5sxRsSp7vSVaLYT2HYvDsS4AEGp6bpfdEmSXM9WmxJ4mz6bbzcNXBlTAXBkPW 2yzw== X-Gm-Message-State: AOAM533P2ik9A7sTIu8gX+YfOhXyc/GpAA5OJGiVT5hoZz/d1Itn5JQT 76Hh3QYSEb9i+OTfNEoZqKI= X-Received: by 2002:a05:6402:644:b0:41d:77bb:d36d with SMTP id u4-20020a056402064400b0041d77bbd36dmr13842082edx.381.1649786717735; Tue, 12 Apr 2022 11:05:17 -0700 (PDT) Received: from szeder.dev (62-165-238-123.pool.digikabel.hu. [62.165.238.123]) by smtp.gmail.com with ESMTPSA id bn3-20020a170906c0c300b006e50416e24bsm12673650ejb.98.2022.04.12.11.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 11:05:17 -0700 (PDT) Date: Tue, 12 Apr 2022 20:05:10 +0200 From: SZEDER =?utf-8?B?R8OhYm9y?= To: Junio C Hamano Cc: git@vger.kernel.org, Linux Kernel , git-packagers@googlegroups.com Subject: Re: [ANNOUNCE] Git v2.35.2 and below for CVE-2022-24765 Message-ID: <20220412180510.GA2173@szeder.dev> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 12, 2022 at 10:01:21AM -0700, Junio C Hamano wrote: > The latest maintenance release Git v2.35.2, together with releases > for older maintenance tracks v2.30.3, v2.31.2, v2.32.1, v2.33.2, and > v2.34.2, are now available at the usual places. > > These maintenance releases are to address the security issues > described in CVE-2022-24765. Please update at your earliest > opportunity. > > The tarballs are found at: > > https://www.kernel.org/pub/software/scm/git/ > > The following public repositories all have a copy of the 'v2.35.2', > 'v2.34.2', 'v2.33.2', 'v2.32.1', 'v2.31.2', and 'v2.30.3' tags. > > url = https://git.kernel.org/pub/scm/git/git > url = https://kernel.googlesource.com/pub/scm/git/git > url = https://github.com/gitster/git > > CVE-2022-24765: > On multi-user machines, Git users might find themselves > unexpectedly in a Git worktree, e.g. when another user created a > repository in `C:\.git`, in a mounted network drive or in a > scratch space. Merely having a Git-aware prompt that runs `git > status` (or `git diff`) and navigating to a directory which is > supposedly not a Git worktree, or opening such a directory in an > editor or IDE such as VS Code or Atom, will potentially run > commands defined by that other user. > > Credit for finding this vulnerability goes to 俞晨东; the fix was > authored by Johannes Schindelin. This fix causes trouble when attempting to 'sudo make install' any non-tagged Git revision: $ git checkout v2.36.0-rc2 HEAD is now at 11cfe55261 Git 2.36-rc2 $ git commit --allow-empty -m foo [detached HEAD 237ee2a6ef] foo $ make GIT_VERSION = 2.36.0.rc2.1.g237ee2a6ef [...] $ sudo make install GIT_VERSION = 2.36.0-rc2 CC version.o