Vulnerability · Published Jul 14, 2023 · Assigned by redhat
CVE-2023-38252W3m: out of bounds read in strnew_size() at w3m/str.c
Medium 4.7
In plain English
A medium-severity out-of-bounds read in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.4%top 70.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An out-of-bounds read flaw was found in w3m, in the Strnew_size function in Str.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | w3m | 0.5.3.20230718-r0 | ALPINE-CVE-2023-38252 |
| Alpine:v3.21 | w3m | 0.5.3.20230718-r0 | ALPINE-CVE-2023-38252 |
| Alpine:v3.22 | w3m | 0.5.3_git20241203-r0 | ALPINE-CVE-2023-38252 |
| Alpine:v3.23 | w3m | 0.5.3_git20241203-r0 | ALPINE-CVE-2023-38252 |
| Alpine:v3.24 | w3m | 0.5.3_git20241203-r0 | ALPINE-CVE-2023-38252 |
| Debian:12 | w3m | no fix listed | DEBIAN-CVE-2023-38252 |
| Debian:13 | w3m | no fix listed | DEBIAN-CVE-2023-38252 |
| Debian:14 | w3m | no fix listed | DEBIAN-CVE-2023-38252 |
| Ubuntu:22.04:LTS | w3m | 0.5.3+git20210102-6ubuntu0.2 | UBUNTU-CVE-2023-38252 |
| Ubuntu:24.04:LTS | w3m | 0.5.3+git20230121-2ubuntu1 | UBUNTU-CVE-2023-38252 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2023-38252 vdb-entry, x_refsource_REDHAT
- RHBZ#2222775 issue-tracking, x_refsource_REDHAT
- https://github.com/tats/w3m/issues/270
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/ x_transferred