QID 352364

Date Published: 2021-05-27

QID 352364: Amazon Linux Security Advisory for ruby20: ALAS-2021-1505

<DIV ID="issue_overview"> rdoc before version 6.3.1 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. (
cve-2021-31799 ) </DIV>

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as Medium - 4.2 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2021-1505 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352364

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2021-1505 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2021-1505.html
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report