Bug 1202684 (CVE-2022-38223)

Summary: VUL-0: CVE-2022-38223: w3m: Out-of-bounds write in checkType located in etc.c in w3m 0.5.3
Product: [Novell Products] SUSE Security Incidents Reporter: Hu <cathy.hu>
Component: IncidentsAssignee: Thomas Blume <thomas.blume>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: ismael.luceno, rfrohl, security-team, stoyan.manolov, thomas.blume
Version: unspecifiedFlags: stoyan.manolov: needinfo? (thomas.blume)
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/339845/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-38223:5.5:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hu 2022-08-24 09:47:03 UTC
CVE-2022-38223

There is an out-of-bounds write in checkType located in etc.c in w3m 0.5.3. It
can be triggered by sending a crafted HTML file to the w3m binary. It allows an
attacker to cause Denial of Service or possibly have unspecified other impact.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-38223
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38223
https://github.com/tats/w3m/issues/242
https://www.cve.org/CVERecord?id=CVE-2022-38223
Comment 1 Hu 2022-08-24 09:48:49 UTC
There is no upstream fix yet and upstream also could not reproduce the issue yet.
However, I am tracking the following as affected, so that we keep up with the updates there:
- SUSE:SLE-11-SP1:Update/w3m  0.5.3
- SUSE:SLE-12:Update/w3m      0.5.3
- openSUSE:Factory/w3m        0.5.3
Comment 9 Swamp Workflow Management 2023-01-11 14:20:44 UTC
SUSE-SU-2023:0066-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1202684
CVE References: CVE-2022-38223
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    w3m-0.5.3.git20161120-161.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 10 Swamp Workflow Management 2023-01-11 14:22:18 UTC
SUSE-SU-2023:0065-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1202684
CVE References: CVE-2022-38223
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    w3m-0.5.3+git20180125-150000.3.3.1
SUSE Linux Enterprise Realtime Extension 15-SP3 (src):    w3m-0.5.3+git20180125-150000.3.3.1
SUSE Linux Enterprise Module for Basesystem 15-SP4 (src):    w3m-0.5.3+git20180125-150000.3.3.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.