<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/poplib.py, branch v3.7.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/poplib.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/poplib.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-11-01T12:19:23Z</updated>
<entry>
<title>[3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280)</title>
<updated>2018-11-01T12:19:23Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-01T12:19:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e0537cf7e5b0a5ef134c7da0b68b8e55c69f4b0'/>
<id>urn:sha1:5e0537cf7e5b0a5ef134c7da0b68b8e55c69f4b0</id>
<content type='text'>
(cherry picked from commit 4b5e62dbb22a3593e0db266c12f805b727a42b00)

Co-authored-by: Pablo Aguiar &lt;scorphus@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-32981: Fix catastrophic backtracking vulns (GH-5955)</title>
<updated>2018-03-04T05:55:07Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-04T05:55:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0902a2d6b2d1d9dbde36aeaaccf1788ceaa97143'/>
<id>urn:sha1:0902a2d6b2d1d9dbde36aeaaccf1788ceaa97143</id>
<content type='text'>
* Prevent low-grade poplib REDOS (CVE-2018-1060)

The regex to test a mail server's timestamp is susceptible to
catastrophic backtracking on long evil responses from the server.

Happily, the maximum length of malicious inputs is 2K thanks
to a limit introduced in the fix for CVE-2013-1752.

A 2KB evil response from the mail server would result in small slowdowns
(milliseconds vs. microseconds) accumulated over many apop calls.
This is a potential DOS vector via accumulated slowdowns.

Replace it with a similar non-vulnerable regex.

The new regex is RFC compliant.
The old regex was non-compliant in edge cases.

* Prevent difflib REDOS (CVE-2018-1061)

The default regex for IS_LINE_JUNK is susceptible to
catastrophic backtracking.
This is a potential DOS vector.

Replace it with an equivalent non-vulnerable regex.

Also introduce unit and REDOS tests for difflib.

Co-authored-by: Tim Peters &lt;tim.peters@gmail.com&gt;
Co-authored-by: Christian Heimes &lt;christian@python.org&gt;
Co-authored-by: Jamie Davis &lt;davisjam@vt.edu&gt;
(cherry picked from commit 0e6c8ee2358a2e23117501826c008842acb835ac)</content>
</entry>
<entry>
<title>bpo-30329: Catch Windows error 10022 on shutdown() (#1538)</title>
<updated>2017-05-15T15:33:45Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-05-15T15:33:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=83a2c2879839da2e10037f5e4af1bd1dafbf1a52'/>
<id>urn:sha1:83a2c2879839da2e10037f5e4af1bd1dafbf1a52</id>
<content type='text'>
Catch the Windows socket WSAEINVAL error (code 10022) in imaplib and
poplib on shutdown(SHUT_RDWR): An invalid operation was attempted

This error occurs sometimes on SSL connections.</content>
</entry>
<entry>
<title>Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.</title>
<updated>2016-09-10T21:23:33Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-10T21:23:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d04863771b0c5bedeb1e4afe05dcba3adcc0fb58'/>
<id>urn:sha1:d04863771b0c5bedeb1e4afe05dcba3adcc0fb58</id>
<content type='text'>
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
</content>
</entry>
<entry>
<title>#21804: Add RFC 6856 (UTF8) support to poplib.</title>
<updated>2015-05-16T19:05:53Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2015-05-16T19:05:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8cd3e4e30d3219ecf00ce7f114a15746561ea87'/>
<id>urn:sha1:b8cd3e4e30d3219ecf00ce7f114a15746561ea87</id>
<content type='text'>
Patch by Milan Oberkirch.
</content>
</entry>
<entry>
<title>Issue #23865: close() methods in multiple modules now are idempotent and more</title>
<updated>2015-04-10T10:24:41Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-04-10T10:24:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd'/>
<id>urn:sha1:7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd</id>
<content type='text'>
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
</content>
</entry>
<entry>
<title>Issue #23681: Fixed Python 2 to 3 poring bugs.</title>
<updated>2015-03-20T14:46:19Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-03-20T14:46:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=74a49ac3f5ac3c7a09c691db4888c981a0cb3232'/>
<id>urn:sha1:74a49ac3f5ac3c7a09c691db4888c981a0cb3232</id>
<content type='text'>
Indexing bytes retiurns an integer, not bytes.
</content>
</entry>
<entry>
<title>don't require OpenSSL SNI to pass hostname to ssl functions (#22921)</title>
<updated>2014-11-23T23:04:34Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-11-23T23:04:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7243b574e5fc6f9ae68dc5ebd8252047b8e78e3b'/>
<id>urn:sha1:7243b574e5fc6f9ae68dc5ebd8252047b8e78e3b</id>
<content type='text'>
Patch by Donald Stufft.
</content>
</entry>
<entry>
<title>Issue #22186: Fix typos in Lib/.</title>
<updated>2014-10-19T15:04:38Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2014-10-19T15:04:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f23530f5690d2e37bba7235a6398b2c386a5b485'/>
<id>urn:sha1:f23530f5690d2e37bba7235a6398b2c386a5b485</id>
<content type='text'>
Patch by Févry Thibault.
</content>
</entry>
<entry>
<title>Issue #19784: poplib now supports SSLContext.check_hostname and server name</title>
<updated>2013-12-02T19:10:50Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2013-12-02T19:10:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1bc7068d7fde0eaf2155240f629bcf80280daff6'/>
<id>urn:sha1:1bc7068d7fde0eaf2155240f629bcf80280daff6</id>
<content type='text'>
indication for TLS/SSL connections.
</content>
</entry>
</feed>
