CVE-2013-0221 Memory corruption in n/a

Medium 4.3 Published Updated

A stack-based buffer overflow in the sort command allows local attackers to cause a denial of service via long strings.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-0221?

CVE-2013-0221 is a medium-severity memory corruption vulnerability in Opensuse Opensuse, published on 23 Nov 2013. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The SUSE coreutils-i18n.patch for GNU coreutils allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string to the sort command, when using the (1) -d or (2) -M switch, which triggers a stack-based buffer overflow in the alloca function.

Weakness: CWE-20

Which versions are affected by CVE-2013-0221?

It affects 2 products.

Products include Opensuse Opensuse, Redhat Enterprise Linux.

How do I fix CVE-2013-0221?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2013-0221 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-0221 exists.

Public exploit code: 1 Exploit-DB entry.

All Opensuse Opensuse vulnerabilities

Sources

Also known as GHSA-x3x5-p66w-97q3.

Is CVE-2013-0221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free