QID 983131

QID 983131: Python (pip) Security Update for httplib2 (GHSA-gg84-qgv9-w4pq)

Security update has been released for httplib2 to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Attacker controlling unescaped part of uri for `httplib2.Http.request()` could change request headers and body, send additional hidden requests to same server.

Impacts software that uses httplib2 with uri constructed by string concatenation, as opposed to proper urllib building with escaping.

  • CVSS V3 rated as High - 6.8 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Problem has been fixed in 0.18.0
    Space, CR, LF characters are now quoted before any use.
    This solution should not impact any valid usage of httplib2 library, that is uri constructed by urllib.Workaround:
    Create URI with `urllib.parse` family functions: `urlencode`, `urlunsplit`.

    ```diff
    user_input = " HTTP/1.1\r\ninjected: attack\r\nignore-http:"
    -uri = "https://api.server/?q={}".format(user_input)
    +uri = urllib.parse.urlunsplit(("https", "api.server", "/v1", urllib.parse.urlencode({"q": user_input}), ""))
    http.request(uri)
    ```
    Vendor References

    CVEs related to QID 983131

    Software Advisories
    Advisory ID Software Component Link
    GHSA-gg84-qgv9-w4pq httplib2 URL Logo github.com/advisories/GHSA-gg84-qgv9-w4pq

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report