Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Freedesktop | Xdg-Utils | < 1.1.3 |
| Debian | Debian Linux | 7.0 |
| Canonical | Ubuntu Linux | 14.04 |
Related Weaknesses (CWE)
References
- https://bugs.freedesktop.org/show_bug.cgi?id=103807Issue TrackingPatch
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2Release Notes
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9bPatch
- https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLogRelease Notes
- https://lists.debian.org/debian-lts-announce/2018/05/msg00014.htmlThird Party Advisory
- https://usn.ubuntu.com/3650-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4211Third Party Advisory
- https://bugs.freedesktop.org/show_bug.cgi?id=103807Issue TrackingPatch
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2Release Notes
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9bPatch
- https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLogRelease Notes
- https://lists.debian.org/debian-lts-announce/2018/05/msg00014.htmlThird Party Advisory
- https://usn.ubuntu.com/3650-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4211Third Party Advisory
FAQ
What is CVE-2017-18266?
CVE-2017-18266 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2017-18266?
CVE-2017-18266 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-18266?
Check the references section above for vendor advisories and patch information. Affected products include: Freedesktop Xdg-Utils, Debian Debian Linux, Canonical Ubuntu Linux.