{"schemaVersion":3,"id":"CVE-2017-9780","aliases":["UBUNTU-CVE-2017-9780","DEBIAN-CVE-2017-9780","DSA-3895-1"],"status":"published","duplicateOf":null,"title":null,"description":"In Flatpak before 0.8.7, a third-party app repository could include malicious apps that contain files with inappropriate permissions, for example setuid or world-writable. The files are deployed with those permissions, which would let a local attacker run the setuid executable or write to the world-writable location. In the case of the \"system helper\" component, files deployed as part of the app are owned by root, so in the worst case they could be setuid root.","dates":{"published":"2017-06-21T15:00:00.000Z","modified":"2024-08-05T17:18:02.131Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00355,"percentile":0.27904,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.032,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00355,"percentile":0.27904}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00355,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00355,"percentile":0.27904}]},"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-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"debian","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/flatpak","purlType":"deb","versions":[{"text":"< 0.8.7-1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.8.5-2+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.7-1 | < 0.8.5-2+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/flatpak","purlType":"deb","versions":[{"text":"< 1.0.1-0ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.1-0ubuntu0.1","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":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"flatpak","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.8.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.8.6","eol":null,"hubHref":"/vendor/flatpak/flatpak"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/flatpak/flatpak/issues/845","label":"github.com/flatpak/flatpak/issues/845","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","REPORT"]},{"url":"https://bugs.debian.org/865413","label":"bugs.debian.org/865413","hostname":"bugs.debian.org","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","REPORT"]},{"url":"http://www.securityfocus.com/bid/99346","label":"www.securityfocus.com/bid/99346","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3895","label":"www.debian.org/security/2017/dsa-3895","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-9780","label":"ubuntu.com/security/CVE-2017-9780","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9780","label":"www.cve.org/CVERecord?id=CVE-2017-9780","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9780","label":"security-tracker.debian.org/tracker/CVE-2017-9780","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-06-21T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T17:18:02.131Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T00:50:05.107Z","stale":false,"partial":false}}