Fix AFL++ fuzzing harness input handling & add security workflows#3556
Open
Easton97-Jens wants to merge 1 commit intoowasp-modsecurity:v3/masterfrom
Open
Fix AFL++ fuzzing harness input handling & add security workflows#3556Easton97-Jens wants to merge 1 commit intoowasp-modsecurity:v3/masterfrom
Easton97-Jens wants to merge 1 commit intoowasp-modsecurity:v3/masterfrom
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Add files via upload Fix AFL fuzzer input handling and null operator check Fix fuzzer API usage for operators and transformations Update fuzzing workflow to use ubuntu-latest Update runtime-sanitizers.yml Update codeql-security.yml
dce564b to
1a7cfc7
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.




what
Fixes incorrect handling of AFL++ input data in the fuzzing harness
Correctly uses the input buffer (
buf) to construct the stringAdds guard for invalid/empty input (
read_bytes <= 0)Prevents potential null pointer dereference in
Operator::instantiate()Adds fallback definition for
__AFL_LOOP(enables non-AFL builds)Adds additional security workflows:
why
→ resulting in ineffective fuzzing (no real coverage)
references
test/fuzzer/afl_fuzzer.cc)