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