CVE-2023-0751

GELI silently omits the keyfile if read from stdin

State
Published
Severity
6.5 Medium
Published
Feb 8, 2023
Updated
Mar 25, 2025
Reserved
Feb 8, 2023

Read the record on cve.org

Description

When GELI reads a key file from standard input, it does not reuse the key file to initialize multiple providers at once resulting in the second and subsequent devices silently using a NULL key as the user key file. If a user only uses a key file without a user passphrase, the master key is encrypted with an empty key file allowing trivial recovery of the master key.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 13.1-RELEASE to before 13.1-RELEASE-p6Affected
  • 12.4-RELEASE to before 12.4-RELEASE-p1Affected
  • 12.3-RELEASE to before 12.3-RELEASE-p11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.