{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-23084",
        "assignerOrgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
        "state": "PUBLISHED",
        "assignerShortName": "freebsd",
        "dateReserved": "2022-01-10T22:07:46.040Z",
        "datePublished": "2024-02-15T04:52:09.645Z",
        "dateUpdated": "2024-08-29T18:48:40.014Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unknown",
                    "modules": [
                        "netmap"
                    ],
                    "product": "FreeBSD",
                    "vendor": "FreeBSD",
                    "versions": [
                        {
                            "lessThan": "p1",
                            "status": "affected",
                            "version": "13.1-RC1",
                            "versionType": "release"
                        },
                        {
                            "lessThan": "p11",
                            "status": "affected",
                            "version": "13.0-RELEASE",
                            "versionType": "release"
                        },
                        {
                            "lessThan": "p5",
                            "status": "affected",
                            "version": "12.3-RELEASE",
                            "versionType": "release"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Reno Robert"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Lucas Leong (@_wmliang_)"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Trend Micro Zero Day Initiative"
                }
            ],
            "datePublic": "2022-04-06T05:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin.  This time-of-check to time-of-use bug could lead to kernel memory corruption.\n\nOn systems configured to include netmap in their devfs_ruleset, a privileged process running in a jail can affect the host environment."
                }
            ],
            "providerMetadata": {
                "orgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
                "shortName": "freebsd",
                "dateUpdated": "2024-02-15T04:52:09.645Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20240419-0003/"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Potential jail escape vulnerabilities in netmap",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T03:28:43.503Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20240419-0003/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-367",
                                "lang": "en",
                                "description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition"
                            }
                        ]
                    }
                ],
                "affected": [
                    {
                        "vendor": "freebsd",
                        "product": "freebsd",
                        "cpes": [
                            "cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "13.1-rc1",
                                "status": "affected",
                                "lessThan": "p1",
                                "versionType": "custom"
                            },
                            {
                                "version": "13.0-release",
                                "status": "affected",
                                "lessThan": "p11",
                                "versionType": "custom"
                            },
                            {
                                "version": "12.3-release",
                                "status": "affected",
                                "lessThan": "p5",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-02-15T16:46:40.534639Z",
                                "id": "CVE-2022-23084",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-29T18:48:40.014Z"
                }
            }
        ]
    }
}