All the vulnerabilites related to duckdb - duckdb
cve-2024-41672
Vulnerability from cvelistv5
Published
2024-07-24 17:47
Modified
2024-08-02 04:46
Severity ?
EPSS score ?
Summary
DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled
References
▼ | URL | Tags |
---|---|---|
https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q | x_refsource_CONFIRM | |
https://github.com/duckdb/duckdb/pull/13133 | x_refsource_MISC | |
https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a | x_refsource_MISC |
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:duckdb:duckdb:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "duckdb", "vendor": "duckdb", "versions": [ { "lessThanOrEqual": "1.0.0", "status": "affected", "version": "0", "versionType": "custom" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-41672", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-07-24T18:07:30.477604Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-07-24T18:10:49.801Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T04:46:52.916Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q" }, { "name": "https://github.com/duckdb/duckdb/pull/13133", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/duckdb/duckdb/pull/13133" }, { "name": "https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "duckdb", "vendor": "duckdb", "versions": [ { "status": "affected", "version": "\u003c= 1.0.0" } ] } ], "descriptions": [ { "lang": "en", "value": "DuckDB is a SQL database management system. In versions 1.0.0 and prior, content in filesystem is accessible for reading using `sniff_csv`, even with `enable_external_access=false`. This vulnerability provides an attacker with access to filesystem even when access is expected to be disabled and other similar functions do NOT provide access. There seem to be two vectors to this vulnerability. First, access to files that should otherwise not be allowed. Second, the content from a file can be read (e.g. `/etc/hosts`, `proc/self/environ`, etc) even though that doesn\u0027t seem to be the intent of the sniff_csv function. A fix for this issue is available in commit c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a and is expected to be part of version 1.1.0." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-200", "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-07-24T17:47:20.626Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q" }, { "name": "https://github.com/duckdb/duckdb/pull/13133", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/duckdb/duckdb/pull/13133" }, { "name": "https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a" } ], "source": { "advisory": "GHSA-w2gf-jxc9-pf2q", "discovery": "UNKNOWN" }, "title": "DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-41672", "datePublished": "2024-07-24T17:47:20.626Z", "dateReserved": "2024-07-18T15:21:47.486Z", "dateUpdated": "2024-08-02T04:46:52.916Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }