Arbitrary Code Injection Affecting xdg-utils package, versions <1.1.0~rc1+git20111210-7.4+deb8u1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN8-XDGUTILS-309961
- published 10 May 2018
- disclosed 10 May 2018
Introduced: 10 May 2018
CVE-2017-18266 Open this link in a new tabHow to fix?
Upgrade Debian:8
xdg-utils
to version 1.1.0~rc1+git20111210-7.4+deb8u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream xdg-utils
package and not the xdg-utils
package as distributed by Debian
.
See How to fix?
for Debian:8
relevant fixed versions and status.
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.
References
- https://www.debian.org/security/2018/dsa-4211
- https://lists.debian.org/debian-lts-announce/2018/05/msg00014.html
- https://security-tracker.debian.org/tracker/CVE-2017-18266
- https://bugs.freedesktop.org/show_bug.cgi?id=103807
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb
- https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-18266
- https://usn.ubuntu.com/3650-1/