{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-35938","id":"CVE-2021-35938","title":"rpm: It occurs when rpm sets the desired permissions and credentials after installing a file","description":"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","descriptionLong":"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.","published":"2022-08-25T00:00:00.000Z","updated":"2026-10-20T14:25:24.372031899Z","reserved":"2021-06-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["RPM"],"affectedProducts":[{"vendor":"n/a","product":"RPM","defaultStatus":null,"versions":[{"version":"Fixed in rpm v4.18.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-59"],"aliases":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1964114","tags":["x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1157880","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-35938","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://rpm.org/wiki/Releases/4.18.0","tags":["x_transferred","Release Notes","advisory"]},{"url":"https://github.com/rpm-software-management/rpm/pull/1919","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/202210-22","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00519,"epssPercentile":0.44876,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-35938","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35938","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-35938","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-35938","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}