CVE-2012-6711

High

Description

A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the "echo -e" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv().

SeverityHigh
CVSS7.0
Exploit probability—
ProductGnu Bash
PublishedJun 18, 2019
First seenJun 18, 2019

How to fix

Vendor advisories

Affected products

ProductAffected versionsFixed in
gnu bash4.2 ≤ v ≤ 4.3—
redhat enterprise_linux7.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.