Unnamed repository
Go to file
Petr Menšík 9b84838ba3 Fix improper validated wire format of DNS name
Ensure extract_name stops whenever name is longer than 255 bytes. That
is defined by RFC 1035 and MAXDNAME is derived from that length. Dnsmasq
until now relied on upstream servers filtering similar responses to be
filtered out.

Stop immediately if the packet is big enough, but binary name length
exceeds 255 bytes. That is prerequisite for escaped name to become
longer than existing buffer long MAXDNAME. Introduce new MAXWNAME
constant for on-wire length limit. MAXDNAME remains escaped
"presentation" format limit, possibly containing IDN or escaping.
Standard escaping is \ddd, where ddd are decadic value of that byte.
Such escaping is not implemented by dnsmasq. MAXDNAME should be large
enough for any escaped names as long as MAXWNAME cannot exceed defined
length.

Signed-off-by: Petr Menšík <pemensik@redhat.com>
Resolves-Vulnerability: CVE-2026-2291
Resolves: RHEL-181041
2026-06-03 10:39:06 +02:00
.fmf Adding fmf plan 2022-04-20 09:09:42 +00:00
.gitignore Update to 2.90 (#2264049) 2024-06-01 00:09:37 +02:00
ci.fmf adding ci.fmf to have more plans 2022-04-20 09:09:42 +00:00
dnsmasq-2.77-underflow.patch Update to 2.90 (#2264049) 2024-06-01 00:09:37 +02:00
dnsmasq-2.78-fips.patch Update to dnsmasq 2.80 2018-10-24 19:36:17 +02:00
dnsmasq-2.81-configuration.patch Use local-service=host for initial configuration (#2258062) 2024-01-12 17:50:49 +01:00
dnsmasq-2.86-build_server_array.patch Update to 2.87 (#2129658) 2022-09-27 15:35:46 +02:00
dnsmasq-CVE-2026-2291.patch Fix improper validated wire format of DNS name 2026-06-03 10:39:06 +02:00
dnsmasq-systemd-sysusers.conf add dnsmasq-systemd-sysusers.conf 2018-02-23 00:11:49 -03:00
dnsmasq.service Start before nss-lookup.target, hint modification to listen on IP (#1984618) 2021-07-22 21:29:28 +02:00
dnsmasq.spec Fix improper validated wire format of DNS name 2026-06-03 10:39:06 +02:00
gating.yaml rhel10 setting for CI 2024-05-27 09:58:02 +02:00
nm.fmf nm.fmf with NetworkManager 2024-05-27 10:10:58 +02:00
plans.fmf https://issues.redhat.com/browse/RHELMISC-13073 2025-06-05 12:16:04 +02:00
rpminspect.yaml fixup! Avoid bogus messages from rpmlint about badfuncs 2022-04-29 17:04:05 +02:00
sources Update to 2.90 (#2264049) 2024-06-01 00:09:37 +02:00
srkgpg.txt Add source GPG validation 2020-04-16 21:37:32 +02:00
test-release-public-key Add source GPG validation 2020-04-16 21:37:32 +02:00
tmpfiles-dnsmasq.conf Added installation of tmpfiles.d config 2025-12-08 14:44:29 +01:00