p PatchFirst

CVE-2024-41672

CVE-2024-41672 · DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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't 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.

CVSS 7.5 · High · EPSS 0.8% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • duckdb

    Versions
    • <= 1.0.0: Affected

    No fix published

  • duckdb PyPI

    Versions
    • 1.0.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.0.0, < 1.1.0

    Update to 1.1.0

  • duckdb PyPI

    Versions
    • 0.0.0
    • 0.0.2
    • 0.0.3
    • 0.1.0
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.10.0
    • 0.10.1
    • 0.10.2
    • 0.10.3
    • 0.2.0
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    • 0.2.9
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.6.1
    • 0.7.0
    • 0.7.1
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 0.9.1
    • 0.9.2
    • 1.0.0
    • v0.10.3
    • v0.10.2
    • v0.10.1
    • v0.10.0
    • v0.9.2
    • v0.9.1
    • v0.9.0
    • v0.8.1
    • v0.8.0
    • v0.7.1
    • v0.7.0
    • v0.6.1
    • v0.6.0
    • v0.5.1
    • v0.5.0
    • v0.4.0
    • v0.3.4
    • v0.3.3
    • v0.3.2
    • v0.3.1
    • v0.3.0
    • v0.2.9
    • v0.2.8
    • v0.2.7
    • v0.2.6
    • v0.2.5
    • v0.2.4
    • v0.2.3
    • v0.2.2
    • v0.2.1
    • v0.2.0
    • v0.1.9
    • v0.1.8
    • v0.1.7
    • v0.1.6
    • v0.1.5
    • v0.1.4
    • v0.1.3
    • v0.1.2
    • v0.1.1
    Affected ranges
    • GIT: < c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a
    • ECOSYSTEM: < 1.1.0

    Update to 1.1.0

Original sources

Check your server →