-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: vim security update
Advisory ID:       RHSA-2022:5942-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2022:5942
Issue date:        2022-08-09
CVE Names:         CVE-2022-1785 CVE-2022-1897 CVE-2022-1927 
====================================================================
1. Summary:

An update for vim is now available for Red Hat Enterprise Linux 9.

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. 9) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 9) - aarch64, noarch, ppc64le, s390x, x86_64

3. Description:

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

* vim: Out-of-bounds Write (CVE-2022-1785)

* vim: out-of-bounds write in vim_regsub_both() in regexp.c (CVE-2022-1897)

* vim: buffer over-read in utf_ptr2char() in mbyte.c (CVE-2022-1927)

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.

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/):

2088689 - CVE-2022-1785 vim: Out-of-bounds Write
2091682 - CVE-2022-1897 vim: out-of-bounds write in vim_regsub_both() in regexp.c
2091687 - CVE-2022-1927 vim: buffer over-read in utf_ptr2char() in mbyte.c

6. Package List:

Red Hat Enterprise Linux AppStream (v. 9):

aarch64:
vim-X11-8.2.2637-16.el9_0.3.aarch64.rpm
vim-X11-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-common-8.2.2637-16.el9_0.3.aarch64.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-debugsource-8.2.2637-16.el9_0.3.aarch64.rpm
vim-enhanced-8.2.2637-16.el9_0.3.aarch64.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm

ppc64le:
vim-X11-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-X11-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-common-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-debugsource-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-enhanced-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm

s390x:
vim-X11-8.2.2637-16.el9_0.3.s390x.rpm
vim-X11-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-common-8.2.2637-16.el9_0.3.s390x.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-debugsource-8.2.2637-16.el9_0.3.s390x.rpm
vim-enhanced-8.2.2637-16.el9_0.3.s390x.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm

x86_64:
vim-X11-8.2.2637-16.el9_0.3.x86_64.rpm
vim-X11-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-common-8.2.2637-16.el9_0.3.x86_64.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-debugsource-8.2.2637-16.el9_0.3.x86_64.rpm
vim-enhanced-8.2.2637-16.el9_0.3.x86_64.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm

Red Hat Enterprise Linux BaseOS (v. 9):

Source:
vim-8.2.2637-16.el9_0.3.src.rpm

aarch64:
vim-X11-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-debugsource-8.2.2637-16.el9_0.3.aarch64.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
vim-minimal-8.2.2637-16.el9_0.3.aarch64.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm

noarch:
vim-filesystem-8.2.2637-16.el9_0.3.noarch.rpm

ppc64le:
vim-X11-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-debugsource-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-minimal-8.2.2637-16.el9_0.3.ppc64le.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm

s390x:
vim-X11-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-debugsource-8.2.2637-16.el9_0.3.s390x.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
vim-minimal-8.2.2637-16.el9_0.3.s390x.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm

x86_64:
vim-X11-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-common-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-debugsource-8.2.2637-16.el9_0.3.x86_64.rpm
vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
vim-minimal-8.2.2637-16.el9_0.3.x86_64.rpm
vim-minimal-debuginfo-8.2.2637-16.el9_0.3.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-2022-1785
https://access.redhat.com/security/cve/CVE-2022-1897
https://access.redhat.com/security/cve/CVE-2022-1927
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYvJNr9zjgjWX9erEAQjLgw/+OtEJFDQO7JHUUWqEmBqxIGOGON+2piKx
LmN9KS4Fdy0bavvaiZCeo602MNa/p0p1c6Iuski4QUsvoPRd0wrjPk0UUMz4WvjU
k2frY6Y4OhpMUcb8bk1qI5y0yFtGRCFvIQyx6eVXuFtb6ej+fdKBYM2GNWPQOhk2
q86ktSOTtIi0MKMdyFvD1sWfx5V2dt93jVxbKrJpAbsTRUCRkAQZfL2sta6pjZAV
3pyzNFHHZMTBy8Dk49PTnirj9MQSNIdXrm27sB66CifDTHDCPuwxNX4vWuaEXEjv
Y712zTyf+lddA7EIhSFgYHLeGpQPH9FNnn9XDYilW33dsP8FwDCjE+pT0UVihkHk
XmXAxVO1MQKv4srYiNGjU84hNatPf680TqOEZJHqMpizwrgVtKrwmV9VqpwSQrEu
3spHsMuqWMZ9WSxAGxOqztyb3rjFZ05Y/is8bTsNO80dlvYmArOdcjMcC6IBNY5R
qZfU+n7ClbVnBhTn2qcgdXjGlVA52Mbje7jfbrscpeD9O79Fka/WXORzTfpANQqc
3+oIHr74hGvwjflg4sHa/BACXrzF1U/sOF1R7yUxRTpeMWC9gSPWGlYi6i/aSRod
mofA+KTr93oIPGyjQdfHR8DVizw4FbMxx9CTK39H2mbTAOPXfGIqX1AIrecFNxsF
XA6TyKnuYIE=8GVy
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://listman.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2022-5942:01 Moderate: vim security update

