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 sprockets from 2.12.1 to 3.7.2 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps sprockets from 2.12.1 to 3.7.2. This update includes security fixes.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

Path Traversal in Sprockets Specially crafted requests can be used to access files that exist on the filesystem that is outside an application's root directory, when the Sprockets server is used in production.

All users running an affected release should either upgrade or use one of the work arounds immediately.

Workaround: In Rails applications, work around this issue, set config.assets.compile = false and config.public_file_server.enabled = true in an initializer and precompile the assets.

This work around will not be possible in all hosting environments and upgrading is advised.

Patched versions: >= 2.12.5, = 4.0.0.beta8 Unaffected versions: none

Sourced from The Ruby Advisory Database.

Arbitrary file existence disclosure in Sprockets Specially crafted requests can be used to determine whether a file exists on the filesystem that is outside an application's root directory. The files will not be served, but attackers can determine whether or not the file exists.

Patched versions: ~> 2.0.5; ~> 2.1.4; ~> 2.2.3; ~> 2.3.3; ~> 2.4.6; ~> 2.5.1; ~> 2.7.1; ~> 2.8.3; ~> 2.9.4; ~> 2.10.2; ~> 2.11.3; ~> 2.12.3; >= 3.0.0.beta.3 Unaffected versions: none

Release notes

Sourced from sprockets's releases.

v3.7.0

  • Deprecated interfaces now emit deprecation warnings #345

v3.6.3

  • Faster asset lookup in large directories #336
  • Faster PathUtils.match_path_extname rails/sprockets@697269c
  • Fixed uglifier comment stripping #326
  • Error messages now show load path info #313

v3.6.2

Performance improvements.

3.6.1

Some performance improvements

3.6.0

  • Add Manifest#find_sources to return the source of the compiled assets.
  • Fix the list of compressable mime types.
  • Improve performance of the FileStore cache.

3.5.2

  • Fix JRuby bug with concurrent-ruby.
  • Fix disabling gzip generation in cached environments.

3.5.1

Fix gzip asset generation for assets already on disk.

3.5.0

  • Reintroduce Gzip file generation for non-binary assets.

3.4.1

  • PathUtils::Entries will no longer error on an empty directory.

3.4.0

Expose method to override the sass cache in the SassProcessor.

3.3.5

  • Fix bug related to absolute path being reintroduced into history cache #141.

3.3.4

  • Relative cache contents now work with windows.

3.3.3

  • Remove more absolute paths from cache contents.

3.3.2

  • Fix cache contents to use relative paths instead of absolute paths.
Changelog

Sourced from sprockets's changelog.

3.7.2 (June 19, 2018)

3.7.1 (December 19, 2016)

  • Ruby 2.4 support for Sprockets 3.

3.7.0 (July 21, 2016)

  • Deprecated interfaces now emit deprecation warnings #345

3.6.3 (July 1, 2016)

  • Faster asset lookup in large directories #336
  • Faster PathUtils.match_path_extname rails/sprockets@697269c
  • Fixed uglifier comment stripping #326
  • Error messages now show load path info #313

3.6.2 (June 21, 2016)

  • More performance improvements.

3.6.1 (June 17, 2016)

  • Some performance improvements.

3.6.0 (April 6, 2016)

  • Add Manifest#find_sources to return the source of the compiled assets.
  • Fix the list of compressable mime types.
  • Improve performance of the FileStore cache.

3.5.2 (December 8, 2015)

  • Fix JRuby bug with concurrent-ruby.
  • Fix disabling gzip generation in cached environments.

3.5.1 (December 5, 2015)

  • Fix gzip asset generation for assets already on disk.

3.5.0 (December 3, 2015)

  • Reintroduce Gzip file generation for non-binary assets.

3.4.1 (November 25, 2015)

  • PathUtils::Entries will no longer error on an empty directory.
Commits
  • 2f7b7e5 v3.7.2
  • 9c34fa0 Do not respond to http requests asking for a file://
  • eb0af6d Make sure find_sources behaves in the same way when the assets don't
  • cfae3de Merge pull request #487 from mcfiredrill/patch-1
  • dbeda82 typo in deprecation message
  • 10dada6 v3.7.1
  • a20f35c Merge pull request #442 from maclover7/jm-ruby-24
  • d47639f Update Sprockets::Utils#duplicable? for Ruby 2.4+
  • d62bf7b Add Ruby v2.4.0-rc1 to Travis matrix
  • 9c2c5f8 Backport test changes from a4001a4b2f8408f0a87ff44aa21b502c1847f79e
  • 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.


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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [sprockets](https://github.com/rails/sprockets) from 2.12.1 to 3.7.2. **This update includes security fixes.**
- [Release notes](https://github.com/rails/sprockets/releases)
- [Changelog](https://github.com/rails/sprockets/blob/v3.7.2/CHANGELOG.md)
- [Commits](rails/sprockets@v2.12.1...v3.7.2)

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 Aug 20, 2020
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