gsd-2023-37475
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro's `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-37475", "id": "GSD-2023-37475" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-37475" ], "details": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.", "id": "GSD-2023-37475", "modified": "2023-12-13T01:20:24.800632Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-37475", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "avro", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 2.13.0" } ] } } ] }, "vendor_name": "hamba" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability." } ] }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-400", "lang": "eng", "value": "CWE-400: Uncontrolled Resource Consumption" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45", "refsource": "MISC", "url": "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45" }, { "name": "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290", "refsource": "MISC", "url": "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290" } ] }, "source": { "advisory": "GHSA-9x44-9pgq-cf45", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv2.13.0", "affected_versions": "All versions before 2.13.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2023-07-27", "description": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.", "fixed_versions": [ "v2.13.0" ], "identifier": "CVE-2023-37475", "identifiers": [ "GHSA-9x44-9pgq-cf45", "CVE-2023-37475" ], "not_impacted": "All versions starting from 2.13.0", "package_slug": "go/github.com/hamba/avro", "pubdate": "2023-07-17", "solution": "Upgrade to version 2.13.0 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45", "https://github.com/hamba/avro/pull/273", "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290", "https://github.com/hamba/avro/blob/3abfe1e6382c5dccf2e1a00260c51a64bc1f1ca1/reader.go#L216-L242", "https://github.com/hamba/avro/releases/tag/v2.13.0", "https://nvd.nist.gov/vuln/detail/CVE-2023-37475", "https://github.com/advisories/GHSA-9x44-9pgq-cf45" ], "uuid": "70e2e4d1-4a21-46d4-b609-2d314355ba2d", "versions": [ { "commit": { "sha": "b4a402f41cf44b6094b5131286830ba9bb1eb290", "tags": [ "v2.13.0" ], "timestamp": "20230716172209" }, "number": "v2.13.0" } ] }, { "affected_range": "\u003cv2.13.0", "affected_versions": "All versions before 2.13.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2023-07-26", "description": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.", "fixed_versions": [ "v2.13.0" ], "identifier": "CVE-2023-37475", "identifiers": [ "CVE-2023-37475", "GHSA-9x44-9pgq-cf45" ], "not_impacted": "", "package_slug": "go/github.com/hamba/avro/security/v2", "pubdate": "2023-07-17", "solution": "Upgrade to version 2.13.0 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2023-37475", "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290", "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45" ], "uuid": "de788623-63f0-40d2-a60b-da7a7f6aba4c", "versions": [ { "commit": { "sha": "b4a402f41cf44b6094b5131286830ba9bb1eb290", "tags": [ "v2.13.0" ], "timestamp": "20230716172209" }, "number": "v2.13.0" } ] }, { "affected_range": "\u003cv2.13.0", "affected_versions": "All versions before 2.13.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2023-07-27", "description": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.", "fixed_versions": [ "v2.13.0" ], "identifier": "CVE-2023-37475", "identifiers": [ "GHSA-9x44-9pgq-cf45", "CVE-2023-37475" ], "not_impacted": "All versions starting from 2.13.0", "package_slug": "go/github.com/hamba/avro/v2", "pubdate": "2023-07-17", "solution": "Upgrade to version 2.13.0 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45", "https://github.com/hamba/avro/pull/273", "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290", "https://github.com/hamba/avro/blob/3abfe1e6382c5dccf2e1a00260c51a64bc1f1ca1/reader.go#L216-L242", "https://github.com/hamba/avro/releases/tag/v2.13.0", "https://nvd.nist.gov/vuln/detail/CVE-2023-37475", "https://github.com/advisories/GHSA-9x44-9pgq-cf45" ], "uuid": "eeb3945f-7a4f-4b5f-a31d-5f65e9346c3a", "versions": [ { "commit": { "sha": "b4a402f41cf44b6094b5131286830ba9bb1eb290", "tags": [ "v2.13.0" ], "timestamp": "20230716172209" }, "number": "v2.13.0" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:avro_project:avro:*:*:*:*:*:go:*:*", "cpe_name": [], "versionEndExcluding": "2.13.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-37475" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro\u0027s `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-400" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290" }, { "name": "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45", "refsource": "MISC", "tags": [ "Exploit", "Vendor Advisory" ], "url": "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2023-07-26T21:35Z", "publishedDate": "2023-07-17T17:15Z" } } }
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.