A git-lfs security and bug fix update has been released for Red Hat Enterprise Linux 8.
RHSA-2022:7129-01: Moderate: git-lfs security and bug fix update
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: git-lfs security and bug fix update
Advisory ID: RHSA-2022:7129-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:7129
Issue date: 2022-10-25
CVE Names: CVE-2020-28851 CVE-2020-28852 CVE-2022-1705
CVE-2022-27664 CVE-2022-30630 CVE-2022-30632
CVE-2022-30635 CVE-2022-32148 CVE-2022-32189
=====================================================================
1. Summary:
An update for git-lfs is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.
2. Relevant releases/architectures:
Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64
3. Description:
Git Large File Storage (LFS) replaces large files such as audio samples,
videos, datasets, and graphics with text pointers inside Git, while storing
the file contents on a remote server.
Security Fix(es):
* golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing
- -u- extension (CVE-2020-28851)
* golang.org/x/text: Panic in language.ParseAcceptLanguage while processing
bcp47 tag (CVE-2020-28852)
* golang: net/http: improper sanitization of Transfer-Encoding header
(CVE-2022-1705)
* golang: net/http: handle server errors after sending GOAWAY
(CVE-2022-27664)
* golang: io/fs: stack exhaustion in Glob (CVE-2022-30630)
* golang: path/filepath: stack exhaustion in Glob (CVE-2022-30632)
* golang: encoding/gob: stack exhaustion in Decoder.Decode (CVE-2022-30635)
* golang: net/http/httputil: NewSingleHostReverseProxy - omit
X-Forwarded-For not working (CVE-2022-32148)
* golang: math/big: decoding big.Float and big.Rat types can panic if the
encoded message is too short, potentially allowing a denial of service
(CVE-2022-32189)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Bug Fix(es):
* git-lfs needs to be rebuild with golang 1.17.7-1 or above
4. Solution:
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
5. Bugs fixed ( https://bugzilla.redhat.com/):
1913333 - CVE-2020-28851 golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension
1913338 - CVE-2020-28852 golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag
2107371 - CVE-2022-30630 golang: io/fs: stack exhaustion in Glob
2107374 - CVE-2022-1705 golang: net/http: improper sanitization of Transfer-Encoding header
2107383 - CVE-2022-32148 golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working
2107386 - CVE-2022-30632 golang: path/filepath: stack exhaustion in Glob
2107388 - CVE-2022-30635 golang: encoding/gob: stack exhaustion in Decoder.Decode
2113814 - CVE-2022-32189 golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service
2124669 - CVE-2022-27664 golang: net/http: handle server errors after sending GOAWAY
6. Package List:
Red Hat Enterprise Linux AppStream (v. 8):
Source:
git-lfs-2.13.3-3.el8_6.src.rpm
aarch64:
git-lfs-2.13.3-3.el8_6.aarch64.rpm
git-lfs-debuginfo-2.13.3-3.el8_6.aarch64.rpm
git-lfs-debugsource-2.13.3-3.el8_6.aarch64.rpm
ppc64le:
git-lfs-2.13.3-3.el8_6.ppc64le.rpm
git-lfs-debuginfo-2.13.3-3.el8_6.ppc64le.rpm
git-lfs-debugsource-2.13.3-3.el8_6.ppc64le.rpm
s390x:
git-lfs-2.13.3-3.el8_6.s390x.rpm
git-lfs-debuginfo-2.13.3-3.el8_6.s390x.rpm
git-lfs-debugsource-2.13.3-3.el8_6.s390x.rpm
x86_64:
git-lfs-2.13.3-3.el8_6.x86_64.rpm
git-lfs-debuginfo-2.13.3-3.el8_6.x86_64.rpm
git-lfs-debugsource-2.13.3-3.el8_6.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
7. References:
https://access.redhat.com/security/cve/CVE-2020-28851
https://access.redhat.com/security/cve/CVE-2020-28852
https://access.redhat.com/security/cve/CVE-2022-1705
https://access.redhat.com/security/cve/CVE-2022-27664
https://access.redhat.com/security/cve/CVE-2022-30630
https://access.redhat.com/security/cve/CVE-2022-30632
https://access.redhat.com/security/cve/CVE-2022-30635
https://access.redhat.com/security/cve/CVE-2022-32148
https://access.redhat.com/security/cve/CVE-2022-32189
https://access.redhat.com/security/updates/classification/#moderate
8. Contact:
The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2022 Red Hat, Inc.