CVE-2018-16151

Summary

CVECVE-2018-16151
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-09-26 21:29:00 UTC
Updated2023-11-07 02:53:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-347

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Strongswan Strongswan All All All All
Application Strongswan Strongswan All All All All
Application Strongswan Strongswan All All All All

References

ReferenceSourceLinkTags
[security-announce] openSUSE-SU-2019:2598-1: important: Security update SUSE lists.opensuse.org
strongSwan - strongSwan Vulnerability (CVE-2018-16151, CVE-2018-16152) www.strongswan.org
[security-announce] openSUSE-SU-2019:2594-1: important: Security update SUSE lists.opensuse.org
strongSwan: Multiple vulnerabilities (GLSA 201811-16) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
[SECURITY] [DLA 1522-1] strongswan security update MLIST lists.debian.org Mailing List, Third Party Advisory
USN-3771-1: strongSwan vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
Debian -- Security Information -- DSA-4305-1 strongswan DEBIAN www.debian.org Third Party Advisory
strongSwan - strongSwan Vulnerability (CVE-2018-16151, CVE-2018-16152) CONFIRM www.strongswan.org Mitigation, Patch, Technical Description, Vendor Advisory
[security-announce] openSUSE-SU-2020:0403-1: moderate: Security update f SUSE lists.opensuse.org
strongSwan - strongSwan Vulnerability (CVE-2018-16151, CVE-2018-16152) MITRE www.strongswan.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500667 Alpine Linux Security Update for strongswan
  • 504437 Alpine Linux Security Update for strongswan
  • 710305 Gentoo Linux strongSwan Multiple Vulnerabilities (GLSA 201811-16)
  • 753457 SUSE Enterprise Linux Security Update for strongswan (SUSE-SU-2022:14887-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report