Skip to content

build(deps): bump requests from 2.27.1 to 2.31.0 in /synthtool/gcp/templates/java_library/.kokoro#1801

Closed
dependabot[bot] wants to merge 3 commits intomasterfrom
dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0
Closed

build(deps): bump requests from 2.27.1 to 2.31.0 in /synthtool/gcp/templates/java_library/.kokoro#1801
dependabot[bot] wants to merge 3 commits intomasterfrom
dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 23, 2023

Bumps requests from 2.27.1 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.

v2.30.0

2.30.0 (2023-05-03)

Dependencies

v2.29.0

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)

... (truncated)

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

Dependabot compatibility score

You can trigger a rebase of this PR 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot requested a review from a team May 23, 2023 03:57
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 23, 2023
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 23, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented May 23, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 23, 2023
@dependabot dependabot Bot force-pushed the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch from ff9167c to e4b3362 Compare May 24, 2023 18:43
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 24, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented May 24, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 24, 2023
@dependabot dependabot Bot force-pushed the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch from e4b3362 to 9ef3364 Compare May 25, 2023 14:31
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented May 25, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dependabot dependabot Bot force-pushed the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch from 9ef3364 to db68b6c Compare May 25, 2023 14:44
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented May 25, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dependabot dependabot Bot force-pushed the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch from db68b6c to c2793bd Compare May 25, 2023 14:49
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented May 25, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 25, 2023
@dependabot dependabot Bot force-pushed the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch from c2793bd to b4c4a61 Compare June 3, 2023 21:18
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented Jun 3, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2023
@holtskinner
Copy link
Copy Markdown
Contributor

Note, I think this needs to be updated in synthtool/gcp/templates/java_library/.kokoro/requirements.in

requests>=2.31.0

holtskinner added a commit to holtskinner/synthtool that referenced this pull request Jun 27, 2023
- Add version restrictions into `requirements.in` in addition to `requirements.txt`
- Replaces googleapis#1801 googleapis#1802 googleapis#1807
holtskinner added a commit to holtskinner/synthtool that referenced this pull request Jun 27, 2023
- Add version restrictions into `requirements.in` in addition to `requirements.txt`
- Replaces googleapis#1801 googleapis#1802 googleapis#1807
holtskinner added a commit to holtskinner/synthtool that referenced this pull request Jun 27, 2023
- Add version restrictions into `requirements.in` in addition to `requirements.txt`
- Replaces
  - googleapis#1801
  - googleapis#1802
  - googleapis#1807
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 10, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented Jul 10, 2023

/gcbrun

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 10, 2023
@SurferJeffAtGoogle
Copy link
Copy Markdown
Contributor

I can't merge this pull request until @suztomo approves.

@suztomo
Copy link
Copy Markdown
Member

suztomo commented Jul 12, 2023

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 12, 2023
@dpebot
Copy link
Copy Markdown

dpebot commented Jul 12, 2023

/gcbrun

Comment on lines 376 to -380
# via keyring
setuptools==67.3.2 \
--hash=sha256:95f00380ef2ffa41d9bba85d95b27689d923c93dfbafed4aecd7cf988a25e012 \
--hash=sha256:bb6d8e508de562768f2027902929f8523932fcd1fb784e6d573d2cafac995a48
# via -r requirements.in
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this remove setuptools?

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 12, 2023
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jul 24, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/synthtool/gcp/templates/java_library/dot-kokoro/requests-2.31.0 branch July 24, 2023 14:19
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants