Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865249 (CVE-2022-38223) - <www-client/w3m-20230121: oob write
Summary: <www-client/w3m-20230121: oob write
Status: IN_PROGRESS
Alias: CVE-2022-38223
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/tats/w3m/issues/242
Whiteboard: B3 [glsa? cleanup]
Keywords: PullRequest
Depends on: 892950
Blocks:
  Show dependency tree
 
Reported: 2022-08-15 16:17 UTC by John Helmert III
Modified: 2023-02-20 19:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-15 16:17:26 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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-22 06:20:08 UTC
ping. Please backport https://github.com/tats/w3m/commit/419ca82d57c72242817b55e2eaa4cdbf6916e7fa.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-22 06:20:19 UTC
(In reply to Sam James from comment #1)
> ping. Please backport
> https://github.com/tats/w3m/commit/419ca82d57c72242817b55e2eaa4cdbf6916e7fa.

(or just take a new snapshot.)
Comment 3 NRK 2023-01-23 13:38:05 UTC
> (or just take a new snapshot.)

There was a new version realeased recently. I already have an ebuild working and tested but forgot to open the PR, will do so soon.
Comment 4 Larry the Git Cow gentoo-dev 2023-01-25 06:10:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4bbb7bddb9a2f1f8e0f1cfb90d96ee2b936f23

commit eb4bbb7bddb9a2f1f8e0f1cfb90d96ee2b936f23
Author:     Nickolas Raymond Kaczynski <nrk@disroot.org>
AuthorDate: 2023-01-23 14:16:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-25 06:10:34 +0000

    www-client/w3m: bump version to 20230121
    
    Bug: https://bugs.gentoo.org/865249
    Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
    Closes: https://github.com/gentoo/gentoo/pull/29229
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/w3m/Manifest                   |   1 +
 www-client/w3m/w3m-0.5.3_p20230121.ebuild | 134 ++++++++++++++++++++++++++++++
 2 files changed, 135 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-25 06:11:38 UTC
Please file a stable bug when ready & have it block this one. For sec bugs, we tend to be sooner than the normal 30 days unless an issue comes up.