{"id":"CVE-2018-6553","aliases":["DEBIAN-CVE-2018-6553","DLA-1426-1","DSA-4243-1","EUVD-2018-18305","GHSA-2f8v-v7q3-8gqv","UBUNTU-CVE-2018-6553","USN-3713-1"],"status":"published","title":"AppArmor cupsd Sandbox Bypass Due to Use of Hard Links","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00385,"percentile":0.32798,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2018-07-11T00:00:00Z","modified":"2026-10-23T18:03:23Z","fixes":[{"ecosystem":"Debian:12","package":"cups","fixed_in":["2.2.8-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cups","fixed_in":["2.2.8-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cups","fixed_in":["2.2.8-5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"cups","fixed_in":["1.7.2-0ubuntu1.10"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"cups","fixed_in":["2.1.3-4ubuntu0.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"cups","fixed_in":["2.2.7-1ubuntu2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.8-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.8-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.8-5"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-11+deb8u4"}]}],"versions":["1.7.5-11","1.7.5-11+deb8u1","1.7.5-11+deb8u2","1.7.5-11+deb8u3"],"bundled":3},{"source":"osv","ecosystem":"Debian:9","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-8+deb9u2"}]}],"versions":["2.2.1-8","2.2.1-8+deb9u1","2.2.1-8+deb9u1~bpo8+1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-0ubuntu1.10"}]}],"versions":["1.7.0~rc1-0ubuntu5","1.7.0-0ubuntu2","1.7.0-0ubuntu3","1.7.0-1","1.7.0-2","1.7.1-1","1.7.1-2","1.7.1-2git1","1.7.1-3","1.7.1-4","1.7.1-4ubuntu1","1.7.1-5ubuntu1","1.7.1-5ubuntu3","1.7.1-5ubuntu4","1.7.1-5ubuntu5","1.7.1-5ubuntu6","1.7.1-5ubuntu7","1.7.1-5ubuntu8","1.7.1-5ubuntu9","1.7.1-5ubuntu10","1.7.2-0ubuntu1","1.7.2-0ubuntu1.1","1.7.2-0ubuntu1.2","1.7.2-0ubuntu1.4","1.7.2-0ubuntu1.5","1.7.2-0ubuntu1.6","1.7.2-0ubuntu1.7","1.7.2-0ubuntu1.8","1.7.2-0ubuntu1.9"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-4ubuntu0.5"}]}],"versions":["2.1.0-4ubuntu3","2.1.0-5","2.1.0-6","2.1.0-6ubuntu1","2.1.0-7","2.1.2-1","2.1.2-2","2.1.3-1","2.1.3-1build1","2.1.3-3","2.1.3-4","2.1.3-4ubuntu0.2","2.1.3-4ubuntu0.3","2.1.3-4ubuntu0.4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.7-1ubuntu2.1"}]}],"versions":["2.2.4-7ubuntu2","2.2.5-2","2.2.6-2","2.2.6-3","2.2.6-4","2.2.6-5","2.2.7-1ubuntu1","2.2.7-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-0ubuntu1.10"}]}],"versions":["1.7.0~rc1-0ubuntu5","1.7.0-0ubuntu2","1.7.0-0ubuntu3","1.7.0-1","1.7.0-2","1.7.1-1","1.7.1-2","1.7.1-2git1","1.7.1-3","1.7.1-4","1.7.1-4ubuntu1","1.7.1-5ubuntu1","1.7.1-5ubuntu3","1.7.1-5ubuntu4","1.7.1-5ubuntu5","1.7.1-5ubuntu6","1.7.1-5ubuntu7","1.7.1-5ubuntu8","1.7.1-5ubuntu9","1.7.1-5ubuntu10","1.7.2-0ubuntu1","1.7.2-0ubuntu1.1","1.7.2-0ubuntu1.2","1.7.2-0ubuntu1.4","1.7.2-0ubuntu1.5","1.7.2-0ubuntu1.6","1.7.2-0ubuntu1.7","1.7.2-0ubuntu1.8","1.7.2-0ubuntu1.9"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-4ubuntu0.5"}]}],"versions":["2.1.0-4ubuntu3","2.1.0-5","2.1.0-6","2.1.0-6ubuntu1","2.1.0-7","2.1.2-1","2.1.2-2","2.1.3-1","2.1.3-1build1","2.1.3-3","2.1.3-4","2.1.3-4ubuntu0.2","2.1.3-4ubuntu0.3","2.1.3-4ubuntu0.4"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.7-1ubuntu2.1"}]}],"versions":["2.2.4-7ubuntu2","2.2.5-2","2.2.6-2","2.2.6-3","2.2.6-4","2.2.6-5","2.2.7-1ubuntu1","2.2.7-1ubuntu2"],"bundled":4}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"cups","product":"cups"},{"vendor":"debian","product":"debian_linux"},{"vendor":"openprinting","product":"cups"}],"references":[{"url":"https://usn.ubuntu.com/usn/usn-3713-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4243","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00014.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Issue Tracking","Mailing List","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/201908-08","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6553"},{"url":"https://github.com/advisories/GHSA-2f8v-v7q3-8gqv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6553","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6553","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3713-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6553","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18248","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-4180","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-4181","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-6553","title":"AppArmor cupsd Sandbox Bypass Due to Use of Hard Links","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-08-10T15:00:00Z","modified":"2024-09-16T19:51:16.287Z","updated_at":"2026-11-02T14:35:05.961936Z"}],"euvd":[{"id":"EUVD-2018-18305","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-08-10T15:00:00Z","modified":"2024-09-16T19:51:16Z","updated_at":"2026-11-03T00:55:19.533306Z"}],"ghsa":[{"id":"GHSA-2f8v-v7q3-8gqv","title":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A...","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2022-05-13T01:53:07Z","modified":"2023-02-02T05:02:18Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:51:24.429027Z"}],"nvd":[{"id":"CVE-2018-6553","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-08-10T15:29:01.187Z","modified":"2026-06-17T02:02:00.797Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"CVE-2018-6553","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-08-10T15:29:01.187Z","modified":"2026-03-15T22:26:29.894087Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6553","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-08-10T15:29:01.187Z","modified":"2026-10-23T18:03:23.134604143Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6553","description":"The CUPS AppArmor profile incorrectly confined the dnssd backend due to use of hard links. A local attacker could possibly use this issue to escape confinement. This flaw affects versions prior to 2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1 in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS, and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS.","status":"published","published":"2018-07-11T00:00:00Z","modified":"2026-04-22T12:01:35.42992Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DLA-1426-1","title":"cups - security update","status":"published","published":"2018-07-14T00:00:00Z","modified":"2026-03-09T01:01:06.990114Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4243-1","title":"cups - security update","status":"published","published":"2018-07-11T00:00:00Z","modified":"2026-03-09T02:08:39.270263Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"USN-3713-1","title":"cups vulnerabilities","description":"It was discovered that CUPS incorrectly handled certain print jobs with\ninvalid usernames. A remote attacker could possibly use this issue to cause\nCUPS to crash, resulting in a denial of service. This issue only affected\nUbuntu 14.04 LTS, Ubuntu 17.10 and Ubuntu 18.04 LTS. (CVE-2017-18248)\n\nDan Bastone discovered that the CUPS dnssd backend incorrectly handled\ncertain environment variables. A local attacker could possibly use this\nissue to escalate privileges. (CVE-2018-4180)\n\nEric Rafaloff and John Dunlap discovered that CUPS incorrectly handled\ncertain include directives. A local attacker could possibly use this issue\nto read arbitrary files. (CVE-2018-4181)\n\nDan Bastone discovered that the CUPS AppArmor profile incorrectly confined\nthe dnssd backend. A local attacker could possibly use this issue to escape\nconfinement. (CVE-2018-6553)\n","status":"published","published":"2018-07-11T16:42:23Z","modified":"2026-04-22T09:49:54.653274Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
