Skip to content
OpenAdvisories
Medium ALAS2023-2023-236 1 CVE

Moderate: python-requests security update (Amazon Linux 2023)

Published Jul 5, 2023 · Updated Jul 20, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2023-32681: A flaw was found in the Python-requests package, where it is vulnerable to potentially leaking Proxy-Authorization headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how rebuild_proxies is used to recompute and reattach the Proxy-Authorization header to requests when redirected. This behavior only affects proxied requests when credentials are supplied in the URL user information component (for example, https://username:password@proxy:8080).

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2023 python3-requests 0:2.25.1-1.amzn2023.0.3
Amazon Linux · 2023 python3-requests+security 0:2.25.1-1.amzn2023.0.3
Amazon Linux · 2023 python3-requests+socks 0:2.25.1-1.amzn2023.0.3

Vulnerabilities 1

  • Medium 6.1
    CVE-2023-32681 Public exploit

    Unintended leak of Proxy-Authorization header in requests

    Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-32681.html