{"id":"CVE-2021-35938","published":"2022-08-25T00:00:00Z","modified":"2024-08-04T00:40:47Z","title":"A symbolic link issue was found in rpm","vendor":null,"product":null,"tier":"tail","description":{"text":"A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00519,"percentile":0.44876,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1964114","tags":[]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1157880","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2021-35938","tags":[]},{"url":"https://rpm.org/wiki/Releases/4.18.0","tags":[]},{"url":"https://github.com/rpm-software-management/rpm/pull/1919","tags":[]},{"url":"https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033","tags":[]},{"url":"https://security.gentoo.org/glsa/202210-22","tags":["vendor-advisory"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":8.98}]},"affectedVersions":[{"vendor":"n/a","product":"RPM","versions":["Fixed in rpm v4.18.0"]}],"euvd":{"id":"EUVD-2021-22573","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-rpm-cve-2017-7501","parents":[{"from":"CVE-2017-7501","to":"CVE-2021-35938","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/fsm.c"],"commits":["https://github.com/rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc","https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033"],"basis":"shared function","functions":["rpmPackageFilesInstall"]}]},{"from":"CVE-2017-7500","to":"CVE-2021-35938","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/fsm.c"],"commits":["https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9","https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79","https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033"],"basis":"shared function","functions":["rpmPackageFilesInstall"]}]}],"children":[{"from":"CVE-2021-35938","to":"CVE-2021-35939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/fsm.c"],"commits":["https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033","https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556"],"basis":"shared function","functions":["rpmPackageFilesInstall"]}]}]}}