-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Potential null pointer dereference in PySSLSession_richcompare
#126106
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
Comments
PySSLSession_richcompare
Thanks for spotting this. This still happens on main. Feel free to open a PR (I can do it as well if you want). Note: 3.11 is security-only and this does not seem to count as a security issue unless someone is able to provide me a PoC of an exploit using that null pointer dereference. |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Oct 29, 2024
sobolevn
added a commit
that referenced
this issue
Oct 29, 2024
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 29, 2024
…ythonGH-126111) (cherry picked from commit a64a1c9) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 29, 2024
…ythonGH-126111) (cherry picked from commit a64a1c9) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This was referenced Oct 29, 2024
picnixz
added a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…ython#126111) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…ython#126111) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
Pointer left is dereferenced here, but null-pointer check is done later. Correct code should look like this:
CPython versions tested on:
3.11
Operating systems tested on:
No response
Linked PRs
NULL
possible dereference inModules/_ssl.c
#126111NULL
possible derefrence inModules/_ssl.c
(GH-126111) #126116NULL
possible derefrence inModules/_ssl.c
(GH-126111) #126117The text was updated successfully, but these errors were encountered: