Integer Overflow or Wraparound Affecting strongswan-ipsec package, versions <5.8.2-11.21.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
8.51% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES153-STRONGSWANIPSEC-2660572
  • published14 Apr 2022
  • disclosed19 Oct 2021

Introduced: 19 Oct 2021

CVE-2021-41991  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 strongswan-ipsec to version 5.8.2-11.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream strongswan-ipsec package and not the strongswan-ipsec package as distributed by SLES. See How to fix? for SLES:15.3 relevant fixed versions and status.

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.

CVSS Scores

version 3.1