{"id":"UBUNTU-CVE-2017-7500","details":"It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.","modified":"2025-10-24T04:46:15Z","published":"2018-08-13T17:29:00Z","upstream":["CVE-2017-7500"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-7500"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1450369"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-7500"}],"affected":[{"package":{"name":"rpm","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/rpm@4.11.1-3ubuntu0.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11.1-2","4.11.1-3","4.11.1-3ubuntu0.1","4.11.1-3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"debugedit"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"librpm-dev"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"librpm3"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"librpmbuild3"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"librpmio3"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"librpmsign1"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"python-rpm"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"rpm"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"rpm-common"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"rpm-i18n"},{"binary_version":"4.11.1-3ubuntu0.1+esm1","binary_name":"rpm2cpio"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7500.json"}},{"package":{"name":"rpm","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/rpm@4.12.0.1+dfsg1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0.1+dfsg1-3build2","4.12.0.1+dfsg1-3build3","4.12.0.1+dfsg1-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"debugedit"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"librpm-dev"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"librpm3"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"librpmbuild3"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"librpmio3"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"librpmsign3"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"python-rpm"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"python3-rpm"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"rpm"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"rpm-common"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"rpm-i18n"},{"binary_version":"4.12.0.1+dfsg1-3ubuntu0.1~esm1","binary_name":"rpm2cpio"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7500.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}