-
Notifications
You must be signed in to change notification settings - Fork 559
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
Memory read overflow in Perl_grok_infnan #17367
Comments
khwilliamson
added a commit
that referenced
this issue
Dec 17, 2019
This is a bug in grok_infnan() in which in one place it failed to check that it was reading within bounds.
khwilliamson
added a commit
that referenced
this issue
Dec 17, 2019
Like GH #17367, this was caused by a failure to check that we aren't at the end of the buffer after advancing the ptr to it.
steve-m-hay
pushed a commit
that referenced
this issue
Feb 12, 2020
This is a bug in grok_infnan() in which in one place it failed to check that it was reading within bounds. (cherry picked from commit 81d1145)
steve-m-hay
pushed a commit
that referenced
this issue
Feb 12, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This issue was originally reported to the Perl security team by Sergey Aleynikov as SEC-129. The Perl security team does not consider this issue to represent a vulnerability.
The bug is a 1 byte read overflow in Perl_grok_infnan introduced between 5.28 and 5.30 by the following commit:
The overflow behavior causes no user visible bug. It is only evident when Perl is compiled with address sanitizer.
Steps to Reproduce
Perl configuration
The text was updated successfully, but these errors were encountered: