CVE-2021-41991 log

Source
Severity Medium
Remote Yes
Type Arbitrary code execution
Description
The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certificates to fill the cache and later trigger the replacement of cache entries. The code attempts to select a less-often-used cache entry by means of a random number generator, but this is not done correctly. Remote code execution might be a slight possibility.
Group Package Affected Fixed Severity Status Ticket
AVG-2473 strongswan 5.9.3-1 5.9.4-1 Medium Fixed
References
https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).html
https://download.strongswan.org/security/CVE-2021-41991/strongswan-4.4.1-5.9.3_cert-cache-random.patch
https://github.com/strongswan/strongswan/commit/dceed8e099c8f9d5606fa7e5a0742fb5e023103b