CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2008 · Gnu

CVE-2008-1685
Gnu Gcc vulnerability

gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or equal to the pointer, which might lead to removal of length testing code that was intended as a protection mechanism against integer overflow and buffer overflow attacks, and provide no diagnostic message about this removal. NOTE: the vendor has determined that this compiler behavior is correct according to section 6.5.6 of the C99 standard (aka ISO/IEC 9899:1999)

Affected products

Gcc. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gnu Gcc runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gnu products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.