Out-of-bounds write in w3m - CVE-2022-38223
Published: January 10, 2023 / Updated: November 18, 2023
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted HTML input within the checkType() function in etc.c. A remote attacker can create a specially crafted HTML file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
openSUSE Leap
w3m (Ubuntu package)
w3m-debugsource
w3m-debuginfo
w3m
w3m-inline-image
w3m-inline-image-debuginfo
How to mitigate CVE-2022-38223
w3m-debugsource - addressed in versions 0.5.3.git20161120-161.6.1, 0.5.3+git20180125-150000.3.3.1
w3m-debuginfo - addressed in versions 0.5.3.git20161120-161.6.1, 0.5.3+git20180125-150000.3.3.1
w3m - addressed in versions 0.5.3.git20161120-161.6.1, 0.5.3+git20180125-150000.3.3.1
w3m-inline-image - update to 0.5.3+git20180125-150000.3.3.1
w3m-inline-image-debuginfo - update to 0.5.3+git20180125-150000.3.3.1
w3m - addressed in versions 0.5.3-58.git20220429.el7, 0.5.3-58.git20220429.el8, 0.5.3-58.git20220429.el9, 0.5.3-58.git20220429.fc36, 0.5.3-58.git20220429.fc37, 0.5.3-63.git20230121.el7, 0.5.3-63.git20230121.el8, 0.5.3-63.git20230121.el9, 0.5.3-63.git20230121.fc38, 0.5.3-63.git20230121.fc39, 0.5.3-63.git20230121.fc40
External References
Related Security Bulletins
- Remote code execution in w3m
- Ubuntu update for w3m
- Ubuntu update for w3m
- SUSE update for w3m
- SUSE update for w3m
- Multiple vulnerabilities in Dell Data Protection Central
- Fedora 39 update for w3m
- Fedora 40 update for w3m
- Fedora 38 update for w3m
- Fedora EPEL 8 update for w3m
- Fedora EPEL 9 update for w3m
- Fedora EPEL 7 update for w3m
- Fedora 37 update for w3m
- Fedora 36 update for w3m
- Fedora EPEL 7 update for w3m
- Fedora EPEL 9 update for w3m
- Fedora EPEL 8 update for w3m