Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-0751 EUVD-2023-12769GHSA-4j3q-rqjq-x3f3

GELI silently omits the keyfile if read from stdin

Published Feb 8, 2023 · Updated Mar 25, 2025 · Assigned by freebsd

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.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 13.1-RELEASE – < 13.1-RELEASE-p6, 12.4-RELEASE – < 12.4-RELEASE-p1, 12.3-RELEASE – < 12.3-RELEASE-p11 13.1-RELEASE-p6

Advisories 1

References