First published: Thu May 10 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/xdg-utils | <=1.1.1-1<=1.1.0~rc1+git20111210-7.4 | 1.1.3-1 1.1.1-1+deb9u1 1.1.0~rc1+git20111210-7.4+deb8u1 |
ubuntu/xdg-utils | <1.1.1-1ubuntu3.2 | 1.1.1-1ubuntu3.2 |
ubuntu/xdg-utils | <1.1.2-1ubuntu2.2 | 1.1.2-1ubuntu2.2 |
ubuntu/xdg-utils | <1.1.0~ | 1.1.0~ |
ubuntu/xdg-utils | <1.1.1-1ubuntu1.16.04.3 | 1.1.1-1ubuntu1.16.04.3 |
debian/xdg-utils | 1.1.3-4.1 | |
Xdg-utils | <1.1.3 | |
Debian | =7.0 | |
Debian | =8.0 | |
Debian | =9.0 | |
Ubuntu | =14.04 | |
Ubuntu | =16.04 | |
Ubuntu | =17.10 | |
Ubuntu | =18.04 |
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-18266 is a vulnerability in xdg-utils before version 1.1.3 that allows remote attackers to conduct argument-injection attacks via a crafted URL.
CVE-2017-18266 has a severity rating of 8.8 (high).
CVE-2017-18266 affects xdg-utils versions before 1.1.3.
To fix CVE-2017-18266, update xdg-utils to version 1.1.3 or later.
You can find more information about CVE-2017-18266 at the following references: [Link 1](https://bugs.freedesktop.org/show_bug.cgi?id=103807), [Link 2](https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2), [Link 3](https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb).