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 s...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:13rust-openpgp-cert-d |
All versions→ Not listed |
Not listed |
| Debian:14rust-openpgp-cert-d |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org