Skip to content
OpenAdvisories

Package · Alpine

nsd

9 known vulnerabilities.

8 results · Clear filters · Feed

  • High 8.7

    Stack overwrite from specially formatted TXT-DATA RDATA field

    Tokens of text in RDATA (of for example TXT records) under 32 bytes are not checked to stay within the space reserved for the RDATA allowing for arbitrary sized out of bound stack writes, including an overwrite of a callback function pointer which is called d…

  • High 8.7

    Stack overwrite from a specially crafted and formatted HIP RR

    A HIP resource record that fills the RDATA near or at is limit, and has another dname RDATA field (a HIP Rendezvous server) can overwrite the stack with up to 191 bytes of attacker controlled data. Zone files which are written out by NSD itself, such as for z…

  • High 8.7

    Stack overwrite from a specially crafted and formatted SVCB or HTTPS RR

    When a SVCB or HTTPS RR has filled the wire format RDATA up to the brim, another ECH parameter may overwrite the stack, and once beyond the limit, the base64 decoder can write attacker controlled data of unlimited size. Zone files which are written out by NSD…

  • High 8.7

    Stack overwrite from specially formatted base64 RDATA field

    When base64 data is split up in pieces, of 3 character or less, tokens were incorrectly calculated to produce 0 bytes. This enables attackers to overwrite the stack with up to 64K of attacker controlled data. Zone files which are written out by NSD itself, su…

  • High 8.2

    Bypass of client certificate verification with transfer over TLS

    When a provide-xfr is given with a tls-auth-name, a secondary requesting a transfer should provide a client certificate with that name. However, no client certificate is needed when the request comes in over TLS over the regular tls-port (and not the tls-auth…

  • High 7.2

    Out of bounds stack write with crafted APL RR

    NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger than permitted for the address family will overwrite the stack when the zone is written to disk, with a maximum of 111 attacker controlled bytes.

  • High 8.7

    Denial of DNS over TLS service by any DoT client

    NSD from version 4.13.0 has a heap use-after-free bug in logging errors on TLS connections, causing a crash of the server process, which can be triggered trivially by sending a DNS query over a DoT connection, and closing the connection without reading the re…

  • High 8.7

    Heap overflow and crash with crafted SVCB RR

    If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for …