SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2009-4124

Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.

HIGH 10.0EPSS 3.88%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (3.88%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.

CVSS 2.0
10.0 HIGHAV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS
3.88% probability · 90th percentile
CISA KEV
Not listed
Weakness
CWE-119
Affected
ruby-lang/ruby
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.