Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2009-4124

published

ruby: Heap-based buffer overflow in the rb_str_justify() function

Title from Red Hat VEX

Published
11 Dec 2009, 16:00:00 UTC
Updated
07 Aug 2024, 06:54:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

6
  • 37660 http://secunia.com/advisories/37660 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 60880 http://www.osvdb.org/60880 vdb-entry, x_refsource_OSVDB, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 37278 http://www.securityfocus.com/bid/37278 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2009-3471 http://www.vupen.com/english/advisories/2009/3471 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • ruby-rbstrjustify-bo(54674) https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9d2a0d90b03f08efb80a1f64183284d786c3dba9ae8c477dbb9c2f87d495268a
Ingested
23 Sep 2026, 07:38:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected