Commit Graph

15 Commits

Author SHA1 Message Date
Petr Menšík
221d0bd319 Stop crashes at masterformat system tests
Fix of CVE-2023-6516 has changed format of map file and masterformat has
started crashing. Adjust test values to pass cleanly.

; Resolves: CVE-2023-6516
Resolves: RHEL-25381
2024-04-04 15:52:17 +02:00
Petr Menšík
fdd3436a6d Downstream specific changes related to KeyTrap
Fix for CVE-2023-50387 introduced new additional thread. But because
isc_hp functions were removed from later bind 9.16 release, their
changes did not contain increase of hazard pointers max thread limit.
To prevent obscure memory corruption increase thread max size.

In addition place at least few INSISTs to check this is catched before
random memory overwrites begins. It would be quite difficult to track
without any check.

Resolves: RHEL-25392
; Resolves: CVE-2023-50387
2024-02-21 20:57:49 +01:00
Petr Menšík
2c9b8bdea4 Add mctx attach/detach when creating/destroying a memory pool
This should make sure that the memory context is not destroyed
before the memory pool, which is using the context.

Related: RHEL-25392
; Related: CVE-2023-50387
2024-02-21 20:57:49 +01:00
Petr Menšík
dbd2761d7d Define variables used for test variants
Patch171 introduces undefined variables, which may fail some tests.
Define them to empty values. Also required python3-dns with SYSTEMTEST
feature enabled.

Related: RHEL-25348
; Related: CVE-2023-4408
2024-02-21 20:57:49 +01:00
Petr Menšík
3c702f170d Allow testing from more recent Fedora by skipping python rule
More recent python3 module ply does not accept statements used in
isc/policy.py, which generates parsetab.py. Allow to skip that target on
local only fedora builds.

Related: RHEL-25348
; Related: CVE-2023-4408
2024-02-21 20:57:49 +01:00
Petr Menšík
b038cc79ce Import tests for large DNS messages fix
Tests part of fixes of CVE-2023-4408.

Related: RHEL-25348
; Related: CVE-2023-4408
2024-02-21 20:57:49 +01:00
Petr Menšík
329c53c51c Prevent increased CPU consumption in DNSSEC validator
KeyTrap - Extreme CPU consumption in DNSSEC validator. Preparing an
NSEC3 closest encloser proof can exhaust CPU resources.

6322.	[security]	Specific DNS answers could cause a denial-of-service
			condition due to DNS validation taking a long time.
			(CVE-2023-50387) [GL #4424]

Resolves: RHEL-25403 RHEL-25392
; Resolves: CVE-2023-50868 CVE-2023-50387
2024-02-21 20:57:49 +01:00
Petr Menšík
2c1332b473 Specific recursive query patterns may lead to an out-of-memory condition
6319.	[security]	Query patterns that continuously triggered cache
			database maintenance could exhaust all available memory
			on the host running named. (CVE-2023-6516) [GL #4383]

Resolves: RHEL-25381
; Resolves: CVE-2023-6516
2024-02-21 20:57:48 +01:00
Petr Menšík
3fb3b2d2bd Prevent assertion failure if DNS64 and serve-stale is used
Enabling both DNS64 and serve-stale may cause an assertion failure
during recursive resolution.

6317.	[security]	Restore DNS64 state when handling a serve-stale timeout.
			(CVE-2023-5679) [GL #4334]

Resolves: RHEL-25370
; Resolves: CVE-2023-5679
2024-02-21 20:57:48 +01:00
Petr Menšík
b734ab50d3 Prevent assertion failure when nxdomain-redirect is used with
RFC 1918 reverse zones

6316.	[security]	Specific queries could trigger an assertion check with
			nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281]

Resolves: RHEL-25359
; Resolves: CVE-2023-5517
2024-02-21 20:57:48 +01:00
Petr Menšík
6f864801ac Prevent increased CPU load on large DNS messages
6315.	[security]	Speed up parsing of DNS messages with many different
			names. (CVE-2023-4408) [GL #4234]
6321.	[security]	Change 6315 inadvertently introduced regressions that
			could cause named to crash. [GL #4234]
6343.	[bug]		Fix case insensitive setting for isc_ht hashtable.

Resolves: RHEL-25348
; Resolves: CVE-2023-4408
2024-02-21 20:57:27 +01:00
Petr Menšík
8b3181e49e Fix CVE-2023-3341
6245.   [security]      Limit the amount of recursion that can be performed
                        by isccc_cc_fromwire. (CVE-2023-3341) [GL #4152]

Resolves: RHEL-5246
2023-09-20 16:29:27 +02:00
Petr Menšík
7daed14418 Fix CVE-2023-2828
6190.	[security]	Improve the overmem cleaning process to prevent the
			cache going over the configured limit. (CVE-2023-2828)
			[GL #4055]

Resolves: rhbz#2216654
2023-09-04 15:08:41 +02:00
CentOS Sources
f85e47fe2c Auto sync2gitlab import of bind9.16-9.16.23-0.14.el8.src.rpm 2023-02-28 18:12:03 +00:00
James Antill
29cf07efaf Import rpm: c8s 2023-02-27 12:22:46 -05:00