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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "34"
},
{
"last_affected": "34"
}
],
"vendor_product": "fedoraproject:fedora",
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"vendor_product": "redhat:enterprise_linux",
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
]
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.18.0"
}
],
"cpe": "cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"280623155716057075973965713759273863140",
"67026450021903754845164842287235129457",
"158411457487267255824690252833708700168"
]
},
"id": "CVE-2021-35938-6ff8734b",
"signature_type": "Line",
"source": "https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033",
"target": {
"file": "lib/fsm.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 5307.0,
"function_hash": "106619841970814527190268285391749306210"
},
"id": "CVE-2021-35938-c3afe85b",
"signature_type": "Function",
"source": "https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033",
"target": {
"function": "rpmPackageFilesInstall",
"file": "lib/fsm.c"
}
}
]
"2026-07-08T22:13:22Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-35938.json"