The show ... query is a useful option, however it grants a much greater opportunity for a potentially malicious user to craft a query designed to cause a denial-of-service in the single-threaded bird2 daemon.
Removing this option doesn't completely prevent this from being an issue, but it does reduce an attacker to the already more limited queries.
I wouldn't mind if this were behind a flag, but that obviously would cause significantly more work than the one-line patch of just removing it completely.
The
show ...query is a useful option, however it grants a much greater opportunity for a potentially malicious user to craft a query designed to cause a denial-of-service in the single-threaded bird2 daemon.Removing this option doesn't completely prevent this from being an issue, but it does reduce an attacker to the already more limited queries.
I wouldn't mind if this were behind a flag, but that obviously would cause significantly more work than the one-line patch of just removing it completely.