MidnightBSD

Advisories for maradns

CVE-2002-2097 MEDIUM

The compression code in MaraDNS before 0.9.01 allows remote attackers to cause a denial of service via crafted DNS packets.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
maradns maradns 0.9.00
maradns maradns 0.5.30
maradns maradns 0.8.99
maradns maradns 0.5.29
maradns maradns 0.5.28
CVE-2004-0789 MEDIUM

Multiple implementations of the DNS protocol, including (1) Poslib 1.0.2-1 and earlier as used by Posadis, (2) Axis Network products before firmware 3.13, and (3) Men & Mice Suite 2.2x before 2.2.3 and 3.5.x before 3.5.2, allow remote attackers to cause a denial of service (CPU and network bandwidth consumption) by triggering a communications loop via (a) DNS query packets with localhost as a spoofed source address, or (b) a response packet that triggers a response packet.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
axis 2100_network_camera 2.0
axis 2420_network_camera 2.34
maradns maradns 0.5.30
axis 2120_network_camera 2.41
axis 2110_network_camera 2.32
axis 2110_network_camera 2.34
dnrd dnrd 2.8
dnrd dnrd 1.2
axis 2120_network_camera 2.12
axis 2120_network_camera 2.34
axis 2420_network_camera 2.30
dnrd dnrd 2.0
team_johnlong raidendnsd *
qbik wingate 4.0.1
posadis posadis 0.50.7
dnrd dnrd 2.7
axis 2100_network_camera 2.41
delegate delegate 8.3.3
dnrd dnrd 1.3
delegate delegate 8.9.3
qbik wingate 3.0
axis 2400_video_server 3.11
delegate delegate 8.9.1
dnrd dnrd 1.0
posadis posadis m5pre1
axis 2420_network_camera 2.33
delegate delegate 7.9.11
axis 2420_network_camera 2.31
axis 2420_network_camera 2.12
axis 2100_network_camera 2.40
axis 2100_network_camera 2.33
axis 2120_network_camera 2.30
axis 2100_network_camera 2.30
posadis posadis m5pre2
axis 2110_network_camera 2.31
axis 2120_network_camera 2.31
axis 2460_network_dvr 3.12
axis 2110_network_camera 2.41
delegate delegate 8.9.4
delegate delegate 7.8.0
delegate delegate 8.5.0
delegate delegate 7.7.1
dnrd dnrd 1.1
axis 2110_network_camera 2.30
dnrd dnrd 2.10
pliant pliant_dns_server *
dnrd dnrd 1.4
axis 2120_network_camera 2.40
dnrd dnrd 2.2
dnrd dnrd 2.9
axis 2100_network_camera 2.12
axis 2120_network_camera 2.32
axis 2400_video_server 3.12
maradns maradns 0.8.05
delegate delegate 7.7.0
maradns maradns 0.5.28
dnrd dnrd 2.5
dnrd dnrd 2.6
don_moore mydns 0.10.0
posadis posadis 0.60.0
axis 2110_network_camera 2.12
axis 2420_network_camera 2.41
axis 2100_network_camera 2.02
dnrd dnrd 2.1
posadis posadis 0.50.5
posadis posadis 0.50.4
delegate delegate 8.9
dnrd dnrd 2.4
axis 2100_network_camera 2.03
posadis posadis 0.60.1
axis 2420_network_camera 2.32
delegate delegate 8.3.4
axis 2100_network_camera 2.32
qbik wingate 6.0.1_build_995
axis 2100_network_camera 2.31
qbik wingate 6.0
delegate delegate 7.8.1
axis 2100_network_camera 2.01
posadis posadis 0.50.8
don_moore mydns 0.9
delegate delegate 7.8.2
don_moore mydns 0.7
axis 2110_network_camera 2.40
axis 2100_network_camera 2.34
axis 2401_video_server 3.12
dnrd dnrd 2.3
delegate delegate 8.4.0
don_moore mydns 0.8
maradns maradns 0.5.31
qbik wingate 6.0.1_build_993
don_moore mydns 0.6
posadis posadis 0.50.6
delegate delegate 8.9.5
axis 2420_network_camera 2.40
maradns maradns 0.5.29
delegate delegate 8.9.2
qbik wingate 4.1_beta_a
posadis posadis 0.50.9
CVE-2007-3114 MEDIUM

