RubySec

Providing security resources for the Ruby community

CVE-2022-36231 (pdf_info): Code injection in pdf_info

ADVISORIES

GEM

pdf_info

SEVERITY

CVSS v3.x: 9.8 (Critical)

PATCHED VERSIONS

None.

DESCRIPTION

pdf_info 0.5.3 is vulnerable to Command Execution. An attacker using a specially crafted payload may execute OS commands by using command chaining because during object initalization there is no validation performed and the user provided path is used.

RELATED