Integer overflow in strongSwan - CVE-2021-41991

 

Integer overflow in strongSwan - CVE-2021-41991

Published: October 19, 2021


Vulnerability identifier: #VU57553
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-41991
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing multiple requests with different certificates. A remote attacker can send specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

strongSwan
Gentoo Linux
SUSE CaaS Platform
SUSE Enterprise Storage
Fedora
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
HPE Helion Openstack
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Module for Basesystem
openEuler
strongswan (Debian package)
SUSE Linux Enterprise Module for Packagehub Subpackages
strongswan
strongswan-doc
strongswan-debuginfo
strongswan-debugsource
strongswan-ipsec-debuginfo
strongswan-ipsec
strongswan-hmac
strongswan-libs0-debuginfo
strongswan-libs0
libstrongswan (Ubuntu package)
strongswan (Ubuntu package)
strongswan-help
strongswan-nm
strongswan-nm-debuginfo
net-vpn/strongswan
PowerStore T

How to mitigate CVE-2021-41991

Install updates from vendor's website.

strongSwan - update to 5.9.4
strongswan (Debian package) - addressed in versions 5.7.2-1+deb10u1, 5.9.1-1+deb11u1
PowerStore T - update to 3.5.0.1-2083289
strongswan - addressed in versions 4.4.0-6.36.9.1, 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-doc - addressed in versions 4.4.0-6.36.9.1, 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-debuginfo - addressed in versions 4.4.0-6.36.9.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-debugsource - addressed in versions 4.4.0-6.36.9.1, 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-ipsec-debuginfo - addressed in versions 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-ipsec - addressed in versions 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-hmac - addressed in versions 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-libs0-debuginfo - addressed in versions 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
strongswan-libs0 - addressed in versions 5.1.3-26.16.1, 5.8.2-4.14.2, 5.8.2-11.21.1
libstrongswan (Ubuntu package) - addressed in versions 5.3.51ubuntu3.8+esm1, 5.6.2-1ubuntu2.7, 5.8.2-1ubuntu3.3, 5.9.1-1ubuntu1.2, 5.9.1-1ubuntu3.1
strongswan (Ubuntu package) - addressed in versions 5.3.51ubuntu3.8+esm1, 5.6.2-1ubuntu2.7, 5.8.2-1ubuntu3.3, 5.9.1-1ubuntu1.2, 5.9.1-1ubuntu3.1
strongswan - update to 5.7.2-7
strongswan-debuginfo - update to 5.7.2-7
strongswan-debugsource - update to 5.7.2-7
strongswan-help - update to 5.7.2-7
strongswan-nm - update to 5.8.2-11.21.1
strongswan-nm-debuginfo - update to 5.8.2-11.21.1
strongswan - addressed in versions 5.9.4-1.el8, 5.9.4-1.fc33, 5.9.4-1.fc34, 5.9.4-1.fc35, 5.9.4-1.fc36
net-vpn/strongswan - update to 5.9.10

External References

Related Security Bulletins