Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for ruby is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
ruby security updateSummary:
An update for ruby is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.Description:
Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).
In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.(CVE-2021-31799)
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).(CVE-2021-31810)
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."(CVE-2021-32066)Topic:
An update for ruby is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
ruby
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade ruby ruby-devel ruby-help ruby-irb rubygem-bigdecimal rubygem-did_you_mean …rpm -q ruby ruby-devel ruby-help ruby-irb rubygem-bigdecimal rubygem-did_you_mean …Sources