Description
The IKE daemon in strongSwan 4.3.x before 4.3.7 and 4.4.x before 4.4.1 does not properly check the return values of snprintf calls, which allows remote attackers to execute arbitrary code via crafted (1) certificate or (2) identity data that triggers buffer overflows.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | strongswan | 4.4.1-1 | — |
| Debian 13 | strongswan | 4.4.1-1 | — |
| Debian 12 | strongswan | 4.4.1-1 | — |
References
- ADV-2010-2086 vdb-entry
- [opensuse-updates] 20100810 openSUSE-SU-2010:0496-1 (important): strongswan: fixing snprintf overflows mailing-list
- [users] 20100802 ANNOUNCE: strongswan-4.4.1 released mailing-list
- http://download.strongswan.org/patches/08_snprintf_patch/strongswan-4.3.4_snprintf.patch
- ADV-2010-2085 vdb-entry
- 1024338 vdb-entry
- http://download.strongswan.org/patches/08_snprintf_patch/strongswan-4.4.0_snprintf.patch
- http://download.strongswan.org/patches/08_snprintf_patch/strongswan-4.3.6_snprintf.patch
- http://download.strongswan.org/patches/08_snprintf_patch/strongswan-4.3.3_snprintf.patch
- 40956 third-party-advisory
- 42444 vdb-entry
- https://bugzilla.novell.com/615915
- http://trac.strongswan.org/projects/strongswan/wiki/441
- http://download.strongswan.org/patches/08_snprintf_patch/strongswan-4.3.5_snprintf.patch