Advisory

DEBIAN-CVE-2012-6711

Also known as: CVE-2012-6711

Summary

The record has no summary.

Details

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().

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-06-18 18:15 UTC
Modified
2026-11-18 12:01 UTC

Affected packages and fixes

bash

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.3-1 (ecosystem)

Fixed versions

4.3-1

Fix

  • Fixed version 4.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bash

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.3-1 (ecosystem)

Fixed versions

4.3-1

Fix

  • Fixed version 4.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bash

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.3-1 (ecosystem)

Fixed versions

4.3-1

Fix

  • Fixed version 4.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences