CVEfocus › CVE database › CVE-2018-6198

CVE-2018-6198

CVSS 4.7 MediumEPSS 0.4% (higher than 34% of CVEs)Published 2018-01-25Updated 2024-08-05Assigner: mitre

w3m through 0.5.3 does not properly handle temporary files when the ~/.w3m directory is unwritable, which allows a local attacker to craft a symlink attack to overwrite arbitrary files.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
3Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04w3mFixed0.5.3-26ubuntu0.2UBUNTU-CVE-2018-6198
Ubuntu 14.04w3mFixed0.5.3-15ubuntu0.2UBUNTU-CVE-2018-6198
Debian 14w3mFixed0.5.3-36DEBIAN-CVE-2018-6198
Debian 13w3mFixed0.5.3-36DEBIAN-CVE-2018-6198
Debian 12w3mFixed0.5.3-36DEBIAN-CVE-2018-6198
Red Hat Enterprise Linux 8w3mNot affected
Red Hat Enterprise Linux 8w3m-imgNot affected
Red Hat Enterprise Linux 6w3mWill not fix
Will not fix
Red Hat Enterprise Linux 6w3m-imgWill not fix
Will not fix
Red Hat Enterprise Linux 5w3mWill not fix
Will not fix
Alpine Linux 3.24w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2018-6198
Alpine Linux 3.23w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2018-6198
Alpine Linux 3.22w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2018-6198
Alpine Linux 3.21w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.20w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.19w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.18w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.17w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.16w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.15w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.14w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.13w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.12w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.11w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.10w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.9w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpine Linux 3.8w3mFixed0.5.3.20180125-r0ALPINE-CVE-2018-6198

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.