Defect #33334
closed
bump i18n for advisory: CVE-2014-10077
Added by Popa Marius almost 5 years ago.
Updated almost 4 years ago.
Description
Please update i18n from 0.7.0 to 0.8.0
bundle-audit
Name: i18n
Version: 0.7.0
Advisory: CVE-2014-10077
Criticality: Unknown
URL: https://github.com/svenfuchs/i18n/pull/289
Title: i18n Gem for Ruby lib/i18n/core_ext/hash.rb Hash#slice() Function Hash Handling DoS
Solution: upgrade to >= 0.8.0
Vulnerabilities found!
Thanks we did it that way , also in 4.0.x branch i18n should be bumped to 0.8.0
The version of Hash#slice
in the i18n gem (which was vulnerable to CVE-2014-10077) is only used if there is not already another version of this method present:
- From Ruby 2.5.0 on, Ruby itself ships this method.
- When used with Rails (resp. ActiveSupport) on version >= 3.0, < 6.0, it also ships this method. It is used in preference to the one in the i18n gem since
ActiveSupport
is loaded before i18n
Thus, the version of the method shipped with the i18n gem should never actually be used by us (or any dependent code). Thus, I think this vulnerability doesn't apply to us.
- Status changed from New to Closed
- Resolution set to Fixed
Also available in: Atom
PDF