USN-3301-1: strongSwan vulnerabilities

Ubuntu Security Notice USN-3301-1

30th May, 2017

strongswan vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.04
  • Ubuntu 16.10
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS


strongSwan could be made to crash or hang if it received specially crafted network traffic.

Software description

  • strongswan - IPsec VPN solution


It was discovered that the strongSwan gmp plugin incorrectly validated RSA
public keys. A remote attacker could use this issue to cause strongSwan to
crash, resulting in a denial of service. (CVE-2017-9022)

It was discovered that strongSwan incorrectly parsed ASN.1 CHOICE types. A
remote attacker could use this issue to cause strongSwan to hang, resulting
in a denial of service. (CVE-2017-9023)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 17.04:
libstrongswan 5.5.1-1ubuntu3.1
strongswan 5.5.1-1ubuntu3.1
Ubuntu 16.10:
strongswan 5.3.5-1ubuntu4.3
libstrongswan 5.3.5-1ubuntu4.3
strongswan-plugin-gmp 5.3.5-1ubuntu4.3
Ubuntu 16.04 LTS:
strongswan 5.3.5-1ubuntu3.3
libstrongswan 5.3.5-1ubuntu3.3
strongswan-plugin-gmp 5.3.5-1ubuntu3.3
Ubuntu 14.04 LTS:
strongswan 5.1.2-0ubuntu2.6
libstrongswan 5.1.2-0ubuntu2.6
strongswan-plugin-gmp 5.1.2-0ubuntu2.6

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.


CVE-2017-9022, CVE-2017-9023