Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thevilledev
Copy link
Collaborator

1. Why is this pull request needed and what does it do?

A very large regex for the auto plugin in the Corefile could cause CoreDNS to OOM. This change adds an artificial limit of 10k characters for the regex pattern.

2. Which issues (if any) are related?

Fixes OSS-Fuzz finding #466745384 (not publicly accessible).

3. Which documentation changes (if any) need to be made?

Added a note to plugin README.

4. Does this introduce a backward incompatible change or deprecation?

The limit is supposed to be abundantly high to cover any and all real use cases.

A very large regex for the auto plugin in the Corefile could cause
CoreDNS to OOM. This change adds an artificial limit of 10k characters
for the regex pattern. Fixes OSS-Fuzz finding #466745384.

Signed-off-by: Ville Vesilehto <[email protected]>
@yongtang yongtang merged commit e5cd796 into coredns:master Dec 8, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants