OSV-2022-487 Heap-use-after-free in duckdb::Planner::CreatePlan
A heap-use-after-free in DuckDB's planner can cause a crash when creating prepared statements, potentially leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-487?
OSV-2022-487 is an use after free vulnerability in duckdb, published on 17 Jun 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48062
Crash type: Heap-use-after-free READ 1
Crash state:
duckdb::Planner::CreatePlan
duckdb::Planner::CreatePlan
duckdb::ClientContext::CreatePreparedStatement
Which versions are affected by OSV-2022-487?
1 open source package ship an affected version, including duckdb.
| Package | Affected | Fixed in |
|---|---|---|
duckdb OSS-Fuzz | All versions | None |
How do I fix OSV-2022-487?
No fix has been published for OSV-2022-487 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2022-487 being exploited?
There is no known exploitation of OSV-2022-487 in the wild and no public exploit code.