You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should not show an error. Currently I am seeing:
Confidence: High
Category: Path Traversal
Check: SprocketsPathTraversal
Message: sprockets 4.0.0.beta8 has a path traversal vulnerability (CVE-2018-3760). Upgrade to sprockets 4.0.0.beta8 or newer
It appears to be an issue with the version_between? check and the "beta" text in the version. See the definition of version_between? here:
Background
Brakeman version: 4.4.0
Rails version: 5.2.1.1
Ruby version: 2.5.1p57
Issue
sprockets 4.0.0.beta8 appears to be a safe version in CVE-2018-3760 which is the version I have in my Gemfile.lock
See the following as the code check to confirm versions:
https://github.com/presidentbeef/brakeman/pull/1241/files#diff-4620b984ac2f48fe9350181b4e7c1ca7R19
It should not show an error. Currently I am seeing:
It appears to be an issue with the
version_between?
check and the "beta" text in the version. See the definition ofversion_between?
here:brakeman/lib/brakeman/tracker/config.rb
Line 121 in 2f31fbb
Splitting on "." and mapping
:to_i
for "beta8" produces a value of0
:I assume alpha/beta values should be split out and mapped differently?
The text was updated successfully, but these errors were encountered: