Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2024

Updates the requirements on langchain, requests and gevent to permit the latest version.
Updates langchain from 0.0.319 to 0.1.11

Release notes

Sourced from langchain's releases.

v0.1.11

What's Changed

New Contributors

Full Changelog: langchain-ai/langchain@v0.1.10...v0.1.11

v0.1.10

What's Changed

... (truncated)

Commits

Updates requests to 2.31.0

Release notes

Sourced from requests's releases.

v2.31.0

2.31.0 (2023-05-22)

Security

  • Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization headers to destination servers when following HTTPS redirects.

    When proxies are defined with user info (https://user:pass@proxy:8080), Requests will construct a Proxy-Authorization header that is attached to the request to authenticate with the proxy.

    In cases where Requests receives a redirect response, it previously reattached the Proxy-Authorization header incorrectly, resulting in the value being sent through the tunneled connection to the destination server. Users who rely on defining their proxy credentials in the URL are strongly encouraged to upgrade to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy credentials once the change has been fully deployed.

    Users who do not use a proxy or do not supply their proxy credentials through the user information portion of their proxy URL are not subject to this vulnerability.

    Full details can be read in our Github Security Advisory and CVE-2023-32681.

Changelog

Sourced from requests's changelog.

2.31.0 (2023-05-22)

Security

  • Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization headers to destination servers when following HTTPS redirects.

    When proxies are defined with user info (https://user:pass@proxy:8080), Requests will construct a Proxy-Authorization header that is attached to the request to authenticate with the proxy.

    In cases where Requests receives a redirect response, it previously reattached the Proxy-Authorization header incorrectly, resulting in the value being sent through the tunneled connection to the destination server. Users who rely on defining their proxy credentials in the URL are strongly encouraged to upgrade to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy credentials once the change has been fully deployed.

    Users who do not use a proxy or do not supply their proxy credentials through the user information portion of their proxy URL are not subject to this vulnerability.

    Full details can be read in our Github Security Advisory and CVE-2023-32681.

2.30.0 (2023-05-03)

Dependencies

2.29.0 (2023-04-26)

Improvements

  • Requests now defers chunked requests to the urllib3 implementation to improve standardization. (#6226)
  • Requests relaxes header component requirements to support bytes/str subclasses. (#6356)

2.28.2 (2023-01-12)

... (truncated)

Commits

Updates gevent to 24.2.1

Changelog

Sourced from gevent's changelog.

=========================== Changes before gevent 1.0

.. currentmodule:: gevent

Release 0.13.8 (September 6, 2012)

  • Fixed :issue:80: gevent.httplib failed with RequestFailed errors because timeout was reset to 1s. Patch by Tomasz Prus.
  • core: fix compilation with the latest Cython: remove emit_ifdef/emit_else/emit_endif.
  • Fixed :issue:132: gevent.socket.gethostbyname() now does ascii encoding and uses gevent's resolver rather than calling built-in resolver. Patch by Alexey Borzenkov.

Release 0.13.7 (April 12, 2012)

  • Fixed :issue:94: fallback to buffer if memoryview fails in _get_memory on python 2.7.
  • Fixed :issue:103: Queue(None).full() returns False now (previously it returned True).
  • Fixed :issue:112: threading._sleep is not patched. Thanks to David LaBissoniere.
  • Fixed :issue:115: _dummy gets unexpected Timeout arg.

Release 0.13.6 (May 2, 2011)

  • Added __copy__ method to :class:gevent.local.local class that implements copy semantics compatible with built-in threading.local. Patch by Galfy Pundee.
  • Fixed :class:StreamServer class to catch EWOULDBLOCK rather than EAGAIN. This fixes lots of spurious tracebacks on Windows where these two constants are not the same. Patch by Alexey Borzenkov.
  • Fixed :issue:65: :func:fork now calls event_reinit only in the child process; otherwise the process could hang when using libevent2. Patch by Alexander Boudkar.

Release 0.13.5 (Apr 21, 2011)

  • Fixed build problem on Python 2.5

Release 0.13.4 (Apr 11, 2011)

  • Fixed :exc:TypeError that occurred when environ["wsgi.input"].read function was called with an integer argument.
  • Fixed :issue:63: :func:monkey.patch_thread now patches :mod:threading too, even if it's already imported. Patch by Shaun Lindsay.
  • Fixed :issue:64: :func:joinall and :func:killall functions used to hang if their argument contained duplicate greenlets.
  • Fixed :issue:69: :class:pywsgi.WSGIServer reported "Connection reset by peer" if the client did not close the connection gracefully after the last request. Such errors are now ignored.
  • Fixed :issue:67: Made :class:wsgi.WSGIServer add REQUEST_URI to environ. Patch by Andreas Blixt.
  • Fixed :issue:71: monkey patching httplib with :mod:gevent.httplib used to break HTTPSConnection. Patch by Nick Barkas.
  • Fixed :issue:74: :func:create_connection <gevent.socket.create_connection> now raises proper exception when getaddrinfo fails.
  • Fixed :meth:BaseServer.__repr__ method, :attr:BaseServer.server_host and :attr:BaseServer.server_port attributes to handle the case of AF_UNIX addresses properly. Previously they assumed address is always a tuple.
  • Fixed :class:pywsgi.WSGIServer to handle AF_UNIX listeners. The server now sets environ["SERVER_NAME"] and environ["SERVER_PORT"] to empty string in such case.

... (truncated)

Commits
  • 2db2fa1 Preparing release 24.2.1
  • 60b55d0 typo.
  • e0d9705 Make cross-thread locks use native blocking and timeouts instead of spinning.
  • 31ebe75 typo
  • 989c2c0 Now that I enabled c-ares tests on all Linux builds, there is one getaddrinfo...
  • a0b3caf Update c-ares from 1.19.1 to 1.26.0
  • b00b4fb Debugging why ccache isn't being saved.
  • 90be38c Debugging why ccache isn't being saved.
  • 6764687 Debugging why ccache isn't being saved.
  • 50fc24d Updating GHA action versions; another skipped test for Appveyor.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Updates the requirements on [langchain](https://github.com/langchain-ai/langchain), [requests](https://github.com/psf/requests) and [gevent](https://github.com/gevent/gevent) to permit the latest version.

Updates `langchain` from 0.0.319 to 0.1.11
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](langchain-ai/langchain@v0.0.319...v0.1.11)

Updates `requests` to 2.31.0
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.26.0...v2.31.0)

Updates `gevent` to 24.2.1
- [Release notes](https://github.com/gevent/gevent/releases)
- [Changelog](https://github.com/gevent/gevent/blob/master/docs/changelog_pre.rst)
- [Commits](gevent/gevent@21.12.0...24.2.1)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: requests
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: gevent
  dependency-type: direct:production
  dependency-group: pip-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 6, 2024
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 17, 2024

Superseded by #20.

@dependabot dependabot bot closed this Apr 17, 2024
@dependabot dependabot bot deleted the dependabot/pip/backend/ai-service/pip-security-group-0c8e13c1d6 branch April 17, 2024 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant