Privilege Escalation Affecting ruby package, versions [1.9.1-preview1,1.9.1-p429)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RUBY-5738990
  • published26 Jun 2023
  • disclosed26 Jun 2023
  • creditUnknown

Introduced: 26 Jun 2023

CVE-2010-2489  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.9.1-p429 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation due to a buffer overflow in util.c when processing a ARGF.inplace_mode value that is not properly handled when constructing the filenames of backup files.

CVSS Scores

version 3.1