CVE-2017-9022
The gmp plugin in strongSwan before 5.5.3 does not properly validate RSA public keys before calling mpz_powm_sec, which allows remote peers to cause a denial of service (floating point exception and process crash) via a crafted certificate.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | strongswan | Fixed | 5.3.5-1ubuntu3.3 | UBUNTU-CVE-2017-9022 |
| Ubuntu 14.04 | strongswan | Fixed | 5.1.2-0ubuntu2.6 | UBUNTU-CVE-2017-9022 |
| Debian 14 | strongswan | Fixed | 5.5.1-4 | DEBIAN-CVE-2017-9022 |
| Debian 13 | strongswan | Fixed | 5.5.1-4 | DEBIAN-CVE-2017-9022 |
| Debian 12 | strongswan | Fixed | 5.5.1-4 | DEBIAN-CVE-2017-9022 |
| Red Hat Enterprise Linux 7 | strongimcv | Not affected | ||
| Alpine Linux 3.24 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.23 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.22 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.21 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.20 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.19 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.18 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.17 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.16 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.15 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.14 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.13 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.12 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.11 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.10 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.9 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.8 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.7 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.6 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.5 | strongswan | Fixed | 5.5.3-r0 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.4 | strongswan | Fixed | 5.4.0-r2 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.3 | strongswan | Fixed | 5.3.5-r2 | ALPINE-CVE-2017-9022 |
| Alpine Linux 3.2 | strongswan | Fixed | 5.3.5-r2 | ALPINE-CVE-2017-9022 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3866 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-3301-1 (vendor-advisory)
References
- https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html
- http://www.debian.org/security/2017/dsa-3866
- http://www.securityfocus.com/bid/98760
- http://www.ubuntu.com/usn/USN-3301-1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.