CVE-2014-4975 Memory corruption in n/a
An off-by-one error in Ruby's pack function allows attackers to cause a denial of service via stack-based buffer overflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-4975?
CVE-2014-4975 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 15 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2014-4975?
It affects 7 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation and 1 more.
How do I fix CVE-2014-4975?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2014-4975 being exploited?
There is no known exploitation of CVE-2014-4975 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-gxj7-mcpg-jpr6, UBUNTU-CVE-2014-4975.