{"id":"UBUNTU-CVE-2016-6299","details":"The scm plug-in in mock might allow attackers to bypass the intended chroot protection mechanism and gain root privileges via a crafted spec file.","modified":"2025-10-24T04:45:51Z","published":"2017-04-14T18:59:00Z","upstream":["CVE-2016-6299"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-6299"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1375490"},{"type":"REPORT","url":"https://github.com/rpm-software-management/mock/commit/8b02f43beadacf6911200b48d94e39e891a41da9"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-6299"}],"affected":[{"package":{"name":"mock","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mock@1.1.33-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.33-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mock","binary_version":"1.1.33-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6299.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}