Advisory

DEBIAN-CVE-2023-4039

Also known as: CVE-2023-4039

Summary

The record has no summary.

Details

DISPUTEDA failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-protector failure only applies to C99-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.

Severity

Medium Basis: CVSS v3 score 4.8, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2023-09-13 09:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

gcc-11

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

gcc-12

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 12.2.0-14+deb12u1 (ecosystem)

Fixed versions

12.2.0-14+deb12u1

Fix

  • Fixed version 12.2.0-14+deb12u1
    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.

gcc-12

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 12.3.0-9 (ecosystem)

Fixed versions

12.3.0-9

Fix

  • Fixed version 12.3.0-9
    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.

gcc-12

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 12.3.0-9 (ecosystem)

Fixed versions

12.3.0-9

Fix

  • Fixed version 12.3.0-9
    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.

gcc-13

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 13.2.0-4 (ecosystem)

Fixed versions

13.2.0-4

Fix

  • Fixed version 13.2.0-4
    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.

gcc-13

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 13.2.0-4 (ecosystem)

Fixed versions

13.2.0-4

Fix

  • Fixed version 13.2.0-4
    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