REDHAT-BUG-892806: Low severity Ruby ruby_parser vulnerability

Published Jan 7, 2013
·
Updated

Michael Scherer discovered that the rubyparser ruby gem did not create temporary files in a safe manner. In /usr/share/gems/gems/rubyparser-2.0.4/lib/gauntletrubyparser.rb's diffpp function it creates files as /tmp/a.[pid] and /tmp/b.[pid] which can be predicted and used for either a denial of service (file cannot be overwritten), or to change the contents of a files that are writable.

The initial report is in bug #892221.

Affected Software

1 affected component
Ruby ruby_parser

Event History

Jan 7, 2013
Data Sourced
09:48 PM
DescriptionSeverityAffected Software
May 13, 2023
Data Sourced
via Red Hat·12:30 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-892806?

The severity of REDHAT-BUG-892806 can lead to potential denial of service due to predictable temporary file creation.

2

How do I fix REDHAT-BUG-892806?

To fix REDHAT-BUG-892806, update the ruby_parser gem to a patched version that implements secure temporary file creation.

3

What is the impact of REDHAT-BUG-892806?

The impact of REDHAT-BUG-892806 includes potential unauthorized access and denial of service from the misuse of predictable temporary files.

4

Who discovered REDHAT-BUG-892806?

REDHAT-BUG-892806 was discovered by Michael Scherer.

5

Which software is affected by REDHAT-BUG-892806?

The software affected by REDHAT-BUG-892806 is the ruby_parser gem version 2.0.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203