Command Injection Affecting bibtex-ruby package, versions <5.1.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.48% (76th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-BIBTEXRUBY-542602
- published 17 Jan 2020
- disclosed 17 Jan 2020
- credit Snyk Security Team
Introduced: 17 Jan 2020
CVE-2019-10780 Open this link in a new tabHow to fix?
Upgrade bibtex-ruby
to version 5.1.0 or higher.
Overview
bibtex-ruby is a BibTeX library, parser, and converter for Ruby.
Affected versions of this package are vulnerable to Command Injection due to unsanitized user input being passed directly to the built-in dangerous Ruby Kernel.open
method through BibTeX.open
.
PoC by Snyk:
require ‘bibtex’
BibTeX.open("| echo pwned > hacked_file")