-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-47803: [C++][Parquet] Fix read out of bounds on invalid RLE data #47804
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
Conversation
…data Found by OSS-Fuzz, should fix https://issues.oss-fuzz.com/issues/451150486.
|
This is ready for review, but should not be merged before the regression file is added to the arrow-testing repo. @wgtmac @AntoinePrv @adamreeve |
wgtmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Do we need to include it in the 22.0.0 release?
…47804) Found by OSS-Fuzz, should fix https://issues.oss-fuzz.com/issues/451150486. Ensure RLE run is within bounds before reading it. Yes, by fuzz regression test in ASAN/UBSAN build. No. **This PR contains a "Critical Fix".** (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.) * GitHub Issue: #47803 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
|
I've cherry-picked this for 22.0.0. |
|
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit f83b301. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 40 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…data (apache#47804) ### Rationale for this change Found by OSS-Fuzz, should fix https://issues.oss-fuzz.com/issues/451150486. ### What changes are included in this PR? Ensure RLE run is within bounds before reading it. ### Are these changes tested? Yes, by fuzz regression test in ASAN/UBSAN build. ### Are there any user-facing changes? No. **This PR contains a "Critical Fix".** (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.) * GitHub Issue: apache#47803 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Rationale for this change
Found by OSS-Fuzz, should fix https://issues.oss-fuzz.com/issues/451150486.
What changes are included in this PR?
Ensure RLE run is within bounds before reading it.
Are these changes tested?
Yes, by fuzz regression test in ASAN/UBSAN build.
Are there any user-facing changes?
No.
This PR contains a "Critical Fix". (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.)