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

Handle 3.1 shorthand hash syntax #1701

Merged
merged 1 commit into from
Apr 9, 2022
Merged

Conversation

presidentbeef
Copy link
Owner

Fixes #1700

@jcowhigjr
Copy link

jcowhigjr commented Apr 29, 2022

Fixed the issue for me, however to use it I am pulling 5.2.2
from github:

gem 'brakeman', github: 'presidentbeef/brakeman', require: false

but this results in a security issue:

`❯ bundle audit
Name: ruby_parser-legacy
Version: 1.0.0
CVE: CVE-2019-18409
GHSA: GHSA-hhwc-8g49-j8jx
Criticality: High
URL: zenspider/ruby_parser-legacy#1
Title: ruby_parser-legacy world writable files allow local privilege escalation
Solution: remove or disable this gem until a patch is available!

Vulnerabilities found!`

Repository owner locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ruby 3.1: undefined method `original_line' for nil:NilClass unless value.original_line
2 participants