Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2021.1496 A command injection vulnerability in RDoc 3 May 2021 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Ruby Publisher: Ruby Operating System: UNIX variants (UNIX, Linux, OSX) Windows Impact/Access: Execute Arbitrary Code/Commands -- Remote with User Interaction Resolution: Patch/Upgrade CVE Names: CVE-2021-31799 Original Bulletin: https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ Comment: This advisory references vulnerabilities in products which run on different platforms. It is recommended that administrators running Ruby check for an updated version of the software for their operating system. - --------------------------BEGIN INCLUDED TEXT-------------------- CVE-2021-31799: A command injection vulnerability in RDoc Posted by aycabta on 2 May 2021 There is a vulnerability about Command Injection in RDoc which is bundled in Ruby. It is recommended that all Ruby users update RDoc to the latest version that fixes this issue. Details The following vulnerability has been reported. o CVE-2021-31799 RDoc used to call Kernel#open to open a local file. If a Ruby project has a file whose name starts with | and ends with tags , the command following the pipe character is executed. A malicious Ruby project could exploit it to run an arbitrary command execution against a user who attempts to run rdoc command. Ruby users whose version of RDoc is affected by this issue should update to the latest version of RDoc. Affected Versions o All releases of RDoc from 3.11 to 6.3.0 How to Update Run the following command to update RDoc to the latest version (6.3.1 or later) to fix the vulnerability. gem install rdoc Credits Thanks to Alexandr Savca for reporting the issue. History o Originally published at 2021-05-02 09:00:00 UTC - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: https://www.auscert.org.au/bulletins/ =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBYI9YD+NLKJtyKPYoAQht6w//S8Jd/uT54sxhYxAhmDmfQe9MNVkxgK9o Ec8Hg3xKpAotlABvuz5Cvc8a/FcFGFysH29Mrqyqli5jyhqptTOD93R+MS6mzIyf i0MLQgsPqLasc4Ysx9OODwn56zSvb0uDBHxxQyZnDtagCU4cQMGI1PP60uGKu9Zf LT1z1DU/q+QaLozBPVoxL4OxH+xmwZBdfNTHsb8dntVPINZLPbRYaU7dEDJtt2DM UsMYaRk7STuYwCKJvOzCXu2R/TNu4yn8oCcLYls8WZwWX/OoknRv9Yxf0fu1OwJx +OKh1teGnsI1cPAI0AOpr757WXPWY2purJ6hHy9eV2WJw1xAH82YAu4DWJb0TpfC QmbpGybm0PcOqn4jC0biU7xvFhCLQM6c+3hL7B1XIuy1Jg9IS0rqkqT5nhC4ndzD dUqGolMwMdlwnEF7uQBWNLO/CjjVi7LIKmskZB2XkGwDSO9g1bLEf7xczRAY8JIw zzj6CWWH2yNqSFnfv+fxbN3wcWpiODtiMvswotw1xFMp7Id/bKW9cpaZ0RVRfJkN zocbtE/VmNss5JxhMXWIhb76ZpKv6Jwl4a4PgdJx+988lUEcGFzglaHdc26sZFEa Q33odny8pwAjS8zXayp2iAYjgYwVEhZ3aa6CfDt0TvXlSLxltf8knB+fMzLYAFF/ ++7/S3n/HXM= =AXHt -----END PGP SIGNATURE-----