{"id":"CVE-2017-7500","published":"2018-08-13T17:00:00Z","modified":"2024-08-05T16:04:11Z","title":"It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a…","vendor":null,"product":"rpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.35482,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7500","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.1},{"name":"CVSS severity","points":5.11}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"rpm","versions":["4.13.0.2","4.14.0"]}],"euvd":{"id":"EUVD-2017-16517","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-rpm-cve-2017-7501","children":[{"from":"CVE-2017-7500","to":"CVE-2021-35939","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created.","from":"CVE.org","in":"CVE-2021-35939"}]}]}}