Memory leak in server/MaraDNS.c in MaraDNS before 1.2.12.05, and 1.3.x before 1.3.03, allows remote attackers to cause a denial of service (memory consumption) via unspecified vectors, a different set of affected versions than CVE-2007-3115 and CVE-2007-3116.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-399,

Products Affected

Vendor Product Version
maradns maradns 1.3.02
maradns maradns 1.3.01
maradns maradns 1.2.12.04
maradns maradns 1.2.12.01
maradns maradns 1.2.12.03
maradns maradns 1.2.12.02
CVE-2007-3115 HIGH

Multiple memory leaks in server/MaraDNS.c in MaraDNS before 1.2.12.06, and 1.3.x before 1.3.05, allow remote attackers to cause a denial of service (memory consumption) via (1) reverse lookups or (2) requests for records in a class other than Internet (IN), a different set of affected versions than CVE-2007-3114 and CVE-2007-3116.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-399,

Products Affected

Vendor Product Version
maradns maradns 1.3.04
maradns maradns 1.3.02
maradns maradns 1.2.12.05
maradns maradns 1.3.01
maradns maradns 1.2.12.04
maradns maradns 1.2.12.01
maradns maradns 1.3.03
maradns maradns 1.2.12.03
maradns maradns 1.2.12.02
CVE-2007-3116 MEDIUM

Memory leak in server/MaraDNS.c in MaraDNS 1.2.12.06 and 1.3.05 allows remote attackers to cause a denial of service (memory consumption) via unspecified vectors, a different set of affected versions than CVE-2007-3114 and CVE-2007-3115.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-399,

Products Affected

Vendor Product Version
maradns maradns 1.2.12.06
maradns maradns 1.3.05
CVE-2008-0061 MEDIUM

MaraDNS 1.0 before 1.0.41, 1.2 before 1.2.12.08, and 1.3 before 1.3.07.04 allows remote attackers to cause a denial of service via a crafted DNS packet that prevents an authoritative name (CNAME) record from resolving, aka "improper rotation of resource records."

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
maradns maradns 1.0.03
maradns maradns 1.0.33
maradns maradns 1.0.38
maradns maradns 1.0.06
maradns maradns 1.0.18
maradns maradns 1.2.12.05
maradns maradns 1.0.19
maradns maradns 1.0.23
maradns maradns 1.0.10
maradns maradns 1.0.25
maradns maradns 1.0.00
maradns maradns 1.0.14
maradns maradns 1.0.17
maradns maradns 1.0.27
maradns maradns 1.0.34
maradns maradns 1.0.02
maradns maradns 1.0.16
maradns maradns 1.2.12.06
maradns maradns 1.0.37
maradns maradns 1.0.26
maradns maradns 1.0.01
maradns maradns 1.0.04
maradns maradns 1.2.12.02
maradns maradns 1.0.22
maradns maradns 1.3.07.03
maradns maradns 1.2.12.01
maradns maradns 1.0.24
maradns maradns 1.3.03
maradns maradns 1.0.36
maradns maradns 1.0.15
maradns maradns 1.2.12.03
maradns maradns 1.3.04
maradns maradns 1.0.08
maradns maradns 1.3.02
maradns maradns 1.3.07
maradns maradns 1.3.01
maradns maradns 1.0.20
maradns maradns 1.0.32
maradns maradns 1.0.05
maradns maradns 1.3.05
maradns maradns 1.0.30
maradns maradns 1.2.12.04
maradns maradns 1.3.07.01
maradns maradns 1.3.06
maradns maradns 1.2.12.07
maradns maradns 1.0.11
maradns maradns 1.0.39
maradns maradns 1.0.28
maradns maradns 1.0.07
maradns maradns 1.3.07.02
maradns maradns 1.0.13
maradns maradns 1.0.29
maradns maradns 1.0.31
maradns maradns 1.0.21
maradns maradns 1.0.12
maradns maradns 1.0.35
maradns maradns 1.0.09
CVE-2010-2444 MEDIUM

