{"id":"CVE-2022-23092","state":"PUBLISHED","title":"Missing bounds check in 9p message handling","description":"The implementation of lib9p's handling of RWALK messages was missing a bounds check needed when unpacking the message contents.  The missing check means that the receipt of a specially crafted message will cause lib9p to overwrite unrelated memory.\n\nThe bug can be triggered by a malicious bhyve guest kernel to overwrite memory in the bhyve(8) process.  This could potentially lead to user-mode code execution on the host, subject to bhyve's Capsicum sandbox.","publishedAt":"2024-02-15T05:13:50.356Z","updatedAt":"2025-02-13T16:29:03.221Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"13.1-RELEASE","status":"affected","lessThan":"p1","versionType":"release"},{"version":"13.0-RELEASE","status":"affected","lessThan":"p12","versionType":"release"}],"modules":["lib9p"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-22:12.lib9p.asc","https://security.netapp.com/advisory/ntap-20240415-0009/"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23092.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23092","state":"PUBLISHED","datePublished":"2024-02-15T05:13:50.356Z","dateUpdated":"2025-02-13T16:29:03.221Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2022-01-10T22:07:46.042Z"},"containers":{"cna":{"title":"Missing bounds check in 9p message handling","descriptions":[{"lang":"en","value":"The implementation of lib9p's handling of RWALK messages was missing a bounds check needed when unpacking the message contents.  The missing check means that the receipt of a specially crafted message will cause lib9p to overwrite unrelated memory.\n\nThe bug can be triggered by a malicious bhyve guest kernel to overwrite memory in the bhyve(8) process.  This could potentially lead to user-mode code execution on the host, subject to bhyve's Capsicum sandbox."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"13.1-RELEASE","status":"affected","lessThan":"p1","versionType":"release"},{"version":"13.0-RELEASE","status":"affected","lessThan":"p12","versionType":"release"}],"modules":["lib9p"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-22:12.lib9p.asc","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240415-0009/"}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2024-04-15T15:06:21.396Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Robert Morris"}],"datePublic":"2022-08-09T23:00:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-22:12.lib9p.asc","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240415-0009/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:28:43.506Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"freebsd","product":"freebsd","defaultStatus":"unknown","versions":[{"version":"13.1-release","status":"affected","lessThan":"p1","versionType":"custom"},{"version":"13.0-release","status":"affected","lessThan":"p12","versionType":"custom"}],"cpes":["cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-02-15T16:43:44.126625Z","id":"CVE-2022-23092","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","type":"CWE","lang":"en","description":"CWE-787 Out-of-bounds Write"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-29T18:40:51.647Z"}}]}}}