Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clam-2379 Correction to PE wwunpack overread guard #977

Merged

Conversation

micahsnyder
Copy link
Contributor

The prior fix for the wwunpack overread in commit
89cd0df was a little too late, but also removed an earlier, smaller guard for a write.

This commit just moves the larger guard a little earlier to protect against both.

Resolves: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60655

Note: This bug never made it into a release, so not a vuln.

@ragusaa
Copy link
Contributor

ragusaa commented Jul 27, 2023

Code looks good, verifying the test case and will approve.

The prior fix for the wwunpack overread in commit
89cd0df was a little too late, but
also removed an earlier, smaller guard for a write.

This commit just moves the larger guard a little earlier to protect
against both.

Resolves: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60655
@micahsnyder micahsnyder force-pushed the CLAM-2379-wwunpack-guard-correction branch from e1685b1 to 566119a Compare July 31, 2023 17:59
@micahsnyder
Copy link
Contributor Author

Just rebased so the fuzz-regression build will work correctly.

@micahsnyder micahsnyder merged commit 35ff4fe into Cisco-Talos:main Jul 31, 2023
22 of 23 checks passed
@micahsnyder micahsnyder deleted the CLAM-2379-wwunpack-guard-correction branch July 31, 2023 19:16
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