parse/Csv2_parse.c in MaraDNS 1.3.03, and other versions before 1.4.03, does not properly handle hostnames that do not end in a "." (dot) character, which allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted csv2 zone file.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
maradns maradns 1.3.07.05
maradns maradns 1.3.07.01
maradns maradns 1.3.04
maradns maradns 1.3.06
maradns maradns 1.3.07.04
maradns maradns 1.3.09
maradns maradns 1.3.12
maradns maradns 1.3.14
maradns maradns 1.3.07.09
maradns maradns 1.3.07.07
maradns maradns 1.4.02
maradns maradns 1.3.07.02
maradns maradns 1.3.07.03
maradns maradns 1.3.07.06
maradns maradns 1.3.07.08
maradns maradns 1.4.01
maradns maradns 1.3.05
maradns maradns 1.3.13
maradns maradns 1.3.10
maradns maradns 1.3.03
maradns maradns 1.3.08
maradns maradns 1.3.11
CVE-2011-0520 HIGH

The compress_add_dlabel_points function in dns/Compress.c in MaraDNS 1.4.03, 1.4.05, and probably other versions allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a long DNS hostname with a large number of labels, which triggers a heap-based buffer overflow.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-119,

Products Affected

Vendor Product Version
maradns maradns 1.4.03
maradns maradns 1.4.05
CVE-2011-5055 MEDIUM

MaraDNS 1.3.07.12 and 1.4.08 computes hash values for DNS data without properly restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted queries with the Recursion Desired (RD) bit set. NOTE: this issue exists because of an incomplete fix for CVE-2012-0024.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
maradns maradns 1.4.08
maradns maradns 1.3.07.012
CVE-2011-5056 LOW

The authoritative server in MaraDNS through 2.0.04 computes hash values for DNS data without restricting the ability to trigger hash collisions predictably, which might allow local users to cause a denial of service (CPU consumption) via crafted records in zone files, a different vulnerability than CVE-2012-0024.

CVSS 2.0

Severity: LOW

Problem Type: CWE-400,

Products Affected

Vendor Product Version
maradns maradns *
CVE-2012-0024 HIGH

MaraDNS before 1.3.07.12 and 1.4.x before 1.4.08 computes hash values for DNS data without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted queries with the Recursion Desired (RD) bit set.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-400,

Products Affected

Vendor Product Version
maradns maradns *
CVE-2012-1570 MEDIUM

The resolver in MaraDNS before 1.3.0.7.15 and 1.4.x before 1.4.12 overwrites cached server names and TTL values in NS records during the processing of a response to an A record query, which allows remote attackers to trigger continued resolvability of revoked domain names via a "ghost domain names" attack.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-noinfo,

Products Affected

Vendor Product Version
maradns maradns *
CVE-2022-30256

An issue was discovered in MaraDNS Deadwood through 3.5.0021 that allows variant V1 of unintended domain name resolution. A revoked domain name can still be resolvable for a long time, including expired domains and taken-down malicious domains. The effects of an exploit would be widespread and highly impactful, because the exploitation conforms to de facto DNS specifications and operational practices, and overcomes current mitigation patches for "Ghost" domain names.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
134c704f-9b21-4f2e-91b3-4a467353bcc0 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 3.9 3.6
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 3.9 3.6

Products Affected

Vendor Product Version
maradns maradns *
CVE-2023-31137

MaraDNS is open-source software that implements the Domain Name System (DNS). In version 3.5.0024 and prior, a remotely exploitable integer underflow vulnerability in the DNS packet decompression function allows an attacker to cause a Denial of Service by triggering an abnormal program termination. The vulnerability exists in the `decomp_get_rddata` function within the `Decompress.c` file. When handling a DNS packet with an Answer RR of qtype 16 (TXT record) and any qclass, if the `rdlength` is smaller than `rdata`, the result of the line `Decompress.c:886` is a negative number `len = rdlength - total;`. This value is then passed to the `decomp_append_bytes` function without proper validation, causing the program to attempt to allocate a massive chunk of memory that is impossible to allocate. Consequently, the program exits with an error code of 64, causing a Denial of Service. One proposed fix for this vulnerability is to patch `Decompress.c:887` by breaking `if(len <= 0)`, which has been incorporated in version 3.5.0036 via commit bab062bde40b2ae8a91eecd522e84d8b993bab58.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
security-advisories@github.com 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6

Products Affected

Vendor Product Version
maradns maradns *
fedoraproject fedora 38
debian debian_linux 11.0
fedoraproject fedora 37
debian debian_linux 10.0