Bug 2048519 (CVE-2022-0413) - CVE-2022-0413 vim: Use after free in src/ex_cmds.c
Summary: CVE-2022-0413 vim: Use after free in src/ex_cmds.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0413
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2048520 2048525 2048526 2048527 2048730
Blocks: 2048522
TreeView+ depends on / blocked
 
Reported: 2022-01-31 12:35 UTC by Sandipan Roy
Modified: 2022-07-14 17:11 UTC (History)
16 users (show)

Fixed In Version: vim 8.2.4269
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to using freed memory when the substitute uses a recursive function call, resulting in a use-after-free vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Clone Of:
Environment:
Last Closed: 2022-03-15 16:31:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0894 0 None None None 2022-03-15 10:21:23 UTC

Comment 1 Sandipan Roy 2022-01-31 12:35:50 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2048520]

Comment 4 juneau 2022-01-31 17:53:00 UTC
Marking Services affected/delegated/low for presence of affected code.

In the vast majority of cases, the relevant package exists in a container image consumed by the service.
Recommend updating or replacing the container image (to update or remove the package) as appropriate.

Comment 7 errata-xmlrpc 2022-03-15 10:21:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:0894 https://access.redhat.com/errata/RHSA-2022:0894

Comment 8 Product Security DevOps Team 2022-03-15 16:31:24 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-0413


Note You need to log in before you can comment on or make changes to this bug.