GitHub Advisoryadvisory · RubyGems
GHSA-369m-2gv6-mw28 WEBrick RCE Vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2017-10784
- Ecosystem
- RubyGems
- Packages
- webrick
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-287
- Reviewed
- 2023-07-26
Affected packages
• RubyGems webrick: < 1.4.0 → fixed in 1.4.0
Description
The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.
Related
Alias · CVE (1)
- CVE-2017-10784 The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers… vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-10784 advisory
- https://github.com/ruby/ruby/commit/6617c41292 web
- https://github.com/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813 web
- https://hackerone.com/reports/223363 web
- https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784 web
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released web
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released web
- https://www.debian.org/security/2017/dsa-4031 web
- https://web.archive.org/web/20211025092552/http://www.securitytracker.com/id/1039363 web
- https://web.archive.org/web/20210919031115/http://www.securitytracker.com/id/1042004 web
- https://web.archive.org/web/20210621131814/http://www.securityfocus.com/bid/100853 web
- https://usn.ubuntu.com/3685-1 web
- https://usn.ubuntu.com/3528-1 web
- https://security.gentoo.org/glsa/201710-18 web
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml web
- https://github.com/ruby/webrick package
- https://access.redhat.com/errata/RHSA-2018:0585 web
- https://access.redhat.com/errata/RHSA-2018:0583 web
- https://access.redhat.com/errata/RHSA-2018:0378 web
- https://access.redhat.com/errata/RHSA-2017:3485 web