PowerDNS Security Advisory 2023-01: unbounded recursion results in program termination
This issue only affects recursors which have protobuf logging enabled using the
protobufServer function with logResponses=true oroutgoingProtobufServer function with logResponses=trueIf either of these functions is used without specifying logResponses, its value is true.
An attacker needs to have access to the recursor, i.e. the remote IP must be in the access control list.
If an attacker queries a name that leads to an answer with specific properties, a protobuf message might be generated that causes an exception. The code does not handle this exception correctly, causing a denial of service.