{"id":"CVE-2017-18266","details":"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.","modified":"2026-07-08T05:50:24.621002925Z","published":"2018-05-10T14:29:00.207Z","related":["SUSE-SU-2018:1497-1","openSUSE-SU-2024:11518-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"17.10"},{"last_affected":"17.10"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING"},{"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"},{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}]}]},"references":[{"type":"ADVISORY","url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2"},{"type":"ADVISORY","url":"https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00014.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3650-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4211"},{"type":"FIX","url":"https://bugs.freedesktop.org/show_bug.cgi?id=103807"},{"type":"FIX","url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.freedesktop.org/xdg/xdg-utils","events":[{"introduced":"0"},{"fixed":"159fc37075db2decf446f453fe1a796da6921aad"}],"database_specific":{"cpe":"cpe:2.3:a:freedesktop:xdg-utils:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.1.3"}],"source":"CPE_RANGE"}}],"versions":["v1.1.2","v1.1.1","v1.1.0","v1.1.0-rc3","v1.1.0-rc2","v1.1.0-rc1","v1.0.2","v1.0.1","v1.0","v1.0-rc1","v1.0-beta4","v1.0-beta3","start","v1.0-beta1","tmp"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18266.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}