{"id":"CVE-2023-35943","state":"PUBLISHED","title":"Envoy vulnerable to CORS filter segfault when origin header is removed","description":"Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12, the CORS filter will segfault and crash Envoy when the `origin` header is removed and deleted between `decodeHeaders`and `encodeHeaders`. Versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12 have a fix for this issue. As a workaround, do not remove the `origin` header in the Envoy configuration.","publishedAt":"2023-07-25T18:26:23.571Z","updatedAt":"2024-10-24T18:03:36.445Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["envoyproxy envoy"],"affected":[{"vendor":"envoyproxy","product":"envoy","versions":[{"version":">= 1.26.0, < 1.26.4","status":"affected"},{"version":">= 1.25.0, < 1.25.9","status":"affected"},{"version":">= 1.24.0, < 1.24.10","status":"affected"},{"version":"< 1.23.12","status":"affected"}]}],"references":["https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/35xxx/CVE-2023-35943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-35943","state":"PUBLISHED","datePublished":"2023-07-25T18:26:23.571Z","dateUpdated":"2024-10-24T18:03:36.445Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-06-20T14:02:45.597Z"},"containers":{"cna":{"title":"Envoy vulnerable to CORS filter segfault when origin header is removed ","descriptions":[{"lang":"en","value":"Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12, the CORS filter will segfault and crash Envoy when the `origin` header is removed and deleted between `decodeHeaders`and `encodeHeaders`. Versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12 have a fix for this issue. As a workaround, do not remove the `origin` header in the Envoy configuration."}],"affected":[{"vendor":"envoyproxy","product":"envoy","versions":[{"version":">= 1.26.0, < 1.26.4","status":"affected"},{"version":">= 1.25.0, < 1.25.9","status":"affected"},{"version":">= 1.24.0, < 1.24.10","status":"affected"},{"version":"< 1.23.12","status":"affected"}]}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq","name":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-07-25T18:26:23.571Z"},"source":{"advisory":"GHSA-mc6h-6j9x-v3gq","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq","name":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:37:40.034Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-24T18:03:26.911512Z","id":"CVE-2023-35943","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-24T18:03:36.445Z"}}]}}}