openwrt-mirror/package/network/services/hostapd/patches
Rany Hany db7f70fe61 hostapd: fix SAE H2E security vulnerability
This patch backports fixes for a security vulnerability impacting the
hostapd implementation of SAE H2E.

As upgrading hostapd would require more testing, the second mitigation
step which involves backporting several patches was adopted as outlined
in the official advisory[1].

An explanation of the impact of the vulnerability is provided from the
advisory[1]:

This vulnerability allows the attacker to downgrade the negotiated group
to another enabled group if both the AP and STA have enabled SAE H2E and
multiple groups. It should be noted that the H2E option is not enabled
by default and the attack is not applicable to the default option, i.e.,
hunting-and-pecking, since it does not have any downgrade protection for
group negotiation. In addition, the default configuration for enabled
SAE groups in hostapd is to enable only a single group, so the
vulnerability is not applicable unless hostapd has been explicitly
configured to enable more groups for SAE.

[1]: https://w1.fi/security/2024-2/sae-h2h-and-incomplete-downgrade-protection-for-group-negotiation.txt

Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/16042
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-08-02 23:13:44 +02:00
..
010-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
011-mesh-use-deterministic-channel-on-channel-switch.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
021-fix-sta-add-after-previous-connection.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
023-ndisc_snoop-call-dl_list_del-before-freeing-ipv6-add.patch hostapd: fix a segfault on sta disconnect with proxy arp enabled 2021-07-28 05:55:11 +02:00
030-driver_nl80211-rewrite-neigh-code-to-not-depend-on-l.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
040-mesh-allow-processing-authentication-frames-in-block.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
050-Fix-OpenWrt-13156.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
051-nl80211-add-extra-ies-only-if-allowed-by-driver.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
052-AP-add-missing-null-pointer-check-in-hostapd_free_ha.patch hostapd: fix a null pointer dereference in wpa_supplicant on teardown 2024-05-01 19:00:21 +02:00
060-nl80211-fix-crash-when-adding-an-interface-fails.patch hostapd: fix crash on interface setup failure 2024-06-21 11:52:25 +02:00
110-mbedtls-TLS-crypto-option-initial-port.patch hostapd: Fix compile against mbedtsl 3.6 2024-04-28 21:42:18 +02:00
120-mbedtls-fips186_2_prf.patch hostapd: remove unused fix 2024-04-04 12:12:43 +02:00
130-mbedtls-annotate-with-TEST_FAIL-for-hwsim-tests.patch hostapd: add mbedtls variant 2022-12-19 12:27:35 +00:00
135-mbedtls-fix-owe-association.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
140-tests-Makefile-make-run-tests-with-CONFIG_TLS.patch hostapd: remove unused fix 2024-04-04 12:12:43 +02:00
150-add-NULL-checks-encountered-during-tests-hwsim.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
160-dpp_pkex-EC-point-mul-w-value-prime.patch hostapd: update to 2023-03-29 2023-04-22 23:18:15 +02:00
170-hostapd-update-cfs0-and-cfs1-for-160MHz.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
181-driver_nl80211-update-drv-ifindex-on-removing-the-fi.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
183-hostapd-cancel-channel_list_update_timeout-in-hostap.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
200-multicall.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
201-lto-jobserver-support.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
210-build-de-duplicate-_DIRS-before-calling-mkdir.patch hostapd: replace "argument list too long" fix with a simpler version 2024-04-04 13:38:18 +02:00
211-ctrl-make-WNM_AP-functions-dependant-on-CONFIG_AP.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
212-Move-definition-of-WLAN_SUPP_RATES_MAX-to-defs.h.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
213-wpa_supplicant-fix-warnings.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
220-indicate-features.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
250-hostapd_cli_ifdef.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
251-wpa_cli_ifdef.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
252-disable_ctrl_iface_mib.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
253-qos_map_set_without_interworking.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
300-noscan.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
301-mesh-noscan.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
310-rescan_immediately.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
320-optional_rfkill.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
330-nl80211_fix_set_freq.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
341-mesh-ctrl-iface-channel-switch.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
350-nl80211_del_beacon_bss.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
381-hostapd_cli_UNKNOWN-COMMAND.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
400-wps_single_auth_enc_type.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
410-limit_debug_messages.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
460-wpa_supplicant-add-new-config-params-to-be-used-with.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
463-add-mcast_rate-to-11s.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
464-fix-mesh-obss-check.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
465-hostapd-config-support-random-BSS-color.patch hostapd: bump to 2024-03-09 2024-04-04 12:12:43 +02:00
470-survey_data_fallback.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
590-rrm-wnm-statistics.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
600-ubus_support.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
601-ucode_support.patch Revert "hostapd: add support for authenticating with multiple PSKs via ubus helper" 2024-06-06 21:34:20 +02:00
610-hostapd_cli_ujail_permission.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
701-reload_config_inline.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
710-vlan_no_bridge.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
711-wds_bridge_force.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
720-iface_max_num_sta.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
730-ft_iface.patch Revert "hostapd: add support for authenticating with multiple PSKs via ubus helper" 2024-06-06 21:34:20 +02:00
740-snoop_iface.patch hostapd: slightly clean up patches 2024-04-04 13:38:18 +02:00
751-qos_map_ignore_when_unsupported.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
760-dynamic_own_ip.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
761-shared_das_port.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
762-AP-don-t-ignore-probe-requests-with-invalid-DSSS-par.patch hostapd: don't ignore probe-requests with invalid DSSS params 2024-06-30 22:23:11 +02:00
770-radius_server.patch hostapd: adjust patches to work with git am 2024-04-04 12:12:43 +02:00
800-SAE-Check-for-invalid-Rejected-Groups-element-length.patch hostapd: fix SAE H2E security vulnerability 2024-08-02 23:13:44 +02:00
801-SAE-Check-for-invalid-Rejected-Groups-element-length.patch hostapd: fix SAE H2E security vulnerability 2024-08-02 23:13:44 +02:00
802-SAE-Reject-invalid-Rejected-Groups-element-in-the-pa.patch hostapd: fix SAE H2E security vulnerability 2024-08-02 23:13:44 +02:00