{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-6936","assignerOrgId":"50d2cd11-d01a-48ed-9441-5bfce9d63b27","state":"PUBLISHED","assignerShortName":"wolfSSL","dateReserved":"2023-12-18T22:01:24.437Z","datePublished":"2024-02-20T21:52:02.441Z","dateUpdated":"2025-03-26T16:28:30.322Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["TLS"],"product":"wolfSSL","repo":"https://github.com/wolfSSL/wolfssl","vendor":"wolfSSL","versions":[{"lessThanOrEqual":"5.6.5","status":"affected","version":"0","versionType":"release bundle"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"To be vulnerable, wolfSSL callback functionality (which includes handshake and timeout callback functionality) must must be enabled with:<br><b><span style=\"background-color: transparent;\">CFLAGS=\"-DWOLFSSL_CALLBACKS\"</span></b><br><br>This option is disabled by default. The default configuration of wolfSSL is not vulnerable."}],"value":"To be vulnerable, wolfSSL callback functionality (which includes handshake and timeout callback functionality) must must be enabled with:\nCFLAGS=\"-DWOLFSSL_CALLBACKS\"\n\nThis option is disabled by default. The default configuration of wolfSSL is not vulnerable."}],"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Lucca Hirschi (Inria, LORIA)"},{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Steve Kremer (Inria, LORIA)"},{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Max Ammann (Trail of Bits)"},{"lang":"en","type":"tool","user":"00000000-0000-4000-9000-000000000000","value":"tlspuffin"}],"datePublic":"2023-12-20T00:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"In wolfSSL prior to 5.6.6, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then a malicious TLS client or network attacker can trigger a buffer over-read on the heap of 5 bytes (WOLFSSL_CALLBACKS is only intended for debugging).<br>"}],"value":"In wolfSSL prior to 5.6.6, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then a malicious TLS client or network attacker can trigger a buffer over-read on the heap of 5 bytes (WOLFSSL_CALLBACKS is only intended for debugging).\n"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"orgId":"50d2cd11-d01a-48ed-9441-5bfce9d63b27","shortName":"wolfSSL","dateUpdated":"2024-02-20T21:52:02.441Z"},"references":[{"tags":["patch"],"url":"https://github.com/wolfSSL/wolfssl/pull/6949/"},{"tags":["vendor-advisory"],"url":"https://www.wolfssl.com/docs/security-vulnerabilities/"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><span style=\"background-color: transparent;\">The fix for this issue is located in the following GitHub Pull Request: </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/wolfSSL/wolfssl/pull/6949/\">https://github.com/wolfSSL/wolfssl/pull/6949/</a></p>"}],"value":"The fix for this issue is located in the following GitHub Pull Request:  https://github.com/wolfSSL/wolfssl/pull/6949/ https://github.com/wolfSSL/wolfssl/pull/6949/ \n\n"}],"source":{"discovery":"EXTERNAL"},"title":" Heap-buffer over-read with WOLFSSL_CALLBACKS","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<li>Do not build wolfSSL with <b>WOLFSSL_CALLBACKS</b> defined</li>"}],"value":"  *  Do not build wolfSSL with WOLFSSL_CALLBACKS defined\n"}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-126","lang":"en","description":"CWE-126 Buffer Over-read"}]}],"affected":[{"vendor":"wolfssl","product":"wolfssl","cpes":["cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.6.5","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-27T14:22:41.353325Z","id":"CVE-2023-6936","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-26T16:28:30.322Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T08:42:08.671Z"},"title":"CVE Program Container","references":[{"tags":["patch","x_transferred"],"url":"https://github.com/wolfSSL/wolfssl/pull/6949/"},{"tags":["vendor-advisory","x_transferred"],"url":"https://www.wolfssl.com/docs/security-vulnerabilities/"}]}]}}