CVE-2023-34204 Path traversal in n/a

Medium 6.5 Published Updated

An attacker can overwrite files or modify cache by exploiting predictable temporary file paths in imapsync, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-34204?

CVE-2023-34204 is a medium-severity path traversal vulnerability in n/a, published on 30 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

imapsync through 2.229 uses predictable paths under /tmp and /var/tmp in its default mode of operation. Both of these are typically world-writable, and thus (for example) an attacker can modify imapsync's cache and overwrite files belonging to the user who runs it.

Weakness: CWE-59

Which versions are affected by CVE-2023-34204?

It affects 1 product.

Products include Imapsync Project Imapsync.

How do I fix CVE-2023-34204?

No fix has been published for CVE-2023-34204 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-34204 being exploited?

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

Sources

Also known as GHSA-pwpq-84p4-86mx.

Is CVE-2023-34204 in your software?

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

Check your SBOMs for free