Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I have hardly ever known a mathematician who was capable of reasoning. -- Plato


computers / comp.sys.tandem / ITUGLIB Update: Git 2.39.1

SubjectAuthor
o ITUGLIB Update: Git 2.39.1Randall

1
ITUGLIB Update: Git 2.39.1

<08340b4d-83ef-452a-b851-fb2b8b1f3dc5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=582&group=comp.sys.tandem#582

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a0c:ec92:0:b0:534:7a8a:535d with SMTP id u18-20020a0cec92000000b005347a8a535dmr374035qvo.103.1674075937865;
Wed, 18 Jan 2023 13:05:37 -0800 (PST)
X-Received: by 2002:a05:6902:140d:b0:7ce:87e5:e87a with SMTP id
z13-20020a056902140d00b007ce87e5e87amr835926ybu.40.1674075937652; Wed, 18 Jan
2023 13:05:37 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Wed, 18 Jan 2023 13:05:37 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3f9d:3b00:9414:fc2a:c90f:4118;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3f9d:3b00:9414:fc2a:c90f:4118
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <08340b4d-83ef-452a-b851-fb2b8b1f3dc5n@googlegroups.com>
Subject: ITUGLIB Update: Git 2.39.1
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Wed, 18 Jan 2023 21:05:37 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 50
 by: Randall - Wed, 18 Jan 2023 21:05 UTC

Hi All,

Git 2.39.1 is now available in the usual spots and usual builds. This release fixes two CVEs discussed below:

CVE-2022-41903:

git log has the ability to display commits using an arbitrary
format with its --format specifiers. This functionality is also
exposed to git archive via the export-subst gitattribute.

When processing the padding operators (e.g., %<(, %<|(, %>(,
%>>(, or %><( ), an integer overflow can occur in
pretty.c::format_and_pad_commit() where a size_t is improperly
stored as an int, and then added as an offset to a subsequent
memcpy() call.

This overflow can be triggered directly by a user running a
command which invokes the commit formatting machinery (e.g., git
log --format=...). It may also be triggered indirectly through
git archive via the export-subst mechanism, which expands format
specifiers inside of files within the repository during a git
archive.

This integer overflow can result in arbitrary heap writes, which
may result in remote code execution.

CVE-2022-23521:

gitattributes are a mechanism to allow defining attributes for
paths. These attributes can be defined by adding a .gitattributes
file to the repository, which contains a set of file patterns and
the attributes that should be set for paths matching this pattern.

When parsing gitattributes, multiple integer overflows can occur
when there is a huge number of path patterns, a huge number of
attributes for a single pattern, or when the declared attribute
names are huge.

These overflows can be triggered via a crafted .gitattributes file
that may be part of the commit history. Git silently splits lines
longer than 2KB when parsing gitattributes from a file, but not when
parsing them from the index. Consequentially, the failure mode
depends on whether the file exists in the working tree, the index or
both.

This integer overflow can result in arbitrary heap reads and writes,
which may result in remote code execution.

Regards,
Randall Becker
On Behalf the ITUGLIB Technical Committee

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor