Summary
This update for strongswan fixes the following issues:
Strongswan was updated to version 5.8.2 (jsc#SLE-11370).
Security issue fixed:
- CVE-2018-6459: Fixed a DoS vulnerability in the parser for PKCS#1 RSASSA-PSS signatures that was caused by insufficient input validation (bsc#1079548).
Full changelogs:
Version 5.8.2
* Identity-based CA constraints, which enforce that the certificate chain of the remote
peer contains a CA certificate with a specific identity, are supported via
vici/swanctl.conf. This is similar to the existing CA constraints but doesn't require
that the CA certificate is locally installed, for instance, intermediate CA certificates
received from the peers. Wildcard identity matching (e.g. ..., OU=Research, CN=*) could
also be used for the latter but requires trust in the intermediate CAs to only issue
certificates with legitimate subject DNs (e.g. the 'Sales' CA must not issue certificates
with OU=Research). With the new constraint that's not necessary as long as a path length
basic constraint (--pathlen for pki --issue) prevents intermediate CAs from issuing further
intermediate CAs.
* Intermediate CA certificates may now be sent in hash-and-URL encoding by configuring a
base URL for the parent CA (#3234, swanctl/rw-hash-and-url-multi-level).
* Implemented NIST SP-800-90A Deterministic Random Bit Generator (DRBG) based on AES-CTR
and SHA2-HMAC modes. Currently used by the gmp and ntru plugins.
* Random nonces sent in an OCSP requests are now expected in the corresponding OCSP responses.
* The kernel-netlink plugin now ignores deprecated IPv6 addresses for MOBIKE. Whether temporary
or permanent IPv6 addresses are included now depends on the charon.prefer_temporary_addrs
setting (#3192).
* Extended Sequence Numbers (ESN) are configured via PF_KEY if supported by the kernel.
* The PF_KEY socket's receive buffer in the kernel-pfkey plugin is now cleared before sending
requests, as many of the messages sent by the kernel are sent as broadcasts to all PF_KEY
sockets. This is an issue if an external tool is used to manage SAs/policies unrelated to
IPsec (#3225).
* The vici plugin now uses unique section names for CHILD_SAs in child-updown events (7c74ce9190).
* For individually deleted CHILD_SAs (in particular for IKEv1) the vici child-updown event
now includes more information about the CHILD_SAs such as traffic statistics (#3198).
* Custom loggers are correctly re-registered if log levels are changed via stroke loglevel (#3182).
* Avoid lockups during startup on low entropy systems when using OpenSSL 1.1.1 (095a2c2eac).
* Instead of failing later when setting a key, creating HMACs via openssl plugin now fails
instantly if the underlying hash algorithm isn't supported (e.g. MD5 in FIPS-mode) so fallbacks
to other plugins work properly (#3284).
* Exponents of RSA keys read from TPM 2.0 via SAPI are correctly converted (8ee1242f1438).
* Routing table IDs > 255 are supported for custom routes on Linux.
* To avoid races, the check for hardware offloading support in the kernel-netlink plugin is
performed during initialization of the plugin (a605452c03).
* The D-Bus config file for charon-nm is now installed in $(datadir)/dbus-1/system.d instead of
$(sysconfdir)/dbus-1/system.d, which is intended for sysadmin overrides.
INVALID_MAJOR_VERSION notifies are now correctly sent in messages of the same exchange type
and with the same message ID as the request.
* IKEv2 SAs are now immediately destroyed when sending or receiving INVALID_SYNTAX notifies
in authenticated messages.
* For developers working from the repository the configure script now aborts if GNU gperf is
not found.
Version 5.8.1
* RDNs in DNs of X.509 certificates can now optionally be matched less strict. The global
strongswan.conf option charon.rdn_matching takes two alternative values that cause the
matching algorithm to either ignore the order of matched RDNs (reordered) or additionally
(relaxed) accept DNs that contain more RDNs than configured (unmatched RDNs are treated
like wildcard matches).
* The updown plugin now passes the same interface to the script that is also used for the
automatically installed routes, that is, the interface over which the peer is reached
instead of the interface on which the local address is found (#3095).
* TPM 2.0 contexts are now protected by a mutex to prevent issues if multiple IKE_SAs use
the same private key concurrently (4b25885025).
* Do a rekey check after the third QM message was received (#3060).
* If available, explicit_bzero() is now used as memwipe() instead of our own implementation.
* An .editorconfig file has been added, mainly so Github shows files with proper indentation
(68346b6962).
* The internal certificate of the load-tester plugin has been modified so it can again be
used as end-entity cert with 5.6.3 and later (#3139).
* The maximum data length of received COOKIE notifies (64 bytes) is now enforced (#3160).
Version 5.8.0
* The systemd service units have been renamed. The modern unit, which was called
strongswan-swanctl, is now called strongswan (the previous name is configured as alias in
the unit, for which a symlink is created when the unit is enabled). The legacy unit is now
called strongswan-starter.
* Support for XFRM interfaces (available since Linux 4.19) has been added, which are intended
to replace VTI devices (they are similar but offer several advantages, for instance, they
are not bound to an address or address family).
* IPsec SAs and policies are associated with such interfaces via interface IDs that can be
configured in swanctl.conf (dynamic IDs may optionally be allocated for each SA and even
direction). It's possible to use separate interfaces for in- and outbound traffic (or
only use an interface in one direction
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.1 | strongswan | 5.8.2-lp151.4.6.1 |
Vulnerabilities 1
-
Unscored —
The rsa_pss_params_parse function in libstrongswan/credentials/keys/signature_params.c in strongSwan 5.6.1 allows remot…