CVE-2018-16151
published high CVSS 3.1 · 7.5strongswan: authentication bypass in verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Debian | jessie | strongswan | Advisory build | 5.2.1-6+deb8u7 | DLA-1522-1 |
| SUSE / openSUSE | SLE-11-SP3 | strongswani586 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| Alpine Linux | v3.10 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.11 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.12 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.13 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.15 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.16 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.17 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.18 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.19 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.20 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.21 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.22 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.23 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.24 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Alpine Linux | v3.5 | strongswan | Fixed | 5.5.3-r2 | Package fix record |
| Alpine Linux | v3.6 | strongswan | Fixed | 5.5.3-r2 | Package fix record |
| Alpine Linux | v3.7 | strongswan | Fixed | 5.6.3-r1 | Package fix record |
| Alpine Linux | v3.8 | strongswan | Fixed | 5.6.3-r2 | Package fix record |
| Alpine Linux | v3.9 | strongswan | Fixed | 5.7.0-r0 | Package fix record |
| Debian | stretch | strongswan | Advisory build | 5.5.1-4+deb9u3 | DSA-4305-1 |
| SUSE / openSUSE | SLE-11-SP3 | strongswan-doci586 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswani586 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswanppc64 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswans390x | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswanx86_64 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswan-doci586 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswan-docppc64 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswan-docs390x | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-11-SP4 | strongswan-docx86_64 | Advisory build | 4.4.0-6.36.12.1 | SUSE-SU-2022:14887-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswanppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswans390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswanx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-docnoarch | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-hmacppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-hmacs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-hmacx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-ipsecppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-ipsecs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-ipsecx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-libs0ppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-libs0s390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP1 | strongswan-libs0x86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswanppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswans390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswanx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-docnoarch | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-hmacppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-hmacs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-hmacx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-ipsecppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-ipsecs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-ipsecx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-libs0ppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-libs0s390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP2 | strongswan-libs0x86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswanaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswanppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswans390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswanx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-docnoarch | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-hmacaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-hmacppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-hmacs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-hmacx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-ipsecaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-ipsecppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-ipsecs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-ipsecx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-libs0aarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-libs0ppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-libs0s390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP3 | strongswan-libs0x86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswanaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswanppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswans390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswanx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-docnoarch | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-hmacaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-hmacppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-hmacs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-hmacx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-ipsecaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-ipsecppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-ipsecs390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-ipsecx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-libs0aarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-libs0ppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-libs0s390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP4 | strongswan-libs0x86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswanaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswanppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswans390x | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswanx86_64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswan-docnoarch | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswan-hmacaarch64 | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
| SUSE / openSUSE | SLE-12-SP5 | strongswan-hmacppc64le | Advisory build | 5.1.3-26.13.1 | SUSE-SU-2019:3266-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
8- openSUSE-SU-2019:2594 http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
- openSUSE-SU-2019:2598 http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
- openSUSE-SU-2020:0403 http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1522-1] strongswan security update https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html
- GLSA-201811-16 https://security.gentoo.org/glsa/201811-16
- USN-3771-1 https://usn.ubuntu.com/3771-1/
- DSA-4305 https://www.debian.org/security/2018/dsa-4305
- https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.html
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c0d23073295b6bde7489ac242d711344a472d4e7e55812574dbc68f4b5a66fb
- Ingested
- 23 Sep 2026, 07:43:50 UTC
- Source record
- Official CVE record