From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 523B615803E for ; Fri, 5 Jan 2024 13:35:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 354EF2BC1DB; Fri, 5 Jan 2024 13:35:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFEFE2BC1CF for ; Fri, 5 Jan 2024 13:35:01 +0000 (UTC) Received: from glsamakerdev.dev.gentoo.org (unknown [140.211.166.165]) by smtp.gentoo.org (Postfix) with ESMTP id 1EF613430FA for ; Fri, 5 Jan 2024 13:35:01 +0000 (UTC) Received: from [172.18.0.3] (unknown [172.18.0.3]) by glsamakerdev.dev.gentoo.org (Postfix) with ESMTP id CDEE6A8175 for ; Fri, 5 Jan 2024 13:35:00 +0000 (UTC) Subject: [gentoo-announce] [ GLSA 202401-05 ] RDoc: Command Injection Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-announce@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha512"; boundary="===============2834114090285453131==" From: glsamaker@gentoo.org To: gentoo-announce@lists.gentoo.org Reply-To: security@gentoo.org Date: Fri, 05 Jan 2024 13:35:00 -0000 Message-ID: <170446170083.7.17913147003669275991@4a99fbfff9eb> X-Archives-Salt: 52d53cb7-958d-437d-8502-72b723f1f619 X-Archives-Hash: d9cbd522de077b23c068c29eb4a07afa --===============2834114090285453131== Content-Type: text/plain; charset="utf-8" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202401-05 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: RDoc: Command Injection Date: January 05, 2024 Bugs: #801301 ID: 202401-05 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been found in RDoc which allows for command injection. Background ========== RDoc produces HTML and command-line documentation for Ruby projects. Affected packages ================= Package Vulnerable Unaffected ------------- ------------ ------------ dev-ruby/rdoc < 6.3.2 >= 6.3.2 Description =========== A vulnerability has been discovered in RDoc. Please review the CVE identifier referenced below for details. Impact ====== 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 the rdoc command. Workaround ========== There is no known workaround at this time. Resolution ========== All RDoc users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=dev-ruby/rdoc-6.3.2" References ========== [ 1 ] CVE-2021-31799 https://nvd.nist.gov/vuln/detail/CVE-2021-31799 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202401-05 Concerns? ========= Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org. License ======= Copyright 2024 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. https://creativecommons.org/licenses/by-sa/2.5 --===============2834114090285453131== Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmWYBYQACgkQFMQkOaVy +9kn7g/9F0EUgB1HgYY+x9RIdnd3gYqmYhTrtZzrgYJjWonWet1VQvSldBdMEaMb q2cA4CiZDl6HJmaWrDTS22pLNovk1mg+nFumgBeDKDFQUFRvEmgIegf0QzSb97et xrB+YyEy9GNVhGnHOW5YzzyJu0ICsSyXTbujtJaFmqK6MeL4yd1sR/2m16G8wzej rImk5SYf4RU3sSeAV2vxon3/vxDoCBb3lTQX5iCmcGNZVsQXgLloJqh6ljYppdYu JfwQS01/tCP3HRovHnUwV1vNJm1hkrbEs6/KxXelYMq4uihcpz+WDMqdWhd/7iJI p58Kq3meFlupLk9fA/WIAUtulaymjqZY2y/mVEgq5tHqcOcCKtINQgq85/OXQrzK 2odRllvUMPLqcOcuJk9Qcu/OC/g4sq98D6qLm/9eI9LCS8rILT/35iyIIElpXDkH TqTwoRBJbT0loR5ahr+zVF5PtiurBgxP+fxizoK5VTJQ0YGCTTh51XDbf7Q/qKEH TuNWQudUQQ4gfIrhhSRV40LHThWlS1DRy4eROwX0Gvrv3Kb+UX/0mpwVfCV+/vOn MGr/l9dId6dHkYlX5oEb+ua//u/A4RiHqSxldbS3SA357/77NRw6M1Y8YSzMGcbf i2RfWnf+kyae3uUVb6ZGjAKaSqkCLMmnZGHDZ03LjbqX75vGBlU= =Tl7A -----END PGP SIGNATURE----- --===============2834114090285453131==--