OESA-2023-1341

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1341
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1341.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1341
Upstream
Published
2023-06-10T11:05:22Z
Modified
2025-08-12T05:20:34.408542Z
Summary
python-requests security update
Details

Requests is an HTTP library, written in Python, as an alternative to Python's builtin urllib2 which requires work (even method overrides) to perform basic tasks. Features of Requests: - GET, HEAD, POST, PUT, DELETE Requests: + HTTP Header Request Attachment. + Data/Params Request Attachment. + Multipart File Uploads. + CookieJar Support. + Redirection History. + Redirection Recursion Urllib Fix. + Automatic Decompression of GZipped Content. + Unicode URL Support.- Authentication: + URL + HTTP Auth Registry.

Security Fix(es):

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 to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the Proxy-Authorization header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.

(CVE-2023-32681)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-requests

Package

Name
python-requests
Purl
pkg:rpm/openEuler/python-requests&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.24.0-2.oe1

Ecosystem specific

{
    "src": [
        "python-requests-2.24.0-2.oe1.src.rpm"
    ],
    "noarch": [
        "python3-requests-2.24.0-2.oe1.noarch.rpm",
        "python2-requests-2.24.0-2.oe1.noarch.rpm",
        "python-requests-help-2.24.0-2.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-requests

Package

Name
python-requests
Purl
pkg:rpm/openEuler/python-requests&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.24.0-2.oe1

Ecosystem specific

{
    "src": [
        "python-requests-2.24.0-2.oe1.src.rpm"
    ],
    "noarch": [
        "python2-requests-2.24.0-2.oe1.noarch.rpm",
        "python3-requests-2.24.0-2.oe1.noarch.rpm",
        "python-requests-help-2.24.0-2.oe1.noarch.rpm"
    ]
}

openEuler:22.03-LTS / python-requests

Package

Name
python-requests
Purl
pkg:rpm/openEuler/python-requests&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.26.0-8.oe2203sp1

Ecosystem specific

{
    "src": [
        "python-requests-2.26.0-7.oe2203.src.rpm",
        "python-requests-2.26.0-8.oe2203sp1.src.rpm"
    ],
    "noarch": [
        "python-requests-help-2.26.0-7.oe2203.noarch.rpm",
        "python3-requests-2.26.0-7.oe2203.noarch.rpm",
        "python-requests-help-2.26.0-8.oe2203sp1.noarch.rpm",
        "python3-requests-2.26.0-8.oe2203sp1.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / python-requests

Package

Name
python-requests
Purl
pkg:rpm/openEuler/python-requests&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.26.0-8.oe2203sp1

Ecosystem specific

{
    "src": [
        "python-requests-2.26.0-8.oe2203sp1.src.rpm"
    ],
    "noarch": [
        "python-requests-help-2.26.0-8.oe2203sp1.noarch.rpm",
        "python3-requests-2.26.0-8.oe2203sp1.noarch.rpm"
    ]
}