Bug 1216167 (CVE-2023-5535) - VUL-0: CVE-2023-5535: vim: use-after-free from buf_contents_changed()
Summary: VUL-0: CVE-2023-5535: vim: use-after-free from buf_contents_changed()
Status: RESOLVED FIXED
Alias: CVE-2023-5535
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/381626/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-5535:7.8:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 09:48 UTC by SMASH SMASH
Modified: 2024-03-11 07:49 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2023-10-12 09:48:30 UTC
Use After Free in GitHub repository vim/vim prior to v9.0.2010.

Upstream commit:
https://github.com/vim/vim/commit/41e6f7d6ba67b61d911f9b1d76325cd79224753d

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-5535
Comment 2 Brahmajit Das 2023-11-13 10:23:56 UTC
@Zoltan

I've a L3 ticket for a 11-SP3 PTF with a fix for this CVE, I've backported the commit [1] from GitHub. Can you please approve the patch, so I can go ahead and supply the PTF to our customer.

Please find my work at https://build.suse.de/project/show/PTF:27138

[1]: https://github.com/vim/vim/commit/41e6f7d6ba67b61d911f9b1d76325cd79224753d
Comment 3 Zoltan Balogh 2023-11-22 11:58:52 UTC
It is really cool that the you managed to backport the fix without any problem. Good job. Luckily it is a really simple fix.
Comment 6 Maintenance Automation 2023-11-24 20:30:22 UTC
SUSE-SU-2023:4560-1: An update that solves four vulnerabilities can now be installed.

Category: security (important)
Bug References: 1215940, 1216001, 1216167, 1216696
CVE References: CVE-2023-46246, CVE-2023-5344, CVE-2023-5441, CVE-2023-5535
Sources used:
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): vim-9.0.2103-17.26.1
SUSE Linux Enterprise Server 12 SP5 (src): vim-9.0.2103-17.26.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): vim-9.0.2103-17.26.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-11-24 20:30:29 UTC
SUSE-SU-2023:4557-1: An update that solves 10 vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214922, 1214924, 1214925, 1215004, 1215006, 1215033, 1215940, 1216001, 1216167, 1216696
CVE References: CVE-2023-46246, CVE-2023-4733, CVE-2023-4734, CVE-2023-4735, CVE-2023-4738, CVE-2023-4752, CVE-2023-4781, CVE-2023-5344, CVE-2023-5441, CVE-2023-5535
Sources used:
openSUSE Leap 15.5 (src): vim-9.0.2103-150500.20.6.1
SUSE Linux Enterprise Micro 5.5 (src): vim-9.0.2103-150500.20.6.1
Basesystem Module 15-SP5 (src): vim-9.0.2103-150500.20.6.1
Desktop Applications Module 15-SP5 (src): vim-9.0.2103-150500.20.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2023-11-27 16:30:12 UTC
SUSE-SU-2023:4587-1: An update that solves four vulnerabilities can now be installed.

Category: security (important)
Bug References: 1215940, 1216001, 1216167, 1216696
CVE References: CVE-2023-46246, CVE-2023-5344, CVE-2023-5441, CVE-2023-5535
Sources used:
openSUSE Leap Micro 5.3 (src): vim-9.0.2103-150000.5.57.1
openSUSE Leap Micro 5.4 (src): vim-9.0.2103-150000.5.57.1
openSUSE Leap 15.4 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro 5.3 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro 5.4 (src): vim-9.0.2103-150000.5.57.1
Basesystem Module 15-SP4 (src): vim-9.0.2103-150000.5.57.1
Desktop Applications Module 15-SP4 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): vim-9.0.2103-150000.5.57.1
SUSE Enterprise Storage 7.1 (src): vim-9.0.2103-150000.5.57.1
SUSE CaaS Platform 4.0 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro 5.1 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro 5.2 (src): vim-9.0.2103-150000.5.57.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): vim-9.0.2103-150000.5.57.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.