Bug 2015613 (CVE-2021-41991) - CVE-2021-41991 strongswan: integer overflow when replacing certificates in cache
Summary: CVE-2021-41991 strongswan: integer overflow when replacing certificates in cache
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-41991
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2015614 2015615
Blocks: 2015618
TreeView+ depends on / blocked
 
Reported: 2021-10-19 16:24 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-28 09:11 UTC (History)
7 users (show)

Fixed In Version: strongSwan 5.9.4
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-20 08:08:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-19 16:24:45 UTC
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.

References:
https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).html
https://github.com/strongswan/strongswan/releases/tag/5.9.4

Comment 1 Guilherme de Almeida Suckevicz 2021-10-19 16:26:01 UTC
Created strongswan tracking bugs for this issue:

Affects: epel-all [bug 2015615]
Affects: fedora-all [bug 2015614]

Comment 3 Product Security DevOps Team 2021-10-20 08:08:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-41991


Note You need to log in before you can comment on or make changes to this bug.