Skip to content

Fix NetFlow V9 loop with unreachable exit condition (7.1) - #27170

Draft
graylog-internal-actions-access[bot] wants to merge 2 commits into
7.1from
backport-7.1/fix/netflow-v9-parser-infinite-loop
Draft

Fix NetFlow V9 loop with unreachable exit condition (7.1)#27170
graylog-internal-actions-access[bot] wants to merge 2 commits into
7.1from
backport-7.1/fix/netflow-v9-parser-infinite-loop

Conversation

@graylog-internal-actions-access

Copy link
Copy Markdown

Note: This is a backport of #27127 to 7.1.

Description

Fix NetFlow V9 loop with unreachable exit condition.

Motivation and Context

A crafted NetFlow V9 packet could cause the parser to loop indefinitely.

closes https://github.com/Graylog2/graylog-plugin-enterprise/issues/15330

How Has This Been Tested?

Added regression tests in NetFlowV9ParserTest.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant