Description
When restoring a session from cache, a pointer from the serialized session data is used in a free operation without validation. An attacker who can poison the session cache could trigger an arbitrary free. Exploitation requires the ability to inject a crafted session into the cache and for the application to call specific session restore APIs.
Problem types
CWE-502 Deserialization of untrusted data
Product status
Any version
Credits
Sunwoo Lee (Korea Institute of Energy Technology, KENTECH)
Woohyun Choi (Korea Institute of Energy Technology, KENTECH)
Seunghyun Yoon (Korea Institute of Energy Technology, KENTECH)
References
github.com/wolfSSL/wolfssl/pull/10088