Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Enterprise Linux Subscribe
Enterprise Linux Desktop Subscribe
Enterprise Linux Hpc Node Subscribe
Enterprise Linux Server Subscribe
Enterprise Linux Workstation Subscribe
Rhel Software Collections Subscribe
Ruby-lang Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-200-1 ruby1.9.1 security update
Debian DSA Debian DSA DSA-3157-1 ruby1.9.1 security update
EUVD EUVD EUVD-2014-4890 Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
Ubuntu USN Ubuntu USN USN-2397-1 Ruby vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T11:34:36.647Z

Reserved: 2014-07-15T00:00:00

Link: CVE-2014-4975

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2014-11-15T20:59:01.453

Modified: 2025-04-12T10:46:40.837

Link: CVE-2014-4975

cve-icon Redhat

Severity : Low

Publid Date: 2014-07-09T00:00:00Z

Links: CVE-2014-4975 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses