Denial of service in Dnsmasq



| Updated: 2024-07-26
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-28450
CVE-2023-49441
CWE-ID CWE-400
CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Dnsmasq
Server applications / DNS servers

Vendor GNU

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Resource exhaustion

EUVDB-ID: #VU75389

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-28450

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly perform fragmentation of UDP packets. A remote attacker can trigger resource exhaustion by sending overly large DNS UDP packets.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Dnsmasq: 2.0 - 2.89

CPE2.3 External links

http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=CHANGELOG
http://capec.mitre.org/data/definitions/495.html
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=eb92fb32b746f2104b0f370b5b295bb8dd4bd5e5
http://thekelleys.org.uk/dnsmasq/doc.html
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OU2ZT4ITSEOOR2CFBAHK4Z67KXJIEWQA/
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6UQ6LKDTLSSD64TBIZ3XEKBM2SWC63VV/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Integer overflow

EUVDB-ID: #VU94783

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-49441

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to integer overflow within the sha256_transform() function in hash-questions.c when comparing hashes. A remote attacker can send specially crafted data to the server, trigger an integer overflow and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Dnsmasq: 2.0 - 2.89

CPE2.3 External links

http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2023q4/017332.html
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blobdiff;f=src/hash-questions.c;h=e6304ac807a8b7802bb50208ee5a846f4d62d8b7;hp=c1ee1354433df5e4aea1fe9f4622d30eca79ce01;hb=65c2d6afd67a032f45f40d7e4d620f5d73e5f07d;hpb=b27b94cfdc5e0cad6a5a8675471e0bdc64676006


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###