CVE-2023-49287 Buffer overflow vulnerabilities in tinydir

High 7.7 Published Updated

Buffer overflows in tinydir's file open function allow attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-49287?

CVE-2023-49287 is a high-severity memory corruption vulnerability in cxong tinydir, published on 4 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

TinyDir is a lightweight C directory and file reader. Buffer overflows in the `tinydir_file_open()` function. This vulnerability has been patched in version 1.2.6.

Weakness: CWE-121, CWE-120

Which versions are affected by CVE-2023-49287?

It affects 1 product.

Products include Cxong Tinydir.

How do I fix CVE-2023-49287?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-49287 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49287 exists.

Sources

Also known as DEBIAN-CVE-2023-49287, GHSA-jf5r-wgf4-qhxf, UBUNTU-CVE-2023-49287.

Is CVE-2023-49287 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free