CVEfocus › CVE database › CVE-2018-20483

CVE-2018-20483

CVSS 7.8 HighEPSS 0.7% (higher than 52% of CVEs)Published 2018-12-26Updated 2024-08-05Assigner: mitre

set_file_metadata in xattr.c in GNU Wget before 1.20.1 stores a file's origin URL in the user.xdg.origin.url metadata attribute of the extended attributes of the downloaded file, which allows local users to obtain sensitive information (e.g., credentials contained in the URL) by reading this attribute, as demonstrated by getfattr. This also applies to Referer information in the user.xdg.referrer.url metadata attribute. According to 2016-07-22 in the Wget ChangeLog, user.xdg.origin.url was partially based on the behavior of fwrite_xattr in tool_xattr.c in curl.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, 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

27Fixed
3Will not fix
9Not 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 18.04wgetFixed1.19.4-1ubuntu2.2UBUNTU-CVE-2018-20483
Ubuntu 16.04wgetNot affected
vulnerable_code_not_present
Debian 14wgetFixed1.20.1-1DEBIAN-CVE-2018-20483
Debian 13wgetFixed1.20.1-1DEBIAN-CVE-2018-20483
Debian 12wgetFixed1.20.1-1DEBIAN-CVE-2018-20483
Red Hat Enterprise Linux 8curlFixed0:7.61.1-11.el8RHSA-2019:3701
Red Hat Enterprise Linux 8libcurlFixed0:7.61.1-11.el8RHSA-2019:3701
Red Hat Enterprise Linux 8libcurl-develFixed0:7.61.1-11.el8RHSA-2019:3701
Red Hat Enterprise Linux 8libcurl-minimalFixed0:7.61.1-11.el8RHSA-2019:3701
Red Hat Enterprise Linux 8wgetNot affected
Red Hat Enterprise Linux 7curlWill not fix
Will not fix
Red Hat Enterprise Linux 7libcurlWill not fix
Will not fix
Red Hat Enterprise Linux 7libcurl-develWill not fix
Will not fix
Red Hat Enterprise Linux 7wgetNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 6libcurlNot affected
Red Hat Enterprise Linux 6libcurl-develNot affected
Red Hat Enterprise Linux 6wgetNot affected
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 5wgetNot affected
Alpine Linux 3.24wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.23wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.22wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.21wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.20wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.19wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.18wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.17wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.16wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.15wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.14wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.13wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.12wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.11wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.10wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.9wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.8wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.7wgetFixed1.20.1-r0ALPINE-CVE-2018-20483
Alpine Linux 3.6wgetFixed1.20.1-r0ALPINE-CVE-2018-20483

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.