GSD-2008-1685
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
** 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).
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2008-1685",
"description": "** 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).",
"id": "GSD-2008-1685",
"references": [
"https://www.suse.com/security/cve/CVE-2008-1685.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2008-1685"
],
"details": "** 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).",
"id": "GSD-2008-1685",
"modified": "2023-12-13T01:23:03.060710Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"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"
}
]
}
},
"nvd.nist.gov": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"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",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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)."
}
],
"id": "CVE-2008-1685",
"lastModified": "2024-04-11T00:43:43.173",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 6.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": true,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2008-04-06T23:44:00.000",
"references": [
{
"source": "cve@mitre.org",
"url": "http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763"
},
{
"source": "cve@mitre.org",
"tags": [
"US Government Resource"
],
"url": "http://www.kb.cert.org/vuls/id/162289"
},
{
"source": "cve@mitre.org",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/41686"
}
],
"sourceIdentifier": "cve@mitre.org",
"vendorComments": [
{
"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",
"organization": "Red Hat"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-119"
},
{
"lang": "en",
"value": "CWE-189"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…