CVE-2018-16151
Fixed in a distro release EPSS 2%CVSS 7.5
In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not reject excess data after the encoded algorithm OID during PKCS#1 v1.5 signature verification. Similar to the flaw in the same version of strongSwan regarding digestAlgorithm.parameters, a remote attacker can forge signatures when small public exponents are being used, which could lead to impersonation when only an RSA signature is used for IKEv2 authentication.
Products: strongswan, debian_linux, canonical ubuntu_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.10 | strongswan | 5.7.0-r0 |
| Alpine 3.11 | strongswan | 5.7.0-r0 |
| Alpine 3.12 | strongswan | 5.7.0-r0 |
| Alpine 3.13 | strongswan | 5.7.0-r0 |
| Alpine 3.14 | strongswan | 5.7.0-r0 |
| Alpine 3.15 | strongswan | 5.7.0-r0 |
| Alpine 3.16 | strongswan | 5.7.0-r0 |
| Alpine 3.17 | strongswan | 5.7.0-r0 |
| Alpine 3.18 | strongswan | 5.7.0-r0 |
| Alpine 3.19 | strongswan | 5.7.0-r0 |
| Alpine 3.20 | strongswan | 5.7.0-r0 |
| Alpine 3.21 | strongswan | 5.7.0-r0 |
| Alpine 3.22 | strongswan | 5.7.0-r0 |
| Alpine 3.23 | strongswan | 5.7.0-r0 |
| Alpine 3.24 | strongswan | 5.7.0-r0 |
| Alpine 3.5 | strongswan | 5.5.3-r2 |
| Alpine 3.6 | strongswan | 5.5.3-r2 |
| Alpine 3.7 | strongswan | 5.6.3-r1 |
| Alpine 3.8 | strongswan | 5.6.3-r2 |
| Alpine 3.9 | strongswan | 5.7.0-r0 |
| Arch Linux | strongswan | 5.7.0-1 |
| Debian 12 | strongswan | 5.7.0-1 |
| Debian 13 | strongswan | 5.7.0-1 |
| Debian 14 | strongswan | 5.7.0-1 |
| Debian 8 | strongswan | 5.2.1-6+deb8u7 |
| Debian 9 | strongswan | 5.5.1-4+deb9u3 |
| SUSE Enterprise Storage 5 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Desktop 12 SP4 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Module for Basesystem 15 | strongswan | 5.6.0-4.3.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | strongswan | 5.6.0-4.3.2 |
| SUSE Linux Enterprise Module for Package Hub 15 | strongswan | 5.6.0-4.3.2 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | strongswan | 4.4.0-6.36.12.1 |
| SUSE Linux Enterprise Server 11 SP4-LTSS | strongswan | 4.4.0-6.36.12.1 |
| SUSE Linux Enterprise Server 12 SP1-LTSS | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP2-LTSS | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP3-BCL | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP3-LTSS | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP4 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server 12 SP5 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | strongswan | 5.1.3-26.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | strongswan | 5.1.3-26.13.1 |
| SUSE OpenStack Cloud 7 | strongswan | 5.1.3-26.13.1 |
| SUSE OpenStack Cloud 8 | strongswan | 5.1.3-26.13.1 |
| Ubuntu 14.04 LTS | strongswan | 5.1.2-0ubuntu2.10 |
| Ubuntu 16.04 LTS | strongswan | 5.3.5-1ubuntu3.7 |
| Ubuntu 18.04 LTS | strongswan | 5.6.2-1ubuntu2.2 |
| openSUSE Leap 15.0 | strongswan | 5.6.0-lp150.3.3.1 |
| openSUSE Leap 15.1 | strongswan | 5.6.0-lp151.4.3.1 |