CVE-2023-0751

published 8 Feb 2023 · updated 25 Mar 2025

GELI silently omits the keyfile if read from stdin

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 12.3-RELEASE-p11, 12.4-RELEASE-p1 and 13.1-RELEASE-p6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=12.3-RELEASE <12.3-RELEASE-p11, >=12.4-RELEASE <12.4-RELEASE-p1, >=13.1-RELEASE <13.1-RELEASE-p612.3-RELEASE-p11, 12.4-RELEASE-p1, 13.1-RELEASE-p6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-0751 severity on Zeptric[![CVE-2023-0751](https://zeptric.io/badge/cve/CVE-2023-0751.svg)](https://zeptric.io/cve/CVE-2023-0751)