Skip to content
OpenAdvisories
Unscored CVE-2018-20483 EUVD-2018-13037GHSA-mxm6-6r3r-6wj4

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 exte…

Published Dec 26, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wget 1.20.1-1 —
Debian 13 wget 1.20.1-1 —
Debian 12 wget 1.20.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS wget 1.19.4-1ubuntu2.2 USN-3943-1
Ubuntu 16.04 LTS wget 1.17.1-1ubuntu1.5 USN-3943-1
Ubuntu 14.04 LTS wget 1.15-1ubuntu1.14.04.5 USN-3943-1
ReleasePackageFixed inAdvisory
RHEL 8 curl +3 7.61.1-11.el8 RHSA-2019:3701
ReleasePackageFixed inAdvisory
SLES 15 wget 1.19.5-3.3.1 SUSE-SU-2019:0093-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed wget 1.21.1-2.2 openSUSE-SU-2024:11510-1
openSUSE Leap 15.0 wget 1.19.5-lp150.2.3.1 openSUSE-SU-2019:0057-1
ReleasePackageFixed inAdvisory
Alpine v3.24 wget 1.20.1-r0 —
Alpine v3.23 wget 1.20.1-r0 —
Alpine v3.22 wget 1.20.1-r0 —
Alpine v3.21 wget 1.20.1-r0 —
Alpine v3.20 wget 1.20.1-r0 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 wget 1.20.1-r0 —
Alpine v3.18 wget 1.20.1-r0 —
Alpine v3.17 wget 1.20.1-r0 —
Alpine v3.16 wget 1.20.1-r0 —
Alpine v3.15 wget 1.20.1-r0 —
Alpine v3.14 wget 1.20.1-r0 —
Alpine v3.13 wget 1.20.1-r0 —
Alpine v3.12 wget 1.20.1-r0 —
Alpine v3.11 wget 1.20.1-r0 —
Alpine v3.10 wget 1.20.1-r0 —
Alpine v3.9 wget 1.20.1-r0 —
Alpine v3.8 wget 1.20.1-r0 —
Alpine v3.7 wget 1.20.1-r0 —
Alpine v3.6 wget 1.20.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.61.1-9.amzn2.0.1 ALAS2-2019-1162

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 curl +3 7.61.1-11.el8 ELSA-2019-3701

Advisories 8

References