openwrt/package/network/services/hostapd/patches
Stefan Lippers-Hollmann 57ab9e3add hostapd: fix CVE-2019-9496
hostapd: fix SAE confirm missing state validation

Published: April 10, 2019
Identifiers:
- CVE-2019-9496 (SAE confirm missing state validation in hostapd/AP)
Latest version available from: https://w1.fi/security/2019-3/

Vulnerability

When hostapd is used to operate an access point with SAE (Simultaneous
Authentication of Equals; also known as WPA3-Personal), an invalid
authentication sequence could result in the hostapd process terminating
due to a NULL pointer dereference when processing SAE confirm
message. This was caused by missing state validation steps when
processing the SAE confirm message in hostapd/AP mode.

Similar cases against the wpa_supplicant SAE station implementation had
already been tested by the hwsim test cases, but those sequences did not
trigger this specific code path in AP mode which is why the issue was
not discovered earlier.

An attacker in radio range of an access point using hostapd in SAE
configuration could use this issue to perform a denial of service attack
by forcing the hostapd process to terminate.

Vulnerable versions/configurations

All hostapd versions with SAE support (CONFIG_SAE=y in the build
configuration and SAE being enabled in the runtime configuration).

Possible mitigation steps

- Merge the following commit to hostapd and rebuild:

  SAE: Fix confirm message validation in error cases

  These patches are available from https://w1.fi/security/2019-3/

- Update to hostapd v2.8 or newer, once available

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
[bump PKG_RELEASE]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-11 11:26:01 +02:00
..
001-mesh-factor-out-mesh-join-function.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
002-mesh-factor-out-rsn-initialization.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
003-mesh-relocate-RSN-init-function.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
004-mesh-use-setup-completion-callback-to-complete-mesh-.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
005-mesh-reflect-country-setting-to-mesh-configuration.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
007-mesh-apply-channel-attributes-before-running-Mesh.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
008-mesh-set-interface-type-to-mesh-before-setting-inter.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
009-mesh-set-mesh-center-frequency.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
010-mesh-consider-mesh-interface-on-dfs-event-handler.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
013-mesh-do-not-allow-pri-sec-channel-switch.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
014-mesh-do-not-allow-scan-result-to-swap-pri-sec.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
016-mesh-fix-channel-switch-error-during-CAC.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
017-mesh-use-right-interface-context-to-send-DFS-event-m.patch hostapd: update packaging and patches 2018-05-31 00:38:16 +02:00
018-mesh-make-forwarding-configurable.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
031-mesh-add-VHT_CHANWIDTH_USE_HT-to-max_oper_chwidth.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
032-mesh-implement-use-of-VHT20-config-in-mesh-mode.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
040-FT-Fix-CONFIG_IEEE80211X-y-build-without-CONFIG_FILS.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch hostapd: update the fix for a race condition in mesh new peer handling 2019-02-17 16:06:44 +01:00
061-0001-OpenSSL-Use-constant-time-operations-for-private-big.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0002-Add-helper-functions-for-constant-time-operations.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0003-OpenSSL-Use-constant-time-selection-for-crypto_bignu.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0005-SAE-Minimize-timing-differences-in-PWE-derivation.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0006-SAE-Avoid-branches-in-is_quadratic_residue_blind.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0007-SAE-Mask-timing-of-MODP-groups-22-23-24.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0008-SAE-Use-const_time-selection-for-PWE-in-FFC.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
061-0009-SAE-Use-constant-time-operations-in-sae_test_pwd_see.patch hostapd: fix CVE-2019-9494 2019-04-11 11:26:01 +02:00
062-0004-EAP-pwd-Use-constant-time-and-memory-access-for-find.patch hostapd: fix CVE-2019-9495 2019-04-11 11:26:01 +02:00
063-0010-SAE-Fix-confirm-message-validation-in-error-cases.patch hostapd: fix CVE-2019-9496 2019-04-11 11:26:01 +02:00
100-daemonize_fix.patch hostapd: update to version 2017-08-24 2017-10-07 05:46:04 +03:00
110-no_eapol_fix.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
120-disable_bridge_packet_workaround.patch hostapd: update to git snapshot of 2018-04-09 2018-04-13 03:27:01 +02:00
200-multicall.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
300-noscan.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
301-mesh-noscan.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
310-rescan_immediately.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
320-optional_rfkill.patch hostapd: update to version 2016-12-15 2016-12-20 16:24:21 +01:00
330-nl80211_fix_set_freq.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
340-reload_freq_change.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
341-mesh-ctrl-iface-channel-switch.patch wpa_supplicant: fix calling channel switch via wpa_cli on mesh interfaces 2019-01-29 11:27:13 +01:00
350-nl80211_del_beacon_bss.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
360-ctrl_iface_reload.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
370-ap_sta_support.patch hostapd: add support for passing CSA events from sta/mesh to AP interfaces 2019-01-29 11:27:06 +01:00
380-disable_ctrl_iface_mib.patch hostapd: add support for passing CSA events from sta/mesh to AP interfaces 2019-01-29 11:27:06 +01:00
381-hostapd_cli_UNKNOWN-COMMAND.patch hostapd: backport build fix when OWE is activated 2018-10-14 13:57:14 +02:00
390-wpa_ie_cap_workaround.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
400-wps_single_auth_enc_type.patch hostapd: update to git snapshot of 2018-03-26 2018-03-27 19:25:32 +02:00
410-limit_debug_messages.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
420-indicate-features.patch hostapd: update to git snapshot of 2018-03-26 2018-03-27 19:25:32 +02:00
430-hostapd_cli_ifdef.patch hostapd: add support for client taxonomy in the full config 2018-06-05 09:28:00 +02:00
431-wpa_cli_ifdef.patch hostapd: update to version 2016-09-05 2016-09-08 15:28:38 +02:00
432-missing-typedef.patch hostapd: fix compilation error in wext backend 2016-06-15 19:10:32 +02:00
450-scan_wait.patch hostapd: update to git snapshot of 2018-03-26 2018-03-27 19:25:32 +02:00
460-wpa_supplicant-add-new-config-params-to-be-used-with.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
461-driver_nl80211-use-new-parameters-during-ibss-join.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
463-add-mcast_rate-to-11s.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
464-fix-mesh-obss-check.patch hostapd: update to version 2018-12-02 (2.7) 2019-01-02 15:47:13 +01:00
470-survey_data_fallback.patch hostapd: update to version 2017-08-24 2017-10-07 05:46:04 +03:00
500-lto-jobserver-support.patch hostapd: build with LTO enabled (using jobserver for parallel build) 2018-07-10 14:26:35 +02:00
550-hostapd-Add-Multi-AP-protocol-support.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
551-wpa_supplicant-Add-Multi-AP-protocol-support-to-supp.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
552-tests-Multi-AP-association.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
553-tests-refactor-test_multi_ap.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
554-multi_ap-don-t-reject-backhaul-STA-on-fronhaul-BSS.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
555-WPS-wps_build_wfa_ext-add-multi_ap_subelem-parameter.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
556-wpa_supplicant-support-Multi-AP-backhaul-STA-onboard.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
557-hostapd-support-Multi-AP-backhaul-STA-onboarding.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
558-hostapd-add-README-MULTI-AP.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
559-tests-add-WPS-tests-to-multi_ap-hwsim-tests.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
600-ubus_support.patch hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00