Improper Input Validation Affecting ruby-irb package, versions <0:2.0.0.648-36.amzn2.0.1
Threat Intelligence
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-AMZN2-RUBYIRB-1673798
- published 27 Sep 2021
- disclosed 3 Apr 2018
How to fix?
Upgrade Amazon-Linux:2
ruby-irb
to version 0:2.0.0.648-36.amzn2.0.1 or higher.
This issue was patched in ALAS2-2019-1276
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby-irb
package and not the ruby-irb
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the UNIXServer.open and UNIXSocket.open methods are not checked for null characters. It may be connected to an unintended socket.
References
- http://www.securityfocus.com/bid/103767
- https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779
- https://www.debian.org/security/2018/dsa-4259
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://access.redhat.com/errata/RHSA-2018:3729
- https://access.redhat.com/errata/RHSA-2018:3730
- https://access.redhat.com/errata/RHSA-2018:3731
- https://access.redhat.com/errata/RHSA-2019:2028
- http://www.securitytracker.com/id/1042004
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://usn.ubuntu.com/3626-1/