cve/2017/CVE-2017-17790.md

19 lines
829 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-17790](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17790)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a '|' character, a different vulnerability than CVE-2017-17405. NOTE: situations with untrusted input may be highly unlikely.
### POC
#### Reference
- https://github.com/ruby/ruby/pull/1777
2024-06-09 00:33:16 +00:00
- https://github.com/ruby/ruby/pull/1777
2024-05-26 14:27:05 +02:00
#### Github
- https://github.com/ARPSyndicate/cvemon