Security Advisory 2022-02 for PowerDNS Recursor up to and including 4.5.9, 4.6.2, 4.7.1

Aug 23, 2022

Hello,

Today we have released PowerDNS Recursor 4.5.10, 4.6.3 and 4.7.2 due to a medium severity issue found. The security advisory only applies to Recursors running with protobuf logging enabled.

Please find the full text of the advisory below.

The changelogs are available at 4.5.10, 4.6.3, 4.7.2.

The source tarballs (4.5.10, 4.6.3, 4.7.2) and signatures (4.5.10, 4.6.3, 4.7.2) are available from our download server. Patches are available at patches. Packages for various distributions are available from our repository.

Note that PowerDNS Recursor 4.4.x and older releases are End of Life. Consult the EOL policy for more details.


PowerDNS Security Advisory 2022-02: incomplete exception handling related to protobuf message generation

1
2
3
4
5
6
7
8
9
CVE: CVE-2022-37428
Date: 23th of August 2022.
Affects: PowerDNS Recursor up to and including 4.5.9, 4.6.2 and 4.7.1
Not affected: PowerDNS Recursor 4.5.10, 4.6.3 and 4.7.2
Severity: Medium
Impact: Denial of service
Exploit: This problem can be triggered by a remote attacker with access to the recursor if protobuf logging is enabled
Risk of system compromise: None
Solution: Upgrade to patched version, disable protobuf logging of responses

This issue only affects recursors which have protobuf logging enabled using the

  • protobufServer function with logResponses=true or
  • outgoingProtobufServer function with logResponses=true

If 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.

About the author

Otto Moerbeek

Otto Moerbeek

Senior Developer at PowerDNS

Categories

Related Articles

PowerDNS Authoritative 4.3.1, 4.2.3 and 4.1.14

Today we have released PowerDNS Authoritative Server versions 4.3.1, 4.2.3 and 4.1.14, containing a fix for PowerDNS...

Peter van Dijk 09/3/20

PowerDNS Authoritative Server 4.0.8 and 4.1.10 Released

These are security releases. The 4.0.8 and 4.1.10 (together with 4.1.9) releases fix the following security advisories:...

Erik Winkels 06/6/19

PowerDNS Recursor 4.3.3 and 4.2.4 Released

Hello!, Today we are releasing PowerDNS Recursor 4.3.3 and 4.2.4. These releases fix an issue where the refresh time of a...

Otto Moerbeek 07/6/20

PowerDNS Recursor 4.3.1, 4.2.2 and 4.1.16 Released

Hello! Today we are releasing PowerDNS Recursor 4.3.1, 4.2.2. and 4.1.16, containing security fixes for three CVEs: –...

Otto Moerbeek 05/3/20