Those appear to be firmware vulnerabilities, not a 802.11g problem. It depends on which revision of the WRT54G you are using.

BTW, "bands" refers to either 2.4GHz or 5GHz. 802.11g is a standard that supports the 2.4GHz band.