Vulnerability · Published Dec 21, 2023 · Assigned by redhat
CVE-2023-4255W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)
Medium 5.5
In plain English
A medium-severity out-of-bounds write in Extra Packages for Enterprise Linux from Fedora. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An out-of-bounds write issue has been discovered in the backspace handling of the checkType() function in etc.c within the W3M application. This vulnerability is triggered by supplying a specially crafted HTML file to the w3m binary. Exploitation of this flaw could lead to application crashes, resulting in a denial of service condition.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | w3m | no fix listed | DEBIAN-CVE-2023-4255 |
| Debian:13 | w3m | 0.5.3+git20230121-2.1 | DEBIAN-CVE-2023-4255 |
| Debian:14 | w3m | 0.5.3+git20230121-2.1 | DEBIAN-CVE-2023-4255 |
| Ubuntu:22.04:LTS | w3m | 0.5.3+git20210102-6ubuntu0.2 | USN-6580-1 |
| Ubuntu:22.04:LTS | w3m | 0.5.3+git20210102-6ubuntu0.2 | UBUNTU-CVE-2023-4255 |
| Ubuntu:24.04:LTS | w3m | 0.5.3+git20230121-2ubuntu1 | UBUNTU-CVE-2023-4255 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- RHBZ#2255207 issue-tracking, x_refsource_REDHAT
- https://github.com/tats/w3m/commit/edc602651c506aeeb60544b55534dd1722a340d3
- https://github.com/tats/w3m/issues/268
- https://github.com/tats/w3m/pull/273
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/