Vulnerabilities · 2017 · Freedesktop
CVE-2017-18266
Freedesktop Xdg-utils vulnerability
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.
Affected products
Xdg-utils, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Freedesktop Xdg-utils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.freedesktop.org/show_bug.cgi?id=103807 · Patch
- cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb · Patch
- lists.debian.org/debian-lts-announce/2018/05/msg00014.html · Third Party Advisory
- usn.ubuntu.com/3650-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4211 · Third Party Advisory
- cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2
- cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog
- nvd.nist.gov/vuln/detail/CVE-2017-18266
- cve.org/CVERecord?id=CVE-2017-18266
More vulnerabilities in Freedesktop products
CVE-2025-52886CVE-2025-50420CVE-2025-43903CVE-2025-32365CVE-2025-32364CVE-2024-56378CVE-2024-6239CVE-2023-34969All 141
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.