inukshuk/bibtex-ruby · Security
BibTeX-Ruby vulnerable to OS command injection
- GHSA ID
- GHSA-c5r5-7pfh-6qg6
- CVE ID
- CVE-2019-10780
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
BibTeX-ruby before 5.1.0 allows shell command injection due to unsanitized user input being passed directly to the built-in Ruby Kernel.open method through BibTeX.open.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-10780 ↗
- https://github.com/inukshuk/bibtex-ruby/commit/14406f4460f4e1ecabd25ca94f809b3ea7c5fb11 ↗
- https://snyk.io/vuln/SNYK-RUBY-BIBTEXRUBY-542602 ↗
- https://github.com/advisories/GHSA-c5r5-7pfh-6qg6 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bibtex-ruby/CVE-2019-10780.yml ↗