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

[Security] Bump excon from 0.45.4 to 0.78.1 #21

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

@dependabot-preview dependabot-preview bot commented Jan 1, 2021

Bumps excon from 0.45.4 to 0.78.1. This update includes security fixes.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

Race condition when using persistent connections There was a race condition around persistent connections, where a connection which is interrupted (such as by a timeout) would leave data on the socket. Subsequent requests would then read this data, returning content from the previous response. The race condition window appears to be short, and it would be difficult to purposefully exploit this.

Users can workaround the problem by disabling persistent connections, though this may cause performance implications.

Patched versions: >= 0.71.0 Unaffected versions: none

Sourced from The GitHub Security Advisory Database.

Low severity vulnerability that affects excon

Impact

There was a race condition around persistent connections, where a connection which is interrupted (such as by a timeout) would leave data on the socket. Subsequent requests would then read this data, returning content from the previous response. The race condition window appears to be short, and it would be difficult to purposefully exploit this.

Patches

The problem has been patched in 0.71.0, users should upgrade to this or a newer version (if one exists).

Workarounds

Users can workaround the problem by disabling persistent connections, though this may cause performance implications.

References

See the patch for further details.

For more information

If you have any questions or comments about this advisory:

Affected versions: < 0.71.0

Changelog

Sourced from excon's changelog.

0.78.1 2020-12-04

refine regex used for header parsing, thanks @dee-see for your help!

0.78.0 2020-10-16

Fix bash-specific gemspec expansion which caused files to be missing in zsh

0.77.0 2020-10-16

Ensure host is first request header, see: RFC 7230 Section 5.4 Update bundled certificates

0.76.0 2020-07-27

remove AddTrust bundled cert hack (no longer needed) update bundled certs add support for ssl_verify_hostname parameter use buffered reads for Excon::Socket.readline

0.75.0 2020-06-17

explicitly require ipaddr

0.74.0 2020-06-12

add ipv6 support to no-proxy handling comment out add trust cert from bundle (due to expiry)

0.73.0 2020-03-17

add request/response data to proxy errors

0.72.0 2020-01-27

update bundled certificates

0.71.1 2019-12-18

fix frozen chunks through dup prior to binary_encode

Commits
  • 5e041e3 v0.78.1
  • 6277f48 add test to prevent regex bug regression
  • f2c35b9 simplify split header regex and add tests
  • ee7e934 update rack version in Gemfile (only used for testing)
  • 49cef40 v0.78.0
  • 8852c06 fix bash-specific expansion in gemspec, which was breaking in zsh
  • c100561 v0.77.0
  • 4915550 update bundled certs
  • 6b20581 Merge pull request #723 from andrepiske/host-always-first-header
  • bc9fda1 Add comment stating why Host is being hoisted
  • Additional commits viewable in compare view

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request during working hours.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

⚠️ Dependabot won't automerge this PR as it didn't detect CI on it ⚠️

You have automerging enabled for this repo but Dependabot didn't detect any CI statuses or checks. You can disable automerging on this repo from here.

Bumps [excon](https://github.com/excon/excon) from 0.45.4 to 0.78.1. **This update includes security fixes.**
- [Release notes](https://github.com/excon/excon/releases)
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt)
- [Commits](excon/excon@v0.45.4...v0.78.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jan 1, 2021
@dependabot-preview
Copy link
Author

Superseded by #27.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/excon-0.78.1 branch March 1, 2021 10:17
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 security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants