Skip to content

Fix IPFIX loop with unreachable exit condition - #26910

Open
Nithin-Kasam wants to merge 5 commits into
masterfrom
15003-ipfix-infinite-loop
Open

Fix IPFIX loop with unreachable exit condition#26910
Nithin-Kasam wants to merge 5 commits into
masterfrom
15003-ipfix-infinite-loop

Conversation

@Nithin-Kasam

@Nithin-Kasam Nithin-Kasam commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix IPFIX loop with unreachable exit condition.

Motivation and Context

A crafted IPFIX packet could cause the parser to loop indefinitely.

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

How Has This Been Tested?

Added regression tests in IpfixParserTest with testdata and @timeout guards that fail if the parser does not terminate within the expected time.

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.

@Nithin-Kasam
Nithin-Kasam requested a review from danotorrey August 6, 2026 06:51
@Nithin-Kasam
Nithin-Kasam force-pushed the 15003-ipfix-infinite-loop branch from 64947c7 to 50384be Compare August 6, 2026 16:13
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.

1 participant