An update for vim is now available for Red Hat Enterprise Linux 9

Summary

Vim (Vi IMproved) is an updated and improved version of the vi editor.
Security Fix(es):
* vim: Out-of-bounds Write (CVE-2022-1785)
* vim: out-of-bounds write in vim_regsub_both() in regexp.c (CVE-2022-1897)
* vim: buffer over-read in utf_ptr2char() in mbyte.c (CVE-2022-1927)
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.



Summary


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

References

https://access.redhat.com/security/cve/CVE-2022-1785 https://access.redhat.com/security/cve/CVE-2022-1897 https://access.redhat.com/security/cve/CVE-2022-1927 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux AppStream (v. 9):
aarch64: vim-X11-8.2.2637-16.el9_0.3.aarch64.rpm vim-X11-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-common-8.2.2637-16.el9_0.3.aarch64.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-debugsource-8.2.2637-16.el9_0.3.aarch64.rpm vim-enhanced-8.2.2637-16.el9_0.3.aarch64.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
ppc64le: vim-X11-8.2.2637-16.el9_0.3.ppc64le.rpm vim-X11-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-common-8.2.2637-16.el9_0.3.ppc64le.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-debugsource-8.2.2637-16.el9_0.3.ppc64le.rpm vim-enhanced-8.2.2637-16.el9_0.3.ppc64le.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
s390x: vim-X11-8.2.2637-16.el9_0.3.s390x.rpm vim-X11-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-common-8.2.2637-16.el9_0.3.s390x.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-debugsource-8.2.2637-16.el9_0.3.s390x.rpm vim-enhanced-8.2.2637-16.el9_0.3.s390x.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
x86_64: vim-X11-8.2.2637-16.el9_0.3.x86_64.rpm vim-X11-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-common-8.2.2637-16.el9_0.3.x86_64.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-debugsource-8.2.2637-16.el9_0.3.x86_64.rpm vim-enhanced-8.2.2637-16.el9_0.3.x86_64.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm
Red Hat Enterprise Linux BaseOS (v. 9):
Source: vim-8.2.2637-16.el9_0.3.src.rpm
aarch64: vim-X11-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-debugsource-8.2.2637-16.el9_0.3.aarch64.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm vim-minimal-8.2.2637-16.el9_0.3.aarch64.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.aarch64.rpm
noarch: vim-filesystem-8.2.2637-16.el9_0.3.noarch.rpm
ppc64le: vim-X11-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-debugsource-8.2.2637-16.el9_0.3.ppc64le.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm vim-minimal-8.2.2637-16.el9_0.3.ppc64le.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.ppc64le.rpm
s390x: vim-X11-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-debugsource-8.2.2637-16.el9_0.3.s390x.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm vim-minimal-8.2.2637-16.el9_0.3.s390x.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.s390x.rpm
x86_64: vim-X11-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-common-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-debugsource-8.2.2637-16.el9_0.3.x86_64.rpm vim-enhanced-debuginfo-8.2.2637-16.el9_0.3.x86_64.rpm vim-minimal-8.2.2637-16.el9_0.3.x86_64.rpm vim-minimal-debuginfo-8.2.2637-16.el9_0.3.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/


Severity
Advisory ID: RHSA-2022:5942-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:5942
Issued Date: : 2022-08-09
CVE Names: CVE-2022-1785 CVE-2022-1897 CVE-2022-1927

Topic

An update for vim is now available for Red Hat Enterprise Linux 9.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AppStream (v. 9) - aarch64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux BaseOS (v. 9) - aarch64, noarch, ppc64le, s390x, x86_64


Bugs Fixed

2088689 - CVE-2022-1785 vim: Out-of-bounds Write

2091682 - CVE-2022-1897 vim: out-of-bounds write in vim_regsub_both() in regexp.c

2091687 - CVE-2022-1927 vim: buffer over-read in utf_ptr2char() in mbyte.c


Related News