PowerDNS Security Advisory 2019-06: Denial of service via crafted zone records

Peter van Dijk <[email protected]> Tue, 30 Jul 2019 13:35:07 +0200
Newsgroups gmane.network.dns.powerdns.devel,gmane.network.dns.powerdns.user
Organization PowerDNS.COM B.V.
Message-ID <[email protected]>
Hello,

please find below the text of PowerDNS Security Advisory 2019-06.
Updated packages (that only contain a Postgres schema change) will be
released later. Just upgrading at that time will not fix the
vulnerability - applying the schema change is mandatory.

> PowerDNS Security Advisory 2019-06: Denial of service via crafted zone records
> ==============================================================================
> 
> -  CVE: CVE-2019-10203
> -  Date: July 30th, 2019
> -  Affects: PowerDNS Authoritative 4.0.0 and up, when using the gpgsql (PostgreSQL) backend
> -  Not affected: 4.2.0, 4.1.11, 4.0.9
> -  Severity: Low
> -  Impact: Denial of Service
> -  Exploit: This problem can be triggered via crafted records
> -  Risk of system compromise: No
> -  Solution: Update the database schema
> -  Workaround: run the process inside the guardian or inside a supervisor
> 
> An issue has been found in PowerDNS Authoritative Server allowing an
> authorized user to cause the server to exit by inserting a crafted record in a
> MASTER type zone under their control. The issue is due to the fact that the
> Authoritative Server will exit when it tries to store the notified serial in
> the PostgreSQL database, if this serial cannot be represented in 31 bits.
> 
> This issue has been assigned CVE-2019-10203.
> 
> PowerDNS Authoritative up to and including 4.1.10 is affected. Please note
> that at the time of writing, PowerDNS Authoritative 3.4 and below are no
> longer supported, as described in
> https://doc.powerdns.com/authoritative/appendices/EOL.html.
> 
> To fix the issue, run the following command against your PostgreSQL pdns
> database: `ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE
> WHEN notified_serial >= 0 THEN notified_serial::bigint END;`. No software
> changes are required.
> 
> We would like to thank Klaus Darilion for finding and subsequently reporting
> this issue!

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/

_______________________________________________
Pdns-dev mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-dev
signature.asc (application/pgp-signature, 914 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQJQBAABCgA6FiEE+64DI4IcdwalyhUb3PUT+n7tGfMFAl1AK2scHHBldGVyLnZh
bi5kaWprQHBvd2VyZG5zLmNvbQAKCRDc9RP6fu0Z83EiEACf1503dP5bfe5xRYfO
MQgdrryqNUcjYIYV3AXQaLFL0IPqy4m/GrO+7MKxzjQlQ3tm8tfvnOv7P+fqjq8b
H5TWJ782trIYGuQEc09lgsVujG0YHKe3ZOVlo8CgCoxSclIDdPeo+lGDjvbSPYaq
7potjhEjbQLzXxSKnq2zFtkx1H5OuBFFlccNnZuSrCyuSvMyPd0nizkSFrjAltCJ
nEqwnzdxDSbanITkpdZFxM4vvHq0Iu5Y/eeIcHGJWTEDOpotbNf2/EEcd4DQmFlZ
YdAoeMqgcjqfeNX3JTycZ4NZ6HBx1fs4Toiwm+Q4axCAKwWoGXNRnHLPwCcg2k1G
hchfedb11jLAfg2z9dyRw5a7zIxfrEhksE5bFWVg6IrxM3mao0pQgDKMQQJvYdpb
jevX1OwCUTm4WZ3w/RivGLgEVxNH2HADgF6TKy9SJXyk5qHFt8UkWDV2dqwkWonO
gqUUTu3MrRFKr/uvVMpTOiGAnGjZjfIRKQohR8p7uSYmQGPR/grnTjCp6Q1sPGHV
kNPLmW38hX1B8yBtvbpXdbihw1gc2EOrVeQ+46ZBrVncbKvH5d2hNnAcbXIJd4oh
/bNcio/E1ciCTGAT3wxTrru6H4neO8zElN+qxgJfr8SPD2zH18jVuS9TfP+ADc+V
V1pHBE9phwl6lTZjasFBuYPt8w==
=+TBe
-----END PGP SIGNATURE-----