The vulnerability described is a DNS rebinding attack in the Glances XML-RPC server, caused by a failure to validate the Host header of incoming HTTP requests. The provided information points to glances/server.py as the affected file. By analyzing the commits between the last known good version (4.5.4) and the patched version (4.5.5), I identified commit 5961e0b5077616e672e4f441735ebd162fcd65e7 as the security fix. This commit modifies the GlancesXMLRPCHandler.parse_request method to add the crucial Host header validation. Previously, this function would process requests without checking the Host, making it vulnerable. During an exploit, this function would be on the stack as it processes the malicious request. The GlancesXMLRPCServer.__init__ method was also modified to load the new xmlrpc_allowed_hosts configuration, which is essential for the fix. The lack of this configuration option in the original code is a contributing factor to the vulnerability.