ID CVE-2021-41991
Summary 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
Vulnerable Configurations
  • cpe:2.3:a:strongswan:strongswan:4.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.10:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.11:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.12:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.13:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.13:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.14:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.14:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.15:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.2.16:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.2.16:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.5:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.6:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.3.7:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:4.6.4:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:4.6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.3.5:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:strongswan:strongswan:5.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:strongswan:strongswan:5.8.2:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • cpe:2.3:a:siemens:sinema_remote_connect_server:-:*:*:*:*:*:*:*
    cpe:2.3:a:siemens:sinema_remote_connect_server:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_et_200sp_cp_1542sp-1_irc_tx_rail_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_et_200sp_cp_1542sp-1_irc_tx_rail_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_et_200sp_cp_1542sp-1_irc_tx_rail:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_et_200sp_cp_1542sp-1_irc_tx_rail:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1243-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1243-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1243-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1243-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1242-7_gprs_v2_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1242-7_gprs_v2_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1242-7_gprs_v2:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1242-7_gprs_v2:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_net_cp_1243-8_irc_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_net_cp_1243-8_irc_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_net_cp_1243-8_irc:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_net_cp_1243-8_irc:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:scalance_sc632-2c_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:scalance_sc632-2c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:scalance_sc632-2c:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:scalance_sc632-2c:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_et_200sp_cp_1543sp-1_isec_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_et_200sp_cp_1543sp-1_isec_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_et_200sp_cp_1543sp-1_isec:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_et_200sp_cp_1543sp-1_isec:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:cp_1543-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:cp_1543-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:cp_1543-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:cp_1543-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_net_cp_1545-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_net_cp_1545-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_net_cp_1545-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_net_cp_1545-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1543sp-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1543sp-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1543sp-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1543sp-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_net_cp1243-7_lte_eu_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_net_cp1243-7_lte_eu_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_net_cp1243-7_lte_eu:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_net_cp1243-7_lte_eu:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1243-7_lte\/us_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1243-7_lte\/us_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1243-7_lte\/us:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1243-7_lte\/us:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1542sp-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1542sp-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1542sp-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1542sp-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:scalance_sc636-2c_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:scalance_sc636-2c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:scalance_sc636-2c:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:scalance_sc636-2c:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:simatic_cp_1542sp-1_irc_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:simatic_cp_1542sp-1_irc_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:simatic_cp_1542sp-1_irc:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:simatic_cp_1542sp-1_irc:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:scalance_sc642-2c_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:scalance_sc642-2c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:scalance_sc642-2c:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:scalance_sc642-2c:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:scalance_sc646-2c_firmware:*:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:scalance_sc646-2c_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:scalance_sc646-2c:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:scalance_sc646-2c:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:scalance_sc622-2c_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:scalance_sc622-2c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:scalance_sc622-2c:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:scalance_sc622-2c:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_s7-1200_cp_1243-1_rail_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_s7-1200_cp_1243-1_rail_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_s7-1200_cp_1243-1_rail:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_s7-1200_cp_1243-1_rail:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_s7-1200_cp_1243-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_s7-1200_cp_1243-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_s7-1200_cp_1243-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_s7-1200_cp_1243-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_net_cp_1543-1_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_net_cp_1543-1_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_net_cp_1543-1:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_net_cp_1543-1:-:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:siplus_et_200sp_cp_1543sp-1_isec_tx_rail_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:siemens:siplus_et_200sp_cp_1543sp-1_isec_tx_rail_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:siemens:siplus_et_200sp_cp_1543sp-1_isec_tx_rail:-:*:*:*:*:*:*:*
    cpe:2.3:h:siemens:siplus_et_200sp_cp_1543sp-1_isec_tx_rail:-:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 12-04-2022 - 18:42)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
Last major update 12-04-2022 - 18:42
Published 18-10-2021 - 14:15
Last modified 12-04-2022 - 18:42
Back to Top