cbcvebase.
CVE-2018-16152
published 2018-09-26

CVE-2018-16152: 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…

PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.89%
77.3th percentile
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 in the digestAlgorithm.parameters field during PKCS#1 v1.5 signature verification. Consequently, 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. This is a variant of CVE-2006-4790 and CVE-2014-1568.

Affected

15 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debianstrongswan< strongswan 5.7.0-1 (bookworm)strongswan 5.7.0-1 (bookworm)
strongswanstrongswan>= 0 < 5.7.0-15.7.0-1
strongswanstrongswan>= 0 < 5.7.0-15.7.0-1
strongswanstrongswan>= 0 < 5.7.0-15.7.0-1
strongswanstrongswan>= 0 < 5.7.0-15.7.0-1
strongswanstrongswan>= 0 < 5.1.2-0ubuntu2.105.1.2-0ubuntu2.10
strongswanstrongswan>= 0 < 5.3.5-1ubuntu3.75.3.5-1ubuntu3.7
strongswanstrongswan>= 0 < 5.6.2-1ubuntu2.25.6.2-1ubuntu2.2
strongswanstrongswan4.0.0 – 4.6.4
strongswanstrongswan>= 5.0.0 < 5.7.05.7.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.