git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Christoph Anton Mitterer <calestyo@scientia.org>
Cc: git@vger.kernel.org
Subject: Re: status on security of embedded repos?
Date: Mon, 5 Sep 2022 12:21:17 +0200 (CEST)	[thread overview]
Message-ID: <6sq30r84-1s65-91n4-5qoq-23s9q433sno1@tzk.qr> (raw)
In-Reply-To: <4e9ad5486e8a887f1e92cc4e401ca61be5f2bb9a.camel@scientia.org>

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

Hi Chris,

On Sat, 3 Sep 2022, Christoph Anton Mitterer wrote:

> A while ago there was this discussion about security issues with
> respect to bare repos embedded in another repo[0][1].
>
>
> I just wondered what's the status on this? Was that fixed in a way that
> one can clone untrusted repos and navigate / use git commands within
> them, without any risk… or is it still open?
>
> Saw proposed patches like:
> https://lore.kernel.org/git/pull.1261.git.git.1651861810633.gitgitgadget@gmail.com/#r

As you can see at the corresponding Pull Request, the patch series has
been accepted:
https://github.com/git/git/pull/1261#issuecomment-1193004345

If you follow the link to the commit
(https://github.com/git/git/commit/18bbc795fc52), you will see that it is
not yet in any official tagged version (otherwise you would see the list
of tags below the branch name).

This means that it will be part of the next release.

The current timeline for that release can be seen at
https://tinyurl.com/gitcal, the projected date for Git v2.38.0 is October
3rd, 2022.

Note: The default will still be at `safe.bareRepository = all`. I foresee
myself setting this to `explicit` via my user-wide configuration.
Potentially a future Git version will add deprecation warnings and an even
more distant Git version might switch the default. This is still up for
discussion, I believe.

Ciao,
Johannes

  reply	other threads:[~2022-09-05 10:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-03 18:48 status on security of embedded repos? Christoph Anton Mitterer
2022-09-05 10:21 ` Johannes Schindelin [this message]
2022-09-05 13:22   ` Christoph Anton Mitterer
2022-09-06 13:56     ` Johannes Schindelin
2022-09-07 14:05       ` Christoph Anton Mitterer
2022-09-08 16:56         ` Glen Choo
2022-09-09  0:05           ` Christoph Anton Mitterer
2022-09-09 18:26             ` Christoph Anton Mitterer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6sq30r84-1s65-91n4-5qoq-23s9q433sno1@tzk.qr \
    --to=johannes.schindelin@gmx.de \
    --cc=calestyo@scientia.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).