Skip to content

Code injection in pdf_info

Critical severity GitHub Reviewed Published Feb 24, 2023 to the GitHub Advisory Database • Updated Mar 9, 2023

Package

bundler pdf_info (RubyGems)

Affected versions

<= 0.5.3

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.

References

Published by the National Vulnerability Database Feb 23, 2023
Published to the GitHub Advisory Database Feb 24, 2023
Reviewed Feb 24, 2023
Last updated Mar 9, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-36231

GHSA ID

GHSA-9fh3-j99m-f4v7
Checking history
See something to contribute? Suggest improvements for this vulnerability.