p PatchFirst

CVE-2021-41991

CVE-2021-41991

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 5.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • strongswan Debian:12

    Affected ranges
    • ECOSYSTEM: < 5.9.4-1

    Update to 5.9.4-1

  • strongswan Debian:13

    Affected ranges
    • ECOSYSTEM: < 5.9.4-1

    Update to 5.9.4-1

  • strongswan Debian:14

    Affected ranges
    • ECOSYSTEM: < 5.9.4-1

    Update to 5.9.4-1

  • strongswan Ubuntu:Pro:14.04:LTS

    Versions
    • 4.6.4-9
    • 5.1.0-2
    • 5.1.0-3
    • 5.1.1-0ubuntu1
    • 5.1.1-0ubuntu2
    • 5.1.1-0ubuntu3
    • 5.1.1-0ubuntu4
    • 5.1.1-0ubuntu5
    • 5.1.1-0ubuntu7
    • 5.1.1-0ubuntu14
    • 5.1.1-0ubuntu17
    • 5.1.2~dr3+git20130120-0ubuntu2
    • 5.1.2~dr3+git20130120-0ubuntu3
    • 5.1.2~rc1-0ubuntu3
    • 5.1.2~rc1-0ubuntu4
    • 5.1.2~rc2-0ubuntu2
    • 5.1.2-0ubuntu1
    • 5.1.2-0ubuntu2
    • 5.1.2-0ubuntu2.2
    • 5.1.2-0ubuntu2.3
    • 5.1.2-0ubuntu2.4
    • 5.1.2-0ubuntu2.5
    • 5.1.2-0ubuntu2.6
    • 5.1.2-0ubuntu2.7
    • 5.1.2-0ubuntu2.8
    • 5.1.2-0ubuntu2.10
    • 5.1.2-0ubuntu2.11
    Affected ranges
    • ECOSYSTEM: < 5.1.2-0ubuntu2.11+esm1

    Update to 5.1.2-0ubuntu2.11+esm1

  • strongswan Ubuntu:Pro:16.04:LTS

    Versions
    • 5.1.2-0ubuntu6
    • 5.1.2-0ubuntu7
    • 5.1.2-0ubuntu8
    • 5.3.5-1ubuntu1
    • 5.3.5-1ubuntu2
    • 5.3.5-1ubuntu3
    • 5.3.5-1ubuntu3.1
    • 5.3.5-1ubuntu3.2
    • 5.3.5-1ubuntu3.3
    • 5.3.5-1ubuntu3.4
    • 5.3.5-1ubuntu3.5
    • 5.3.5-1ubuntu3.7
    • 5.3.5-1ubuntu3.8
    Affected ranges
    • ECOSYSTEM: < 5.3.5-1ubuntu3.8+esm1

    Update to 5.3.5-1ubuntu3.8+esm1

  • strongswan Ubuntu:Pro:FIPS-updates:16.04:LTS

    Versions
    • 5.3.5-1ubuntu3.fips.3.4.1
    • 5.3.5-1ubuntu3.fips.3.4.2
    • 5.3.5-1ubuntu3.fips.3.8.1
    Affected ranges
    • ECOSYSTEM: < 5.3.5-1ubuntu3.fips.3.8.2

    Update to 5.3.5-1ubuntu3.fips.3.8.2

  • strongswan Ubuntu:Pro:FIPS:16.04:LTS

    Versions
    • 5.3.5-1ubuntu3.fips.3.1
    • 5.3.5-1ubuntu3.fips.3.2
    • 5.3.5-1ubuntu3.fips.3.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • strongswan Ubuntu:18.04:LTS

    Versions
    • 5.5.1-4ubuntu2
    • 5.5.1-4ubuntu3
    • 5.6.1-2ubuntu1
    • 5.6.1-2ubuntu2
    • 5.6.1-2ubuntu3
    • 5.6.1-2ubuntu4
    • 5.6.2-1ubuntu2
    • 5.6.2-1ubuntu2.2
    • 5.6.2-1ubuntu2.3
    • 5.6.2-1ubuntu2.4
    • 5.6.2-1ubuntu2.5
    • 5.6.2-1ubuntu2.6
    Affected ranges
    • ECOSYSTEM: < 5.6.2-1ubuntu2.7

    Update to 5.6.2-1ubuntu2.7

  • strongswan Ubuntu:Pro:FIPS-updates:18.04:LTS

    Versions
    • 5.6.2-1ubuntu2.fips.2.5.1
    Affected ranges
    • ECOSYSTEM: < 5.6.2-1ubuntu2.fips.2.7.1

    Update to 5.6.2-1ubuntu2.fips.2.7.1

  • strongswan Ubuntu:Pro:FIPS:18.04:LTS

    Versions
    • 5.6.2-1ubuntu2.fips.2.4.2
    • 5.6.2-1ubuntu2.fips.2.5.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • strongswan Ubuntu:20.04:LTS

    Versions
    • 5.7.2-1ubuntu3
    • 5.8.1-1ubuntu1
    • 5.8.2-1ubuntu1
    • 5.8.2-1ubuntu2
    • 5.8.2-1ubuntu3
    • 5.8.2-1ubuntu3.1
    • 5.8.2-1ubuntu3.2
    Affected ranges
    • ECOSYSTEM: < 5.8.2-1ubuntu3.3

    Update to 5.8.2-1ubuntu3.3

  • strongswan Ubuntu:Pro:FIPS-updates:20.04:LTS

    Versions
    • 5.8.2-1ubuntu3.fips.3.1.2
    Affected ranges
    • ECOSYSTEM: < 5.8.2-1ubuntu3.fips.3.3.1

    Update to 5.8.2-1ubuntu3.fips.3.3.1

  • strongswan Ubuntu:Pro:FIPS:20.04:LTS

    Versions
    • 5.8.2-1ubuntu3.fips.3.1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • strongswan Ubuntu:22.04:LTS

    Versions
    • 5.9.1-1ubuntu3
    Affected ranges
    • ECOSYSTEM: < 5.9.1-1ubuntu3.1

    Update to 5.9.1-1ubuntu3.1

Original sources

Check your server →