<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 10:27:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-21240 — Regular Expression Denial of Service in httplib2</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2021-21240</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; httplib2&lt;/p&gt;
&lt;p&gt;httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of &amp;#34;\xa0&amp;#34; characters in the &amp;#34;www-authenticate&amp;#34; header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; httplib2&lt;/p&gt;
&lt;p&gt;httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of &amp;#34;\xa0&amp;#34; characters in the &amp;#34;www-authenticate&amp;#34; header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2021-21240</guid>
    </item>
    <item>
      <title>GHSA-93xj-8mrv-444m — Regular Expression Denial of Service (REDoS) in httplib2</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-93xj-8mrv-444m</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: httplib2&lt;/p&gt;
&lt;p&gt;### Impact
A malicious server which responds with long series of `\xa0` characters in the `www-authenticate` header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server.&lt;/p&gt;
&lt;p&gt;### Patches
Version 0.19.0 contains new implementation of auth headers parsing, using pyparsing library.
https://github.com/httplib2/httplib2/pull/182&lt;/p&gt;
&lt;p&gt;### Workarounds
```py
import httplib2
httplib2.USE_WWW_AUTH_STRICT_PARSING = True
```&lt;/p&gt;
&lt;p&gt;### Technical Details&lt;/p&gt;
&lt;p&gt;The vulnerable regular expression is https://github.com/httplib2/httplib2/blob/595e248d0958c00e83cb28f136a2a54772772b50/python3/httplib2/__init__.py#L336-L338&lt;/p&gt;
&lt;p&gt;The section before the equals sign contains multiple overlapping groups. Ignoring the optional part containing a comma, we have:&lt;/p&gt;
&lt;p&gt;\s*[^ \t\r\n=]+\s*=&lt;/p&gt;
&lt;p&gt;Since all three infinitely repeating groups accept the non-breaking space character `\xa0`, a long string of `\xa0` causes catastrophic backtracking.&lt;/p&gt;
&lt;p&gt;The complexity is cubic, so doubling the length of the malicious string of `\xa0` makes processing take 8 times as long.&lt;/p&gt;
&lt;p&gt;### Reproduction Steps&lt;/p&gt;
&lt;p&gt;Run a malicious server which responds with&lt;/p&gt;
&lt;p&gt;www-authenticate: x \xa0\xa0\xa0\xa0x&lt;/p&gt;
&lt;p&gt;but with many more `\xa0` characters.&lt;/p&gt;
&lt;p&gt;An example malicious python server is below:&lt;/p&gt;
&lt;p&gt;```py
from http.server import BaseHTTPRequestHandler, HTTPServer&lt;/p&gt;
&lt;p&gt;def make_header_value(n_spaces):
    repeat = &amp;#34;\xa0&amp;#34; * n_spaces
    return f&amp;#34;x {repeat}x&amp;#34;&lt;/p&gt;
&lt;p&gt;class Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        self…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: httplib2&lt;/p&gt;
&lt;p&gt;### Impact
A malicious server which responds with long series of `\xa0` characters in the `www-authenticate` header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server.&lt;/p&gt;
&lt;p&gt;### Patches
Version 0.19.0 contains new implementation of auth headers parsing, using pyparsing library.
https://github.com/httplib2/httplib2/pull/182&lt;/p&gt;
&lt;p&gt;### Workarounds
```py
import httplib2
httplib2.USE_WWW_AUTH_STRICT_PARSING = True
```&lt;/p&gt;
&lt;p&gt;### Technical Details&lt;/p&gt;
&lt;p&gt;The vulnerable regular expression is https://github.com/httplib2/httplib2/blob/595e248d0958c00e83cb28f136a2a54772772b50/python3/httplib2/__init__.py#L336-L338&lt;/p&gt;
&lt;p&gt;The section before the equals sign contains multiple overlapping groups. Ignoring the optional part containing a comma, we have:&lt;/p&gt;
&lt;p&gt;\s*[^ \t\r\n=]+\s*=&lt;/p&gt;
&lt;p&gt;Since all three infinitely repeating groups accept the non-breaking space character `\xa0`, a long string of `\xa0` causes catastrophic backtracking.&lt;/p&gt;
&lt;p&gt;The complexity is cubic, so doubling the length of the malicious string of `\xa0` makes processing take 8 times as long.&lt;/p&gt;
&lt;p&gt;### Reproduction Steps&lt;/p&gt;
&lt;p&gt;Run a malicious server which responds with&lt;/p&gt;
&lt;p&gt;www-authenticate: x \xa0\xa0\xa0\xa0x&lt;/p&gt;
&lt;p&gt;but with many more `\xa0` characters.&lt;/p&gt;
&lt;p&gt;An example malicious python server is below:&lt;/p&gt;
&lt;p&gt;```py
from http.server import BaseHTTPRequestHandler, HTTPServer&lt;/p&gt;
&lt;p&gt;def make_header_value(n_spaces):
    repeat = &amp;#34;\xa0&amp;#34; * n_spaces
    return f&amp;#34;x {repeat}x&amp;#34;&lt;/p&gt;
&lt;p&gt;class Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        self…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-93xj-8mrv-444m</guid>
    </item>
    <item>
      <title>PYSEC-2021-16</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2021-16</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: httplib2&lt;/p&gt;
&lt;p&gt;httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of &amp;#34;\xa0&amp;#34; characters in the &amp;#34;www-authenticate&amp;#34; header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: httplib2&lt;/p&gt;
&lt;p&gt;httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of &amp;#34;\xa0&amp;#34; characters in the &amp;#34;www-authenticate&amp;#34; header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2021-16</guid>
    </item>
  </channel>
</rss>
