[SECURITY] [DSA 3866-1] strongswan security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian Security Advisory DSA-3866-1                   security@debian.org
https://www.debian.org/security/                        Yves-Alexis Perez
May 30, 2017                          https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package        : strongswan
CVE ID         : CVE-2017-9022 CVE-2017-9023

Two denial of service vulnerabilities were identified in strongSwan, an
IKE/IPsec suite, using Googles OSS-Fuzz fuzzing project.

CVE-2017-9022

    RSA public keys passed to the gmp plugin arent validated sufficiently
    before attempting signature verification, so that invalid input might
    lead to a floating point exception and crash of the process.
    A certificate with an appropriately prepared public key sent by a peer
    could be used for a denial-of-service attack.

CVE-2017-9023

    ASN.1 CHOICE types are not correctly handled by the ASN.1 parser when
    parsing X.509 certificates with extensions that use such types. This could
    lead to infinite looping of the thread parsing a specifically crafted
    certificate.

A fix for a build failure was additionally included in the 5.2.1-6+deb8u4
revision of the strongSwan package.

For the stable distribution (jessie), these problems have been fixed in
version 5.2.1-6+deb8u3.

For the upcoming stable distribution (stretch), these problems have been
fixed in version 5.5.1-4

For the unstable distribution (sid), these problems have been fixed in
version 5.5.1-4.

We recommend that you upgrade your strongswan packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEl0WwInMjgf6efq/1bdtT8qZ1wKUFAlktX04ACgkQbdtT8qZ1
wKWTFQf+MMdSFvrdeXksFRmtKWWtTaQew4NwDU0EOK8yYAKqpiCGICnP7+6cCAQf
UqpD8ZD67gdqLA4E+sAhM3HDuuC+kIx3r+7Qk65zim8RpdRBViZIGCAi46gWoIAU
4w7M+VKWbMZGLzNlde6OApEorQYCBQSpRIi8wTBs9PN/n2UaDlESrc+plGBI/mn2
/ShzEDc6MJxhAuFv+Pvq4OGrHpd2s0FrSn83jkkFm9MIGxEOIyy6ohsfHVlbapyi
9gg/qxNwv2mpUq5KRM4fOvpFTJ5wFO0k/eD1fV0L88dgBZYk+wQJ+ofRK/CNf3of
jMgsv9QBKV3kmHdvzJAYaTIii3N/8Q==
=/Us5
-----END PGP SIGNATURE-----