amazing_print: amazing_print: Arbitrary code execution via Ruby code injection in AwesomeMethodArray#grep
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.262% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Arbitrary Ruby Code Execution via Dynamic eval in amazing_print's AwesomeMethodArray#grep | amazing_print: amazing_print: Arbitrary code execution via Ruby code injection in AwesomeMethodArray#grep |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Arbitrary Ruby Code Execution via Dynamic eval in amazing_print's AwesomeMethodArray#grep |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-94 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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 |
|
No data.