GHSA-4fc2-r6x5-wm8pHighCVSS 8.4
amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby...
🔗 CVE IDs covered (1)
📋 Description
amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby code injection condition in AwesomeMethodArray#grep. A specially named method containing Ruby interpolation syntax can be interpolated into a dynamically constructed eval string when grep is called with a block, resulting in Ruby code execution in the host process. Exploitation requires an application path that allows an attacker to influence dynamic method names.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-67986
- https://gist.github.com/Zykis1024/21b13ddabf1a7d9707fd573518cefa71
- https://github.com/amazing-print/amazing_print
- https://github.com/amazing-print/amazing_print/blob/dc890dfafdf07088ea901df53c19c2710e5c5234/lib/amazing_print/core_ext/awesome_method_array.rb#L71
- https://github.com/advisories/GHSA-4fc2-r6x5-wm8p