Files
vuln-nvd/data/2026/CVE-2026-5067.json
T

2 lines
3.9 KiB
JSON

{"affected":[{"affectedData":[{"defaultStatus":"unaffected","packageName":"Zephyr","product":"Zephyr","repo":"https://github.com/zephyrproject-rtos/zephyr","vendor":"zephyrproject-rtos","versions":[{"lessThan":"4.3.1","status":"affected","version":"3.7.0","versionType":"git"}]}],"source":"vulnerabilities@zephyrproject.org"}],"configurations":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*","matchCriteriaId":"D6DCCDB1-3B65-4C26-8AE2-05613439A5BF","versionEndIncluding":"4.3.0","versionStartIncluding":"3.7.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"cveTags":[],"descriptions":[{"lang":"en","value":"A remote, unauthenticated attacker can trigger memory corruption in Zephyr's HTTP server WebSocket upgrade path by sending a crafted Sec-WebSocket-Key header. The HTTP/1 header parser copies the header into a fixed-size buffer using a bounded copy that does not guarantee NUL termination when the input length reaches the buffer size. During upgrade handling the buffer is copied to a local stack buffer and passed to strlen(); if no NUL exists in-bounds, strlen() reads beyond the stack buffer and subsequent concatenation with the WebSocket magic string can write out of bounds. This leads to out-of-bounds read and write on stack memory, resulting in crash (denial of service) and potentially code execution. The path is reachable when CONFIG_HTTP_SERVER_WEBSOCKET is enabled."},{"lang":"es","value":"Un atacante remoto no autenticado puede desencadenar corrupción de memoria en la ruta de actualización de WebSocket del servidor HTTP de Zephyr al enviar una cabecera Sec-WebSocket-Key manipulada. El analizador de cabeceras HTTP/1 copia la cabecera en un búfer de tamaño fijo utilizando una copia acotada que no garantiza la terminación NUL cuando la longitud de entrada alcanza el tamaño del búfer. Durante el manejo de la actualización, el búfer se copia a un búfer de pila local y se pasa a strlen(); si no existe un NUL dentro de los límites, strlen() lee más allá del búfer de pila y la concatenación subsiguiente con la cadena mágica de WebSocket puede escribir fuera de los límites. Esto conduce a lectura y escritura fuera de los límites en la memoria de pila, lo que resulta en un fallo (denegación de servicio) y potencialmente ejecución de código. La ruta es accesible cuando CONFIG_HTTP_SERVER_WEBSOCKET está habilitado."}],"id":"CVE-2026-5067","lastModified":"2026-10-15T23:17:37.387","metrics":{"cvssMetricV31":[{"cvssData":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"exploitabilityScore":3.9,"impactScore":5.9,"source":"vulnerabilities@zephyrproject.org","type":"Secondary"}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"id":"CVE-2026-5067","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","timestamp":"2026-06-09T13:11:48.752906Z","version":"2.0.3"}}]},"published":"2026-06-09T06:16:53.920","references":[{"source":"vulnerabilities@zephyrproject.org","tags":["Exploit","Patch","Vendor Advisory"],"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgr4-9pwq-94vj"},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Patch","Vendor Advisory"],"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgr4-9pwq-94vj"}],"sourceIdentifier":"vulnerabilities@zephyrproject.org","vulnStatus":"Analyzed","weaknesses":[{"description":[{"lang":"en","value":"CWE-170"},{"lang":"en","value":"CWE-787"}],"source":"vulnerabilities@zephyrproject.org","type":"Secondary"},{"description":[{"lang":"en","value":"CWE-787"}],"source":"nvd@nist.gov","type":"Primary"}]}