PT-2023-13461 · Pdf Info · Pdf Info
Tomtaylor
·
Publicado
2023-02-23
·
Atualizado
2025-03-13
·
CVE-2022-36231
CVSS v3.1
9.8
Crítica
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
pdf info version 0.5.3
Description
The issue is related to Command Execution. The Ruby code in pdf info uses backticks instead of Open3, which can lead to command execution. An attacker may execute OS commands by using command chaining because during object initialization, there is no validation performed, and the user-provided path is used.
Recommendations
For pdf info version 0.5.3, consider updating to a newer version that uses Open3 instead of backticks to prevent command execution. As a temporary workaround, restrict the use of user-provided paths during object initialization to minimize the risk of exploitation.
Exploit
Correção
OS Command Injection
Code Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Pdf Info