{"schemaVersion":3,"id":"CVE-2017-18266","aliases":["MGASA-2018-0289","SUSE-SU-2018:1497-1","UBUNTU-CVE-2017-18266","USN-3650-1","DEBIAN-CVE-2017-18266","DLA-1384-1","DSA-4211-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-05-10T14:00:00.000Z","modified":"2024-08-05T21:13:49.227Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02399,"percentile":0.83779,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.05499999999999984,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02454},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02493,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02493,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02496,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02399,"percentile":0.83779}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02496,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02399,"percentile":0.83779}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 17.10 | 18.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"xdg-utils","name":"xdg-utils","label":"xdg-utils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xdg-utils","purlType":"deb","versions":[{"text":"< 1.1.3-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.0~rc1+git20111210-7.4+deb8u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.1-1+deb9u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.0~rc1+git20111210-6+deb7u4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.3-1 | < 1.1.0~rc1+git20111210-7.4+deb8u1 | < 1.1.1-1+deb9u1 | < 1.1.0~rc1+git20111210-6+deb7u4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xdg-utils","name":"xdg-utils","label":"xdg-utils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xdg-utils","purlType":"deb","versions":[{"text":"< 1.1.0~rc1-2ubuntu7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.1-1ubuntu1.16.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.2-1ubuntu2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0~rc1-2ubuntu7.2 | < 1.1.1-1ubuntu1.16.04.3 | < 1.1.2-1ubuntu2.2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"freedesktop","product":"xdg-utils","name":"xdg-utils","label":"xdg-utils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.3","eol":null,"hubHref":"/vendor/freedesktop/xdg-utils"},{"vendor":"mageia","product":"xdg-utils","name":"xdg-utils","label":"xdg-utils","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/xdg-utils","purlType":"rpm","versions":[{"text":"< 1.1.3-1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.3-1.mga6","eol":null,"hubHref":null},{"vendor":"suse","product":"xdg-utils&distro=SUSE Linux Enterprise Desktop 12 SP3","name":"xdg-utils","label":"xdg-utils&distro=SUSE Linux Enterprise Desktop 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/xdg-utils&distro=SUSE Linux Enterprise Desktop 12 SP3","purlType":"rpm","versions":[{"text":"< 20140630-6.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20140630-6.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"xdg-utils&distro=SUSE Linux Enterprise Server 12 SP3","name":"xdg-utils","label":"xdg-utils&distro=SUSE Linux Enterprise Server 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/xdg-utils&distro=SUSE Linux Enterprise Server 12 SP3","purlType":"rpm","versions":[{"text":"< 20140630-6.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20140630-6.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"xdg-utils&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","name":"xdg-utils","label":"xdg-utils&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/xdg-utils&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","purlType":"rpm","versions":[{"text":"< 20140630-6.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20140630-6.3.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb","label":"cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb","hostname":"cgit.freedesktop.org","tags":["X Refsource MISC","Patch"]},{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog","label":"cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog","hostname":"cgit.freedesktop.org","tags":["X Refsource MISC","Release Notes","REPORT"]},{"url":"https://usn.ubuntu.com/3650-1/","label":"usn.ubuntu.com/3650-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00014.html","label":"lists.debian.org/debian-lts-announce/2018/05/msg00014.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4211","label":"www.debian.org/security/2018/dsa-4211","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=103807","label":"bugs.freedesktop.org/show_bug.cgi?id=103807","hostname":"bugs.freedesktop.org","tags":["X Refsource MISC","Issue Tracking","Patch"]},{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2","label":"cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2","hostname":"cgit.freedesktop.org","tags":["X Refsource MISC","Release Notes"]},{"url":"https://advisories.mageia.org/MGASA-2018-0289.html","label":"advisories.mageia.org/MGASA-2018-0289.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23132","label":"bugs.mageia.org/show_bug.cgi?id=23132","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ZECHRCR6RWTX46ANDPIAXPMHZ2EOHNJB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181497-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20181497-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1093086","label":"bugzilla.suse.com/1093086","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18266","label":"www.suse.com/security/cve/CVE-2017-18266","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-18266","label":"ubuntu.com/security/CVE-2017-18266","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3650-1","label":"ubuntu.com/security/notices/USN-3650-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18266","label":"www.cve.org/CVERecord?id=CVE-2017-18266","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18266","label":"security-tracker.debian.org/tracker/CVE-2017-18266","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11518-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11518-1"]},"timeline":[{"kind":"published","date":"2018-05-10T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T21:13:49.227Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:03:12.373Z","stale":false,"partial":false}}