{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2009-4124","published":"2009-12-11T16:30:00.267000Z","last_modified":"2026-06-16T23:13:05.153000Z","status":"Modified","cvss":{"version":"2.0","score":10.0,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.03875,"percentile":0.90979,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2009-4124/","html_en":"/en/cve/CVE-2009-4124/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-4124","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-4124"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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.","affected":[],"references":[{"url":"http://secunia.com/advisories/37660","tags":["Vendor Advisory"]},{"url":"http://www.osvdb.org/60880","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/37278","tags":[]},{"url":"http://www.vupen.com/english/advisories/2009/3471","tags":["Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","tags":[]}]}}