cve-2008-1685
Vulnerability from cvelistv5
Published
2008-04-06 23:00
Modified
2024-08-07 08:32
Severity ?
EPSS score ?
Summary
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)
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-07T08:32:01.285Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "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" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "n/a", "vendor": "n/a", "versions": [ { "status": "affected", "version": "n/a" } ] } ], "datePublic": "2008-03-30T00:00:00", "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", "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" } ] } } } }, "cveMetadata": { "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "assignerShortName": "mitre", "cveId": "CVE-2008-1685", "datePublished": "2008-04-06T23:00:00", "dateReserved": "2008-04-06T00:00:00", "dateUpdated": "2024-08-07T08:32:01.285Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2008-1685\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2008-04-06T23:44:00.000\",\"lastModified\":\"2024-08-07T09:15:32.897\",\"vulnStatus\":\"Modified\",\"cveTags\":[{\"sourceIdentifier\":\"cve@mitre.org\",\"tags\":[\"disputed\"]}],\"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)\"},{\"lang\":\"es\",\"value\":\"** DISPUTED ** gcc de 4.2.0 a 4.3.0 en GNU Compiler Collection, cuando casts no est\u00e1n utilizados, considera que la suma de un puntero y un entero es mayor o igual que el puntero, lo que podr\u00eda llevar a la eliminaci\u00f3n del c\u00f3digo de comprobaci\u00f3n de longitud que estaba previsto como un mecanismo de protecci\u00f3n contra ataques de desbordamientos de enteros y desbordamiento de b\u00fafer, y no proporcionar un mensaje diagn\u00f3stico sobre esta eliminaci\u00f3n. NOTA: el proveedor ha determinado que este comportamiento del compilador es correcto seg\u00fan la secci\u00f3n 6.5.6 de la norma C99 (tambi\u00e9n conocido como ISO/IEC 9899:1999).\"}],\"vendorComments\":[{\"organization\":\"Red Hat\",\"comment\":\"The Red Hat Security Response Team is aware of this new gcc behavior and is currently working to determine what impact these changes will have on the source code processed by the compiler. These changes do not affect Red Hat Enterprise Linux 2, 3, 4, or 5.\",\"lastModified\":\"2008-07-24T00:00:00\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":6.8},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":true,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-119\"},{\"lang\":\"en\",\"value\":\"CWE-189\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B63A6449-FD4A-4D83-BDF5-1E4D2284045B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B981AA48-6E80-426D-AE27-1D6965AA20A7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D0A3B471-AF8D-47C4-8769-6A68CC034E2E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8BEF1123-45FD-4A12-ADD1-12D58D7E4DFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A5AFF1AB-58E4-4DF4-8EBB-D127FF396340\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AAF40923-6C7A-484A-BE9E-8BFA5D072C94\"}]}]}],\"references\":[{\"url\":\"http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.kb.cert.org/vuls/id/162289\",\"source\":\"cve@mitre.org\",\"tags\":[\"US Government Resource\"]},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/41686\",\"source\":\"cve@mitre.org\"}]}}" } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.