-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
gh-145883: Fix two heap-buffer-overflows in _zoneinfo
#145885
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
base: main
Are you sure you want to change the base?
Changes from all commits
b764373
0f27a07
bf3f3a5
eacad9a
f13b289
1ae5455
5ac2687
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| :mod:`zoneinfo`: Fix heap buffer overflow reads from malformed TZif data. | ||
| Found by OSS Fuzz, issues :oss-fuzz:`492245058` and :oss-fuzz:`492230068`. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,6 +99,9 @@ | |
| Path("Modules/pyexpat.c"), | ||
| # zipfile | ||
| Path("Lib/zipfile/"), | ||
| # zoneinfo | ||
| Path("Lib/zoneinfo/"), | ||
| Path("Modules/_zoneinfo.c"), | ||
|
Comment on lines
+102
to
+104
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is it about? How is this list use and why these additions are necessary?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the list of files that triggers CIFuzz, we started fuzzing zoneinfo (which found one of the two bugs the following day) in python/library-fuzzers@eb273d5. It's not related to the issue, but it's so small I think including it here is fine. |
||
| }) | ||
|
|
||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.