Does anyone know if this affects WPA2 only or WPA3 as well? Do these jammers operate in the DFS band (seems dangerous and highly illegal to do so) or simply on 2.4 Ghz because that's what most webcams use?
You can use Protected Management Frames (PMF) with both WPA2 and WPA3, they are mandatory for the latter. Not sure what you mean with DFS band - remember that on any 5 GHz radar channel where an AP is communicating, stations can assume the AP has done the necessary pre clearing. Deauthing is illegal in any scenario.
Brute jamming of course will affect any encryption you use.
The assumption is that because DFS is intended for military use operating a jammer (not deauthing) on it would be more severely illegal than doing so on purely civilian frequencies.