{"id":"CVE-2017-14804","aliases":["DEBIAN-CVE-2017-14804","EUVD-2017-6293","GHSA-q7c2-6g86-6v93","SUSE-SU-2017:3253-1","SUSE-SU-2018:0065-1","SUSE-SU-2019:0387-1","UBUNTU-CVE-2017-14804","openSUSE-SU-2019:0232-1","openSUSE-SU-2024:10665-1"],"status":"published","title":"package builds could use directory traversal to write outside of target area","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","severity":{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.01711,"percentile":0.77492,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-22"],"published":"2017-12-08T12:54:18Z","modified":"2026-09-01T20:02:41Z","fixes":[{"ecosystem":"Debian:12","package":"obs-build","fixed_in":["20180302-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"obs-build","fixed_in":["20180302-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"obs-build","fixed_in":["20180302-1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","package":"build","fixed_in":["20190128-3.3.2"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.0","package":"build","fixed_in":["20190128-lp150.2.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"obs-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20180302-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"obs-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20180302-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"obs-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20180302-1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20171128-9.3.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"obs-service-source_validator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-9.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.162.0-15.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20171128-9.3.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"obs-service-source_validator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-9.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.162.0-15.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20171128-8.3.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.162.1-7.4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","package":"build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20190128-3.3.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"obs-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20141024-1","20141024-1.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"obs-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20170201-3"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20190128-lp150.2.3.1"}]}]}],"products":[{"vendor":"opensuse","product":"leap"},{"vendor":"suse","product":"build"},{"vendor":"suse","product":"linux_enterprise_software_development_kit"}],"references":[{"url":"https://lists.opensuse.org/opensuse-security-announce/2017-12/msg00024.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2018-01/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2017-12/msg00025.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-14804"},{"url":"https://github.com/advisories/GHSA-q7c2-6g86-6v93"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-14804","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20173253-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1059858","tags":["report"]},{"url":"https://bugzilla.suse.com/1061500","tags":["report"]},{"url":"https://bugzilla.suse.com/1069904","tags":["report"]},{"url":"https://bugzilla.suse.com/665768","tags":["report"]},{"url":"https://bugzilla.suse.com/938556","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2010-4226","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14804","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9274","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180065-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/796918","tags":["report"]},{"url":"https://bugzilla.suse.com/827480","tags":["report"]},{"url":"https://bugzilla.suse.com/891829","tags":["report"]},{"url":"https://bugzilla.suse.com/967265","tags":["report"]},{"url":"https://bugzilla.suse.com/967610","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4007","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190387-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1122895","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14804","tags":["report"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=1069904","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-14804","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BGDEEOHIGLAOTVZD66FDTMZ7FY6KPUDM/#BGDEEOHIGLAOTVZD66FDTMZ7FY6KPUDM","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-14804","title":"package builds could use directory traversal to write outside of target area","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T19:00:00Z","modified":"2024-09-16T22:03:14.2Z","cvss":[{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:33:12.267141Z"}],"euvd":[{"id":"EUVD-2017-6293","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T19:00:00Z","modified":"2024-09-16T22:03:14Z","cvss":[{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:55:06.207566Z"}],"ghsa":[{"id":"GHSA-q7c2-6g86-6v93","title":"The build package before 20171128 did not check directory names during extraction of build...","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2022-05-13T01:37:37Z","modified":"2023-02-01T05:08:46Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:50:51.059157Z"}],"nvd":[{"id":"CVE-2017-14804","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T20:29:00.413Z","modified":"2026-06-17T01:06:47.5Z","cvss":[{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22","CWE-20"],"updated_at":"2026-11-02T14:04:15.877386Z"}],"osv":[{"id":"CVE-2017-14804","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T20:29:00.413Z","modified":"2026-03-15T14:26:22.351559Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:04.572713Z"},{"id":"DEBIAN-CVE-2017-14804","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T20:29:00.413Z","modified":"2026-09-01T20:02:41.747831521Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-14804","description":"The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.","status":"published","published":"2018-03-01T20:29:00Z","modified":"2025-10-24T04:46:31Z","cvss":[{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"openSUSE-SU-2019:0232-1","title":"Security update for build","description":"This update for build version 20190128 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)\n\nNon-security issue fixed:\n\n- Add initial SLE 15 SP1 config (bsc#1122895)\n  \nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2019-03-23T11:06:16Z","modified":"2026-02-04T04:39:41.341394Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2024:10665-1","title":"build-20210902-1.2 on GA media","description":"These are all security issues fixed in the build-20210902-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:05:31.68869Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2017:3253-1","title":"Fixing security issues on OBS toolchain","description":"This OBS toolchain update fixes the following issues:\n\nPackage 'build':\n\n- CVE-2010-4226: force use of bsdtar for VMs (bnc#665768)\n- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)\n- switch baselibs scheme for debuginfo packages from foo-debuginfo-32bit to foo-32bit-debuginfo (fate#323217)\n\nPackage 'obs-service-source_validator':\n- CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).\n- Update to version 0.7\n- use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)\n\nPackage 'osc':\n- update to version 0.162.0\n- add Recommends: ca-certificates to enable TLS verification without manually installing them. (bnc#1061500)\n","status":"published","published":"2017-12-08T12:54:18Z","modified":"2026-02-04T02:37:06.432056Z","updated_at":"2026-11-02T15:53:44.209561Z"},{"id":"SUSE-SU-2018:0065-1","title":"Fixing security issues on OBS toolchain","description":"This OBS toolchain update fixes the following issues:\n\nPackage 'build':\n\n- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)\n- Fixed Dockerfile repository parsing\n\nPackage 'obs-service-source_validator':\n\n- CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).\n- CVE-2016-4007: Several maintained source services are vulnerable to code/paramter injection (bsc#967265)\n- Update to version 0.7.\n- Use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)\n- obs-service-source_validator: several occurrences of uninitialized value (bsc#967610)\n- hack for util-linux specfiles (bnc#891829)\n- fix dependency to gnupg2 for Fedora (bnc#827480)\n- exit if tmpdir creation fails (bnc#796918)\n\n\nPackage 'osc':\n\n- Update to version 0.162.0.\n","status":"published","published":"2018-01-11T10:25:14Z","modified":"2026-02-04T02:50:17.932564Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2019:0387-1","title":"Security update for build","description":"This update for build version 20190128 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)\n\nNon-security issue fixed:\n\n- Add initial SLE 15 SP1 config (bsc#1122895)\n  ","status":"published","published":"2019-02-14T10:55:29Z","modified":"2026-02-04T03:59:23.568373Z","updated_at":"2026-11-02T15:53:45.926331Z"}]}}
