Vulnerability Details : CVE-2018-16151
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 affected by CVE-2018-16151
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:*
- cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-16151
1.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 84 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-16151
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-16151
-
The product does not verify, or incorrectly verifies, the cryptographic signature for data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-16151
-
https://usn.ubuntu.com/3771-1/
USN-3771-1: strongSwan vulnerabilities | Ubuntu security noticesThird Party Advisory
-
https://security.gentoo.org/glsa/201811-16
strongSwan: Multiple vulnerabilities (GLSA 201811-16) — Gentoo securityThird Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
[security-announce] openSUSE-SU-2019:2594-1: important: Security update
-
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
[security-announce] openSUSE-SU-2019:2598-1: important: Security update
-
https://www.debian.org/security/2018/dsa-4305
Debian -- Security Information -- DSA-4305-1 strongswanThird Party Advisory
-
https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html
strongSwan - strongSwan Vulnerability (CVE-2018-16151, CVE-2018-16152)Mitigation;Patch;Technical Description;Vendor Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
[security-announce] openSUSE-SU-2020:0403-1: moderate: Security update f
-
https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html
[SECURITY] [DLA 1522-1] strongswan security updateMailing List;Third Party Advisory
Jump to