Opis (engleski)
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.
Privremena mjera proizvođača
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.
Izvorni tekst iz CVE zapisa proizvođača.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
- Put napada
- Lokalno, na sustavu
- Složenost napada
- Niska
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Nije potrebna
- Opseg
- Utječe i na druge komponente
- Povjerljivost
- Bez utjecaja
- Integritet
- Nizak utjecaj
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-59 Improper Link Resolution Before File Access
Reference
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.