mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Requests is a HTTP library. Due to a URL parsing issue, Requests
releases prior to 2.32.4 may leak .netrc credentials to third parties
for specific maliciously-crafted URLs. Users should upgrade to version
2.32.4 to receive a fix. For older versions of Requests, use of the
.netrc file can be disabled with `trust_env=False` on one's Requests
Session.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-47081
Upstream patch:
96ba401c12
(From OE-Core rev: 37d746033710509ffabc244e0130d20fd81d9673)
Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
31 lines
791 B
BlitzBasic
31 lines
791 B
BlitzBasic
DESCRIPTION = "Python HTTP for Humans."
|
|
HOMEPAGE = "http://python-requests.org"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
|
|
|
|
SRC_URI += "file://CVE-2023-32681.patch \
|
|
file://CVE-2024-35195.patch \
|
|
file://CVE-2024-47081.patch \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
RDEPENDS:${PN} += " \
|
|
${PYTHON_PN}-email \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-ndg-httpsclient \
|
|
${PYTHON_PN}-netserver \
|
|
${PYTHON_PN}-pyasn1 \
|
|
${PYTHON_PN}-pyopenssl \
|
|
${PYTHON_PN}-pysocks \
|
|
${PYTHON_PN}-urllib3 \
|
|
${PYTHON_PN}-chardet \
|
|
${PYTHON_PN}-idna \
|
|
"
|
|
|
|
CVE_PRODUCT = "requests"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|