Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency urllib3 to v2.0.6 [security] #2536

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
urllib3 (changelog) ==2.0.4 -> ==2.0.6 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-43804

urllib3 doesn't treat the Cookie HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a Cookie header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.

Users must handle redirects themselves instead of relying on urllib3's automatic redirects to achieve safe processing of the Cookie header, thus we decided to strip the header by default in order to further protect users who aren't using the correct approach.

Affected usages

We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:

  • Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)
  • Using the Cookie header on requests, which is mostly typical for impersonating a browser.
  • Not disabling HTTP redirects
  • Either not using HTTPS or for the origin server to redirect to a malicious origin.

Remediation

  • Upgrading to at least urllib3 v1.26.17 or v2.0.6
  • Disabling HTTP redirects using redirects=False when sending requests.
  • Not using the Cookie header.

Release Notes

urllib3/urllib3 (urllib3)

v2.0.6

Compare Source

==================

  • Added the Cookie header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via Retry.remove_headers_on_redirect.

v2.0.5

Compare Source

==================

  • Allowed pyOpenSSL third-party module without any deprecation warning. (#&#8203;3126 <https://github.com/urllib3/urllib3/issues/3126>__)
  • Fixed default blocksize of HTTPConnection classes to match high-level classes. Previously was 8KiB, now 16KiB. (#&#8203;3066 <https://github.com/urllib3/urllib3/issues/3066>__)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@napetrov napetrov merged commit d42294c into master Oct 3, 2023
5 checks passed
@renovate renovate bot deleted the renovate/pypi-urllib3-vulnerability branch October 3, 2023 06:46
avolkov-intel pushed a commit to avolkov-intel/oneDAL that referenced this pull request Oct 9, 2023
avolkov-intel added a commit that referenced this pull request Nov 8, 2023
* Initial commit

* Add tests

* Add cg_solver primitive to solve equation Ax = b

* Move newton_cg primitve to optimizators primitive

* Define newton_cg optimization function

* Add backtracking algorithm for optimal alpha, implement newton_cg solver

* Fix errors, add tests for newton-cg

* Remove redundant wait_and_throw, add links to sources

* Ensure code stability and fix minor issues

- Add control over the number of iterations in while loops
- Use l2-norm for convergence checks in cg-solver
- Move QuadraticFunction to primitives section

* Add sycl::fill, sycl::fabs and add specifiers for virtual functions

* Remove redundant package dependency, update default values for Float parameters

* Change update_x return type to event_vector, rename test function and minor fix

* Initial commit

* Split logloss and derivative functions, decrease the number of parameters

* Delete redundant compute functions, deselect tests

* Add LogLossFunction class and cover it with tests

* Fix bugs, rename kernels and remove redundant, update perforamnce tests

* Add wait and throw after gemv events

* Minor

* Fix error and add batch test

* Add const qualifier for table with data

* Minor

* Add LogReg test to newton_cg optimizer

* Add LogReg algorithm interface

* Add BUILD files, vanila implementation and tmp test

* Add test

* Minor

* Update train kernel

* Add GPU infer kernels to LogReg algo

* Add logistic regression dpc example

* Fix GPU test failures: PCA (#2531)

* Fix PCA tests

* Apply clang-format

* Support building reference backend with clang (#2529)

* Add correct compile flags for clang reference build

The clang makefile doesn't have the right includes defined for the
reference backend implementation. Update this to match the defines for
GCC.

* Use right include directory for TBB

The makefile doesn't use the most up-to-date variable for finding TBB
libraries. This meant that a user-installed TBB, specified through
TBBROOT, was not picked up during the build process. Now, if there is no
TBB in the __deps folder, it is picked up from TBBROOT.

* oneDAL development env docker image (#2513)

* removing JDK deps

* Fixing env and introduce docker

* Creating bazel env script

* adding readme for docker

* updating

* adding github validation

* new line

* remove bash invocation for scripts

* fixing ci.yml

* add execute permissions

* fixing ci.yml

* fixing github flow name

* adding sudo to docker image

* fixing install dpcpp script

* fixing base docker deps

* fixing bazelisk

* fixing ci.yml

* fixing windows ci with bash call

* fixing bazel ci

* updating bazel readme to current state

* fixing bazel caching and nuget windows build

* adding git binary

* adding build validation and conda to env

* enable larger validation in CI

* fixing CLI

* adding conda to docker

* fixing docker

* fixing docker

* adding deps and build

* adding docs env and more tests for nightly

* not passing param

* switching to conda env file

* adding conda env

* fixign path to env.yml

* drop caching version to 1 as bazel version was fixed

* bump version for spxinks-prompt to 1.8

* revert version

* disabling doc reqs

* switchign to latest tag

* actually running code in docker

* merging docker commands in one

* merging docker commands in one

* merging docker commands in one

* installing bazel in docker image

* adding build with OpenBLAS to validation

* removing build with OpenBLAS to validation

* Apply suggestions from code review

Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>

* Apply suggestions from code review

Co-authored-by: Alexander Andreev <alexander.andreev@intel.com>

---------

Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
Co-authored-by: Alexander Andreev <alexander.andreev@intel.com>

* chore(deps): update actions/checkout digest to 8ade135 (#2521)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update version to 2024.0.1 (#2533)

* Online interfaces for LOM (#2483)

* chore(deps): update dependency urllib3 to v2.0.6 [security] (#2536)

* Minor

* Change task name to binary classification and update an example

* Add template optimizer parameter to descriptor, add optimizer factory, change method to dense_batch

* Change unimplemented error name thrown in cpu kernel

* Move data to gpu before training

* Minor

* Change dependency graph to address error, fix tests

* Add optimizer descriptor as a template parameter

* Update interface, improve primitive stability
-Add l1_coef, class_count getters/setters
-Throw exception if l1_coef != 0.0 or class_count != 2
-Update example
-Add wait_and_throw for gemv events in logloss primitive to avoid
sporadic errors

* Move the optimizer dispatching logic to minimize function

* Minor

* Remove debug output, change optimizer_impl minimize interface

* Remove redundant header and fix example

* Remove redundatn imports

* Update makefile, remove dependency from rng_primitive

* Clang format

* Update makefile

* Add iterations number parameter

* Update devices list for logreg example

* Change fp type to float

* Address comments

* Adress changes, change iterations_number to iterations_count

* Substitute l1, l2 coefs to C - inverse regularization in the interface

* Remove class_count from descriptor constructor

* Fix typo in result option naming

* Add skipif statement to ignore cpu testing

* Remove redundant includes

---------

Co-authored-by: Dmitriy Ovchinnikov <117165790+inteldimitrius@users.noreply.github.com>
Co-authored-by: Keeran Rothenfusser <141222236+keeranroth@users.noreply.github.com>
Co-authored-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
Co-authored-by: Alexander Andreev <alexander.andreev@intel.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Solovev <aleksandr.solovev@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant