Advisory

GHSA-hhwc-8g49-j8jx

Also known as: CVE-2019-18409

Summary

Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-10-25 19:41 UTC
Modified
2024-02-16 08:19 UTC

Affected packages and fixes

ruby_parser-legacy

RubyGems · All systems

Affected

  • introduced 0, last affected 1.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences