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 brakeman from 4.5.1 to 4.10.0 #133

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps brakeman from 4.5.1 to 4.10.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

brakeman world writable files allow local privilege escalation The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.

Patched versions: >= 4.7.1 Unaffected versions: <= 4.4.0

Release notes

Sourced from brakeman's releases.

4.10.0

4.9.1

  • Use version from active_record for non-Rails apps (Ulysse Buonomo)
  • Check chomped strings for SQL injection (#1509)
  • Always set line number for joined arrays (#1499)
  • Avoid warning about missing attr_accessible if protected_attributes gem is used (#1512)
  • Bundle latest ruby_parser (4.15.0)

4.9.0

  • Add --ensure-ignore-notes (Eli Block)
  • Add check for user input in ERB.new (Matt Hickman)
  • Add check for CVE-2020-8166 (Jamie Finnigan)
  • Always scan environment.rb
  • Avoid warning when safe_yaml is used via YAML.load(..., safe: true)
  • Do not warn about mass assignment with params.permit!.slice
  • Ignore params.permit! in path helpers
  • Treat Dir.glob as safe source of values in guards
  • Remove whitelist/blacklist language, add clarifications
  • Add "full call" information to call index results
  • Updated Slim dependency (Jeremiah Church)

4.8.2

  • Add --text-fields option
  • Add check for CVE-2020-8159
  • Add check for escaping HTML entities in JSON configuration option
  • Fix authenticate_or_request_with_http_basic check for passed blocks (Hugo Corbucci)

4.8.1

  • Warn about global(!) mass assignment
  • Check SQL query strings using String#strip or String.squish (#1459)
  • Handle non-symbol keys in locals hash for render (#1465)
  • Index calls in render arguments (#1459)

4.8.0

  • Add JUnit XML report format (Naoki Kimurai)
  • Sort ignore files by fingerprint and line (Ngan Pham)
  • Catch dangerous concatenation in CheckExecute (Jacob Evelyn)
  • User-friendly message when ignore config file has invalid JSON (D. Hicks)
  • Freeze call index results, fix thread-safety issue
  • Properly render confidence in Markdown report (#1446)
  • Report old warnings as fixed if zero warnings reported
  • Initialize Rails version with nil (Carsten Wirth)
  • Fix output test when using newer Minitest

4.7.2

  • Add request.params as query parameters (#1398)
  • Handle more permit! cases (#1426)
  • Remove version guard for named_scope vs. scope
Changelog

Sourced from brakeman's changelog.

4.10.0 - 2020-09-28

  • Add SARIF report format (Steve Winton)

4.9.1 - 2020-09-04

  • Check chomped strings for SQL injection
  • Use version from active_record for non-Rails apps (Ulysse Buonomo)
  • Always set line number for joined arrays
  • Avoid warning about missing attr_accessible if protected_attributes gem is used

4.9.0 - 2020-08-04

  • Add check for CVE-2020-8166 (Jamie Finnigan)
  • Avoid warning when safe_yaml is used via YAML.load(..., safe: true)
  • Add check for user input in ERB.new (Matt Hickman)
  • Add --ensure-ignore-notes (Eli Block)
  • Remove whitelist/blacklist language, add clarifications
  • Do not warn about mass assignment with params.permit!.slice
  • Add "full call" information to call index results
  • Ignore params.permit! in path helpers
  • Treat Dir.glob as safe source of values in guards
  • Always scan environment.rb

4.8.2 - 2020-05-12

  • Add check for CVE-2020-8159
  • Fix authenticate_or_request_with_http_basic check for passed blocks (Hugo Corbucci)
  • Add --text-fields option
  • Add check for escaping HTML entities in JSON configuration

4.8.1 - 2020-04-06

  • Check SQL query strings using String#strip or String.squish
  • Handle non-symbol keys in locals hash for render()
  • Warn about global(!) mass assignment
  • Index calls in render arguments

4.8.0 - 2020-02-18

  • Add JUnit-XML report format (Naoki Kimura)
  • Sort ignore files by fingerprint and line (Ngan Pham)
  • Freeze call index results
  • Fix output test when using newer Minitest
  • Properly render confidence in Markdown report
  • Report old warnings as fixed if zero warnings reported
  • Catch dangerous concatenation in CheckExecute (Jacob Evelyn)
  • Show user-friendly message when ignore config file has invalid JSON (D. Hicks)
  • Initialize Rails version with nil (Carsten Wirth)
Commits
  • 8f696e3 Bump to 4.10.0
  • 2beaac0 Update CHANGES
  • 5daa392 Add SARIF output format
  • 4cb7ad2 Fix permissions during gem build
  • c790626 Bump to 4.9.1
  • 5a552e4 Update CHANGES
  • 80f6bfa Merge pull request #1513 from presidentbeef/protected_attributes_attr_accessible
  • 7fa17b9 Avoid warning about missing attr_accessible
  • 4056719 Merge pull request #1511 from presidentbeef/chomp_strings_sql
  • 7c43897 Check chomped strings for SQL injection
  • 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)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.5.1 to 4.10.0. **This update includes a security fix.**
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md)
- [Commits](presidentbeef/brakeman@v4.5.1...v4.10.0)

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 Oct 1, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #145.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/brakeman-4.10.0 branch January 1, 2021 07:05
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