FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.4] bpo-35746: Fix segfault in ssl's cert parser (GH-11569) by vstinner · Pull Request #11868 · python/cpython · GitHub

Repository navigation

[3.4] bpo-35746: Fix segfault in ssl's cert parser (GH-11569) - #11868

Merged
larryhastings merged 2 commits into
python:3.4from
vstinner:ssl_crl_bug34
Feb 25, 2019
Merged

larryhastings merged 2 commits into
python:3.4from
vstinner:ssl_crl_bug34

Conversation

vstinner commented Feb 15, 2019 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL
distribution points with empty DP or URI correctly. A malicious or buggy
certificate can result into segfault.

Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas
Edet of Cisco.

Signed-off-by: Christian Heimes christian@python.org

(cherry picked from commit a37f524)

https://bugs.python.org/issue35746

Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL
distribution points with empty DP or URI correctly. A malicious or buggy
certificate can result into segfault.

Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas
Edet of Cisco.

Signed-off-by: Christian Heimes <christian@python.org>

(cherry picked from commit a37f524)

Copy link
Copy Markdown
Member Author

I cannot test manually on my Fedora 29: compilation of the _ssl module fails with OpenSSL 1.1.1, but the test passed on Travis CI ("[112/391] test_ssl") and AppVeyor ("[360/391] test_ssl").

hroncok commented Feb 15, 2019

Copy link
Copy Markdown
Contributor

@vstinner You should be able to install compat-openssl10-devel and test with that one instead. You might need to remove openssl-devel first.

larryhastings merged commit 6c655ce into python:3.4 Feb 25, 2019

Copy link
Copy Markdown

@larryhastings: Please replace # with GH- in the commit message next time. Thanks!

Copy link
Copy Markdown
Contributor

Thanks for the fix!

vstinner deleted the ssl_crl_bug34 branch April 29, 2019 14:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL