{"id":"CVE-2017-7501","published":"2017-11-22T22:00:00Z","modified":"2024-09-17T00:02:20Z","title":"It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM","vendor":"Red Hat","product":"rpm","tier":"tail","description":{"text":"It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00392,"percentile":0.33365,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://security.gentoo.org/glsa/201811-22","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":6.67}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat, Inc.","product":"rpm","versions":["before 4.13.0.2"]}],"euvd":{"id":"EUVD-2017-16518","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-rpm-cve-2017-7501","children":[{"from":"CVE-2017-7501","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"}]}]}}