MGASA-2017-0371
Dashboard / Vulnerabilities / MGASA-2017-0371
MGASA-2017-0371
Summary: Updated ruby packages fix security vulnerabilities
Details: If a malicious format string which contains a precious specifier (*) is passed and a huge minus value is also passed to the specifier, buffer underrun may be caused. In such situation, the result may contains heap, or the Ruby interpreter may crash (CVE-2017-0898). If a malicious string is passed to the decode method of OpenSSL::ASN1, buffer underrun may be caused and the Ruby interpreter may crash (CVE-2017-14033). The generate method of JSON module optionally accepts an instance of JSON::Ext::Generator::State class. If a malicious instance is passed, the result may include contents of heap (CVE-2017-14064). When using the Basic authentication of WEBrick, clients can pass an arbitrary string as the user name. WEBrick outputs the passed user name intact to its log, then an attacker can inject malicious escape sequences to the log and dangerous control characters may be executed on a victim’s terminal emulator (CVE-2017-10784).
References: https://advisories.mageia.org/MGASA-2017-0371.html, https://bugs.mageia.org/show_bug.cgi?id=21678, https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/, https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/, https://www.ruby-lang.org/en/news/2017/09/14/openssl-asn1-buffer-underrun-cve-2017-14033/, https://www.ruby-lang.org/en/news/2017/09/14/json-heap-exposure-cve-2017-14064/, https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/, https://lists.fedoraproject.org/archives/list/[email protected]/thread/UFJE2REXNRTPGIHSNPRSAWTVCLFMRJZT/, https://lists.fedoraproject.org/archives/list/[email protected]/thread/65IMHHGWAQTSEIF7HZMQVPVRGFTO7YA3/
Affected packages
Package
Name: ruby
Purl: pkg:rpm/mageia/ruby?arch=source&distro=mageia-5
Affected ranges
Type: ECOSYSTEM
Events:
