{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-0751",
        "assignerOrgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
        "state": "PUBLISHED",
        "assignerShortName": "freebsd",
        "dateReserved": "2023-02-08T15:34:03.264Z",
        "datePublished": "2023-02-08T19:25:01.118Z",
        "dateUpdated": "2024-08-02T05:24:34.119Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "modules": [
                        "geli"
                    ],
                    "product": "FreeBSD",
                    "vendor": "FreeBSD",
                    "versions": [
                        {
                            "lessThan": "13.1-RELEASE-p6",
                            "status": "affected",
                            "version": "13.1-RELEASE",
                            "versionType": "release"
                        },
                        {
                            "lessThan": "12.4-RELEASE-p1",
                            "status": "affected",
                            "version": "12.4-RELEASE",
                            "versionType": "release"
                        },
                        {
                            "lessThan": "12.3-RELEASE-p11",
                            "status": "affected",
                            "version": "12.3-RELEASE",
                            "versionType": "release"
                        }
                    ]
                }
            ],
            "datePublic": "2023-02-09T02:30:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "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.<br>"
                        }
                    ],
                    "value": "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.\n"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "description": "CWE-20 Improper Input Validation",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
                "shortName": "freebsd",
                "dateUpdated": "2023-02-08T19:25:01.118Z"
            },
            "references": [
                {
                    "url": "https://security.FreeBSD.org/advisories/FreeBSD-SA-23:01.geli.asc"
                }
            ],
            "source": {
                "advisory": "FreeBSD-SA-23:01.geli",
                "discovery": "UNKNOWN"
            },
            "title": "GELI silently omits the keyfile if read from stdin",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230316-0004/"
                    },
                    {
                        "url": "https://security.FreeBSD.org/advisories/FreeBSD-SA-23:01.geli.asc",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T05:24:34.119Z"
                }
            }
        ]
    }
}