From nobody Tue Oct 18 18:13:46 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MsMSB6wxcz4f72f; Tue, 18 Oct 2022 18:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MsMSB6Ql3z3fv2; Tue, 18 Oct 2022 18:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666116826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YbmULh3lRwi66N42w+D+ICEjj6p5KomzAx+2YZimMtE=; b=CHSGTILME6W5QBKXP6sInPyPSECEIOI1cAjD3vzdCOqObYXinqQ94e+QLDFpaSu6kSlvGw 1cLhE6QBwqgZcQK+Xh36spp2VUAQWusRtGR+HwgX/obQSTyRdXABfDBotMrq/SzaPEDeNY udXgwwu81mzLlSFYOFrwhgHYeytckV0ZMGu0mvymcvlF+VBrqZltKKzf0yYQsfBN7IyYcK zik/ACEW+r/uEDaoqlzZiiPllyel4mDZOBButVUjtn3hQ8T2nvyasYprZN1VdAN017pd+i MEh9Zvf/Sh2t0aoDHwjHE6vpgYQdxd75mdsml7L70S9jGG7GAcg8uKPaf+7tpg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MsMSB57klzGF8; Tue, 18 Oct 2022 18:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29IIDkO4003383; Tue, 18 Oct 2022 18:13:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29IIDkmS003382; Tue, 18 Oct 2022 18:13:46 GMT (envelope-from git) Date: Tue, 18 Oct 2022 18:13:46 GMT Message-Id: <202210181813.29IIDkmS003382@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 6d220756feb8 - main - security/vuxml: Document git vulnerabilities List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6d220756feb8319009aaf7277bd8f2aad4e47414 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666116826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YbmULh3lRwi66N42w+D+ICEjj6p5KomzAx+2YZimMtE=; b=BvF7ZgzL+n2HkGMQ5K6Thg10yjz8rYdihDGeMh02iXBv5siQHlg+XROsPHz4j2HP/w2fkX +GJhu7HVZhXvjR5B9woKAIGJcRc1uoJypvLAlCPWrWiMgeCvZ5RrY4LlD05BLOcOKH35l5 KMtozrj9oxJxml7llNMKdedKgd1m9T+D2uOSTmjH1X6Xp6vqgbKNtGyZBIRtPqrsZPlYhW wA9R7OYgH/K+D7Ph5S+D0Nifp896Xo3uleQG0tYNpn/LcI1MH5thKBvKofcksuqifxuT7O /0DqZg/lVl8QQ4WfeolpYhNkx5ndhKmSLP2Yscb1DV+0DswAy7FAn8rko0PMXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666116826; a=rsa-sha256; cv=none; b=CC5kW7cUUt58f8UMdIn033O+6HgydEcUfS3M5+DDQhdNeuS806gazNUyG/d+XA3xUD0qe7 SrI+QWZkUqbDrcT/JxmbnXKjyqdM5p4c83TrU/YmppntQqoZC4vwRMT/IeeAbtwThmfKJz 8yiQ//mE680Jgo/TgJFaEslhGmcN+XwUxSQ/z++06FHMlSZ6hc2Eted8JpVi4374o4hyYu gNefAEQBVwCTc4O0R3LNOFQXv/t0DO47uSbZiN/XYJ+dEd7Ize76OtUo9lwSE34H4hJcEx 32E7LfxSA6sZGGVTrs8go8kNi6lPnPP5ivwCdNeKMH/PdHvmZbiyYBDBN5xFuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d220756feb8319009aaf7277bd8f2aad4e47414 commit 6d220756feb8319009aaf7277bd8f2aad4e47414 Author: Renato Botelho AuthorDate: 2022-10-18 17:39:56 +0000 Commit: Renato Botelho CommitDate: 2022-10-18 18:13:21 +0000 security/vuxml: Document git vulnerabilities Document CVE-2022-39253 and CVE-2022-39260 Sponsored by: Rubicon Communications, LLC ("Netgate") --- security/vuxml/vuln-2022.xml | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml index 987363b8d8c0..67055630e7fe 100644 --- a/security/vuxml/vuln-2022.xml +++ b/security/vuxml/vuln-2022.xml @@ -1,3 +1,65 @@ + + git -- Multiple vulnerabilities + + + git + 2.38.1 + + + git-lite + 2.38.1 + + + git-tiny + 2.38.1 + + + + +

+
+

This release contains 2 security fixes:

+

CVE-2022-39253

+

+ When relying on the `--local` clone optimization, Git dereferences + symbolic links in the source repository before creating hardlinks + (or copies) of the dereferenced link in the destination repository. + This can lead to surprising behavior where arbitrary files are + present in a repository's `$GIT_DIR` when cloning from a malicious + repository. + + Git will no longer dereference symbolic links via the `--local` + clone mechanism, and will instead refuse to clone repositories that + have symbolic links present in the `$GIT_DIR/objects` directory. + + Additionally, the value of `protocol.file.allow` is changed to be + "user" by default. +

+

CVE-2022-39260

+

+ An overly-long command string given to `git shell` can result in + overflow in `split_cmdline()`, leading to arbitrary heap writes and + remote code execution when `git shell` is exposed and the directory + `$HOME/git-shell-commands` exists. + + `git shell` is taught to refuse interactive commands that are + longer than 4MiB in size. `split_cmdline()` is hardened to reject + inputs larger than 2GiB. +

+
+ +
+ + CVE-2022-39253 + CVE-2022-39260 + https://lore.kernel.org/git/xmqq4jw1uku5.fsf@gitster.g/T/#u + + + 2022-06-09 + 2022-10-18 + +
+ OpenSSL -- Potential NULL encryption in NID_undef with Custom Cipher