VDB
CVE-2018-16151
CVE-2018-16151
PUBLISHED
CVSS 7.5 HIGH
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.
EPSS 1.89% · 78.3th percentile
Risk Scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score
1.89%
78.3th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | strongswan | 0, 5.1.2-0ubuntu6, 5.3.5-1ubuntu2 |
| Ubuntu:14.04:LTS | strongswan | 5.1.1-0ubuntu2, 5.1.2-0ubuntu2, 5.1.2-0ubuntu2.2 |
| Ubuntu:18.04:LTS | strongswan | 5.5.1-4ubuntu2, 5.5.1-4ubuntu3, 5.6.1-2ubuntu1 |
Timeline
- Sep 24, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 25, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Sep 7, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
- Jan 10, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-16151 third-party-advisory
- https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html third-party-advisory
- https://ubuntu.com/security/notices/USN-3771-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-16151 third-party-advisory