CVE-2018-16152

NameCVE-2018-16152
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 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1522-1, DSA-4305-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
strongswan (PTS)jessie, jessie (lts)5.2.1-6+deb8u11fixed
stretch (security)5.5.1-4+deb9u6fixed
stretch (lts), stretch5.5.1-4+deb9u7fixed
buster (security), buster, buster (lts)5.7.2-1+deb10u4fixed
bullseye (security), bullseye5.9.1-1+deb11u4fixed
bookworm (security), bookworm5.9.8-5+deb12u1fixed
sid, trixie5.9.13-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
strongswansourcewheezy(unfixed)end-of-life
strongswansourcejessie5.2.1-6+deb8u7DLA-1522-1
strongswansourcestretch5.5.1-4+deb9u3DSA-4305-1
strongswansource(unstable)5.7.0-1

Notes

https://strongswan.org/blog/2018/09/24/strongswan-vulnerability-(cve-2018-16151,-cve-2018-16152).html

Search for package or bug name: Reporting problems