Skip to content

Releases: presidentbeef/brakeman

5.3.0

10 Aug 00:53
Compare
Choose a tag to compare
  • Add CWE information to warnings (Stephen Aghaulor)
  • Include explicit engine or lib paths in vendor/ (Joe Rafaniello)
  • Add check for CVE-2022-32209
  • Load rexml as a Brakeman dependency
  • Fix "full call" information propagating unnecessarily

5.2.3

20 Jun 04:08
Compare
Choose a tag to compare
  • Fix error with hash shorthand syntax (#1700)
  • Match order of interactive options with help message (@roryokane)

5.2.2

06 Apr 16:49
Compare
Choose a tag to compare
  • Respect equality in if conditions (#1683)
  • Update message for unsafe reflection (Pedro Baracho)
  • Handle nil when joining values (Dan Buettner)
  • Add additional String methods for SQL injection check (#1669)
  • Update ruby_parser for Ruby 3.1 support (Merek Skubela)

5.2.1

30 Jan 19:24
Compare
Choose a tag to compare
  • Add warning codes for EOL software warnings (#1671)

5.2.0

16 Dec 08:02
Compare
Choose a tag to compare
  • Initial Rails 7 support (#1653)
  • Require Ruby 2.5.0+ (#1649)
  • Fix issue with calls to foo.root in routes (#1640)
  • Ignore I18n.locale in SQL queries (#1597)
  • Do not treat sanitize_sql_like as safe
  • Add new checks for unsupported Ruby and Rails version
  • Bundled version of ruby_parser updated to 3.18.1

5.1.2

28 Oct 19:08
Compare
Choose a tag to compare
  • Updated ruby_parser (Ryan Davis)
  • Fix issue where the previous output is still visible (Jason Frey)
  • Handle cases where enums are not symbols (#1627)
  • Support newer Haml with ::Haml::AttributeBuilder.build
  • Fix sorting with nil line numbers

5.1.1

20 Jul 02:51
Compare
Choose a tag to compare
  • Unrefactor IgnoreConfig's use of Brakeman::FilePath

(Fixes bugs with -I and also relative paths for -i.)

5.1.0

19 Jul 22:09
Compare
Choose a tag to compare
  • Report Formats
  • Performance
    • Read and parse files in parallel
  • Ruby Interpretation
    • Initial support for ActiveRecord enums (#1492)
    • Interprocedural dataflow from very simple class methods
    • Support Array#fetch and Hash#fetch (#1571)
    • Support Array#push
    • Support Array#*
    • Better Array#join support
    • Support Hash#values and Hash#values_at
    • Support Hash#include?
  • SQL Injection
    • Update SQL injection check for Rails 6.0/6.1
    • Add --sql-safe-methods option (Esty Scheiner)
    • Ignore dates in SQL
    • Ignore sanitize_sql_like in SQL (#1571)
    • Ignore method calls on numbers in SQL (#1571)
  • Other Fixes
    • Ignore renderables in dynamic render path check (Brad Parker)
    • Fix false positive in command injection with Open3.capture (Richard Fitzgerald)
    • Fix infinite loop on mixin self-includes (Andrew Szczepanski)
    • Check for user-controlled evaluation even if it's a call target (#1590)
  • Refactoring
    • Refactor cookie?/param? methods (Keenan Brock)
    • Better method definition tracking and lookup

5.0.4

16 Jun 17:14
Compare
Choose a tag to compare
  • Update bundled ruby_parser to include argument forwarding support (brakeman gem only)

5.0.2

07 Jun 21:49
Compare
Choose a tag to compare
  • Fix Loofah version check