Buffer overflow in Ruby-Lang Ruby
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. NOTE: some of these details are obtained from third party information.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.039 (89.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000
Affected products
- Ruby-Lang Ruby — versions 1.9.1
Weakness classification (CWE)
References
- www.osvdb.org/60880 (vdb-entry)
- exchange.xforce.ibmcloud.com/vulnerabilities/54674 (vdb-entry)
- www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ (Patch, Vendor Advisory)
- www.vupen.com/english/advisories/2009/3471 (vdb-entry, Vendor Advisory)
- www.securityfocus.com/bid/37278 (vdb-entry)
- secunia.com/advisories/37660 (Vendor Advisory, third-party-advisory)