CVE-2021-41991

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductStrongswan
PublishedOct 18, 2021
First seenOct 18, 2021

How to fix

Affected products

ProductAffected versionsFixed in
strongswan strongswan4.2.10 ≤ v < 5.9.45.9.4
debian debian_linux9.0, 10.0, 11.0—
fedoraproject fedora33, 34, 35—
siemens sinema_remote_connect_serverNo range specified—
siemens siplus_et_200sp_cp_1542sp-1_irc_tx_rail_firmwareNo range specified—
siemens simatic_cp_1243-1_firmwareNo range specified—
siemens simatic_cp_1242-7_gprs_v2_firmwareNo range specified—
siemens simatic_net_cp_1243-8_irc_firmwareNo range specified—
siemens scalance_sc632-2c_firmwareNo range specified—
siemens siplus_et_200sp_cp_1543sp-1_isec_firmwareNo range specified—
siemens cp_1543-1_firmwareNo range specified—
siemens simatic_net_cp_1545-1_firmwareNo range specified—
siemens simatic_cp_1543sp-1_firmwareNo range specified—
siemens simatic_net_cp1243-7_lte_eu_firmwareNo range specified—
siemens simatic_cp_1243-7_lte\/us_firmwareNo range specified—
siemens simatic_cp_1542sp-1_firmwareNo range specified—
siemens scalance_sc636-2c_firmwareNo range specified—
siemens simatic_cp_1542sp-1_irc_firmwareNo range specified—
siemens scalance_sc642-2c_firmwareNo range specified—
siemens scalance_sc646-2c_firmwarev < 2.32.3
siemens scalance_sc622-2c_firmwareNo range specified—
siemens siplus_s7-1200_cp_1243-1_rail_firmwareNo range specified—
siemens siplus_s7-1200_cp_1243-1_firmwareNo range specified—
siemens siplus_net_cp_1543-1_firmwareNo range specified—
siemens siplus_et_200sp_cp_1543sp-1_isec_tx_rail_firmwareNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.