Skip to contentSkip to conversation

drm/ci: Upgrade urllib3 requirement to 2.2.2

PATCH In review WangYuli 1 participant 4 messages Oct 17, 2024 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

WangYuli

author
#1 lore raw

PATCH 2/5 drm/ci: Upgrade urllib3 requirement to 2.2.2

GitHub Dependabot has issued the following alert:

"build(deps): bump urllib3 from 2.0.7 to 2.2.2 in
/drivers/gpu/drm/ci/xfails.

When using urllib3's proxy support with, the header is only sent to the configured proxy, as expected.

However, when sending HTTP requests without using urllib3's proxy support, it's possible to accidentally configure the header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.

Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the header during cross-origin redirects to avoid the small chance that users are doing this on accident.

Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.

Severity: 4.4 / 10 (Moderate)
Attack vector: Network

 Attack complexity:       High
 Privileges required:     High
 User interaction:        None
 Scope:              Unchanged
 Confidentiality:         High
 Integrity:               None
 Availability:            None

CVE ID: CVE-2024-37891"

To avoid disturbing everyone with the kernel repo hosted on GitHub, I suggest we upgrade our python dependencies once again to appease GitHub Dependabot.

---
 drivers/gpu/drm/ci/xfails/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/xfails/requirements.txt +1 -1
index 5e6d48d98e4e..2fae1299e07b 100644
@@ -13,5 +13,5 @@ ruamel.yaml==0.17.32
 ruamel.yaml.clib==0.2.7
 setuptools==70.0.0
 tenacity==8.2.3
-urllib3==2.0.7
+urllib3==2.2.2
 wheel==0.41.1
Signature · 1 line
2.45.2
author
#2 lore raw

PATCH 3/5 drm/ci: Upgrade requests requirement to 2.32.0

In reply to a message not in the archive

GitHub Dependabot has issued the following alert:

"build(deps): bump requests from 2.31.0 to 2.32.2 in
/drivers/gpu/drm/ci/xfails.

When making requests through a Requests Session, if the first request is made with verify=False to disable cert verification, all subsequent requests to the same origin will continue to ignore cert verification regardless of changes to the value of verify. This behavior will continue for the lifecycle of the connection in the connection pool.

Severity: 5.6 / 10 (Moderate)
Attack vector: Local
Attack complexity: High
Privileges required: High
User interaction: Required
Scope: Unchanged

 Confidentiality:         High
 Integrity:               High
 Availability:            None

CVE ID: CVE-2024-35195"

To avoid disturbing everyone with the kernel repo hosted on GitHub, I suggest we upgrade our python dependencies once again to appease GitHub Dependabot.

---
 drivers/gpu/drm/ci/xfails/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/xfails/requirements.txt +1 -1
index 2fae1299e07b..f69b58356a37 100644
@@ -7,7 +7,7 @@ charset-normalizer==3.2.0
 idna==3.4
 pip==23.3
 python-gitlab==3.15.0
-requests==2.31.0
+requests==2.32.0
 requests-toolbelt==1.0.0
 ruamel.yaml==0.17.32
 ruamel.yaml.clib==0.2.7
Signature · 1 line
2.45.2
author
#3 lore raw

PATCH 4/5 drm/ci: Upgrade idna requirement to 3.7

In reply to a message not in the archive

GitHub Dependabot has issued the following alert:

"build(deps): bump idna from 3.4 to 3.7 in /drivers/gpu/drm/ci/xfails.

A specially crafted argument to the function could consume significant resources. This may lead to a denial-of-service.

The function has been refined to reject such strings without the associated resource consumption in version 3.7.

Severity: 6.9 / 10 (Moderate)
Attack vector: Local
Attack complexity: Low

 Attack Requirements:     None
 Privileges required:     None
 User interaction:        None
 Confidentiality:         None
 Integrity:               None
 Availability:            High

CVE ID: CVE-2024-3651"

To avoid disturbing everyone with the kernel repo hosted on GitHub, I suggest we upgrade our python dependencies once again to appease GitHub Dependabot.

---
 drivers/gpu/drm/ci/xfails/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/xfails/requirements.txt +1 -1
index f69b58356a37..8b2b1fa16614 100644
@@ -4,7 +4,7 @@ termcolor==2.3.0
 # ci-collate dependencies
 certifi==2023.7.22
 charset-normalizer==3.2.0
-idna==3.4
+idna==3.7
 pip==23.3
 python-gitlab==3.15.0
 requests==2.32.0
Signature · 1 line
2.45.2
author
#4 lore raw

PATCH 5/5 drm/ci: Upgrade certifi requirement to 2024.07.04

In reply to a message not in the archive

GitHub Dependabot has issued the following alert:

"build(deps): bump certifi from 2023.7.22 to 2024.7.4 in
/drivers/gpu/drm/ci/xfails.

Certifi 2024.07.04 removes root certificates from "GLOBALTRUST" from the root store. These are in the process of being removed from Mozilla's trust store.

GLOBALTRUST's root certificates are being removed pursuant to an investigation which identified "long-running and unresolved compliance issues".

Severity: Low
CVE ID: CVE-2024-39689"

To avoid disturbing everyone with the kernel repo hosted on GitHub, I suggest we upgrade our python dependencies once again to appease GitHub Dependabot.

---
 drivers/gpu/drm/ci/xfails/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ci/xfails/requirements.txt +1 -1
index 8b2b1fa16614..4f7ac688d448 100644
@@ -2,7 +2,7 @@ git+https://gitlab.freedesktop.org/gfx-ci/ci-collate@09e7142715c16f54344ddf97013
 termcolor==2.3.0
 
 # ci-collate dependencies
-certifi==2023.7.22
+certifi==2024.07.04
 charset-normalizer==3.2.0
 idna==3.7
 pip==23.3
Signature · 1 line
2.45.2