{"id":"UBUNTU-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-02-04T03:04:29.073135Z","published":"2018-05-10T00:00:00Z","related":["USN-3650-1"],"upstream":["CVE-2017-18266"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18266"},{"type":"REPORT","url":"https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3650-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18266"}],"affected":[{"package":{"name":"xdg-utils","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/xdg-utils@1.1.0~rc1-2ubuntu7.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~rc1-2ubuntu7.2"}]}],"versions":["1.1.0~rc1-2ubuntu7","1.1.0~rc1-2ubuntu7.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"xdg-utils","binary_version":"1.1.0~rc1-2ubuntu7.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18266.json"}},{"package":{"name":"xdg-utils","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xdg-utils@1.1.1-1ubuntu1.16.04.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1ubuntu1.16.04.3"}]}],"versions":["1.1.0~rc3+git20150907-1ubuntu2","1.1.0~rc3+git20150907-1ubuntu3","1.1.1-1ubuntu1","1.1.1-1ubuntu1.16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"xdg-utils","binary_version":"1.1.1-1ubuntu1.16.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18266.json"}},{"package":{"name":"xdg-utils","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/xdg-utils@1.1.2-1ubuntu2.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.2-1ubuntu2.2"}]}],"versions":["1.1.1-1ubuntu2","1.1.1-1ubuntu3","1.1.2-1ubuntu1","1.1.2-1ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"xdg-utils","binary_version":"1.1.2-1ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18266.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}