Name | CVE-2017-18266 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1384-1, DSA-4211-1 |
Debian Bugs | 898317 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
xdg-utils (PTS) | jessie, jessie (lts) | 1.1.0~rc1+git20111210-7.4+deb8u1 | fixed |
stretch | 1.1.1-1+deb9u2 | fixed | |
stretch (security), stretch (lts) | 1.1.1-1+deb9u1 | fixed | |
buster | 1.1.3-1+deb10u1 | fixed | |
bullseye, bookworm | 1.1.3-4.1 | fixed | |
sid, trixie | 1.2.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
xdg-utils | source | wheezy | 1.1.0~rc1+git20111210-6+deb7u4 | DLA-1384-1 | ||
xdg-utils | source | jessie | 1.1.0~rc1+git20111210-7.4+deb8u1 | DSA-4211-1 | ||
xdg-utils | source | stretch | 1.1.1-1+deb9u1 | DSA-4211-1 | ||
xdg-utils | source | (unstable) | 1.1.3-1 | 898317 |
https://bugs.freedesktop.org/show_bug.cgi?id=103807
Upstream bug discussed possible other approach to fix the issue.
Fixed by: https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb