CVE-2017-18266
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.49%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.0
- 8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.49% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- freedesktop/xdg-utils · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://bugs.freedesktop.org/show_bug.cgi?id=103807Issue Tracking, Patch
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2Release Notes
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcbPatch
- 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 Tracking, Patch
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2Release Notes
- https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcbPatch
- 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.