GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove known-bug filters for fixes released in Netty 4.2.20 by yawkat · Pull Request #340 · micronaut-projects/micronaut-fuzzing

Conversation

@yawkat

@yawkat yawkat commented Nov 9, 2026

Copy link
Copy Markdown
Member

micronaut-core 5.3.x now uses Netty 4.2.20.Final (micronaut-projects/micronaut-core#14252), which contains the fixes for several bugs that the targets used to ignore. This removes those known-bug filters, so the targets report the bugs again if they come back. The smoke tests that checked that the inputs are ignored now check that Netty handles them correctly, and the tests that only covered the filter helpers are gone. The inputs are kept.

Removed filters (all fixes released in Netty 4.2.20.Final):

  • Bzip2DecompressorComparisonFuzzer / Bzip2DecoderFuzzer: Huffman code lengths outside 1..23 (isUnvalidatedHuffmanCodeLength), Validate bzip2 Huffman code lengths before building decode tables netty/netty#17812
  • Http2FrameCodecFuzzer: invalid content-length in PUSH_PROMISE, Reject invalid content-length in PUSH_PROMISE with a stream error netty/netty#17867
  • Http2FrameCodecFuzzer: DATA on a reserved stream, Treat DATA frames on reserved HTTP/2 streams as a connection error netty/netty#17868
  • BrotliDecompressorComparisonFuzzer: truncated output (isExpectedDifference), Fix truncated output in Brotli decoders netty/netty#17870. The isExpectedDifference hook in AbstractDecompressorComparisonFuzzer had no other users and is removed too.
  • CleartextHttp2ServerUpgradeHandlerFuzzer: NPE in Http2FrameCodec when the h2c upgrade fails, Fix NPE in Http2FrameCodec when h2c upgrade fails netty/netty#17871
  • CleartextHttp2ServerUpgradeHandlerFuzzer: IAE from HttpConversionUtil.toHttp2Headers for the upgrade request headers (path, authority, te), Reset the h2c upgrade stream if the request can not be converted netty/netty#17869
  • HAProxyMessageDecoderFuzzer: relative header end and decoding after the decoder finished, HAProxyMessageDecoder: fix v2 header framing with a non-zero reader index netty/netty#17832
  • HAProxyMessageDecoderFuzzer: TLV length not validated, HAProxyMessage: validate the length of all TLV types netty/netty#17834
  • HAProxyMessageDecoderFuzzer: empty TLV at the end of the header lost in the round trip, HAProxyMessage: decode TLVs with an empty value at the end of the header netty/netty#17835
  • HAProxyMessageDecoderFuzzer: v1 PROXY UNKNOWN encoding, HAProxyMessageEncoder: encode v1 PROXY UNKNOWN headers netty/netty#17837

Kept, because the fixes are not released yet:

  • Bzip2DecompressorComparisonFuzzer / Bzip2DecoderFuzzer: nextSymbol after an error, Stop decoding in Bzip2Decoder after an error netty/netty#18259
  • CleartextHttp2ServerUpgradeHandlerFuzzer: invalid cookie header, and invalid upgrade request trailers. InboundHttpToHttp2Adapter now turns a conversion failure of the headers into a stream error, but not one of the trailers, so the remaining IAE filter only matches the trailers now. Both until Fail the h2c upgrade stream for all header conversion errors netty/netty#18258 is released.

Http2FrameCodecFuzzerTest.pushPromiseWithInvalidContentLength is disabled for now: with netty/netty#17867, the invalid content-length becomes a stream error on the promised stream, and Http2FrameCodec.onStreamError logs "Stream exception thrown without stream object attached." at WARN, because the promised stream has no Http2FrameStream yet. That fails the input and needs to be handled separately.

This also fixes the HAProxyMessageDecoderFuzzerTest failures in nettyFuzzerTest on 0.2.x. HttpRequestEncoderFuzzerTest.unusualMethodsAndUris still fails with Netty 4.2.20 and is not part of this change.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yawkat @claude
Remove known-bug filters for fixes released in Netty 4.2.20
faa78e5
micronaut-core 5.3.x now uses Netty 4.2.20.Final, which contains the
fixes for these bugs. Remove the filters so the targets report them
again if they come back, and turn the smoke tests for them into
regression tests. The filters for netty/netty#18258 and
netty/netty#18259, which are not released yet, stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yawkat
yawkat force-pushed the remove-filters-fixed-in-netty-4.2.20 branch from e806835 to faa78e5 Compare November 9, 2026 08:16
@yawkat
yawkat marked this pull request as ready for review November 9, 2026 08:24
@yawkat
yawkat merged commit 340c13f into 0.2.x Nov 9, 2026
4 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@yawkat
yawkat deleted the remove-filters-fixed-in-netty-4.2.20 branch November 9, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@yawkat
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.