Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
| Red Hat | Red Hat Hardened Images | affected | — |
No data.
No data.
No data available yet.
Vendor Workaround
Isolate certificate directories so that they are not shared between multiple local users, and enforce restrictive directory permissions. Set permissions so only the directory owner has read, write, and search permissions on the certificate store: chmod 700 /path/to/cert-d Caveat: Restricting permissions prevents other accounts from accessing the certificate store, which will break workflows designed around shared certificate repositories.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Title | openpgp-cert-d: Following a symbolic-linked write lock file enables arbitrary file truncation | Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation |
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat hummingbird |
|
| CPEs | cpe:/a:redhat:hummingbird:1 cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:9 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat hummingbird |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments where a certificate directory is shared among multiple users, a local attacker can replace the write lock file with a symbolic link targeting another file. When a different user subsequently updates the certificate store, the targeted file is truncated, leading to unintended data loss or corruption. | |
| Title | openpgp-cert-d: Following a symbolic-linked write lock file enables arbitrary file truncation | |
| Weaknesses | CWE-59 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|