{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-03-30T00:00:00.000Z","descriptions":[{"lang":"en","value":"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)"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"gcc-weak-security(41686)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41686"},{"tags":["x_refsource_MISC"],"url":"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763"},{"name":"VU#162289","tags":["third-party-advisory","x_refsource_CERT-VN"],"url":"http://www.kb.cert.org/vuls/id/162289"}],"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1685","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED **  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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"gcc-weak-security(41686)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41686"},{"name":"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763","refsource":"MISC","url":"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763"},{"name":"VU#162289","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/162289"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-07T08:32:01.285Z"},"title":"CVE Program Container","references":[{"name":"gcc-weak-security(41686)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41686"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763"},{"name":"VU#162289","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"],"url":"http://www.kb.cert.org/vuls/id/162289"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-1685","datePublished":"2008-04-06T23:00:00.000Z","dateReserved":"2008-04-06T00:00:00.000Z","dateUpdated":"2024-08-07T08:32:01.285Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}