CVE-2020-35766 Path traversal in n/a

High 7.8 Published Updated

Local attackers can escalate privileges via symlink attacks on temporary test files when running OpenDKIM self-tests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-35766?

CVE-2020-35766 is a high-severity path traversal vulnerability in n/a, published on 28 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Weakness: CWE-59

Which versions are affected by CVE-2020-35766?

It affects 1 product.

Products include Opendkim Opendkim.

How do I fix CVE-2020-35766?

No fix has been published for CVE-2020-35766 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-2020-35766 being exploited?

There is no known exploitation of CVE-2020-35766 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2020-35766, GHSA-q8qf-8pcx-vfw7, UBUNTU-CVE-2020-35766.

Is CVE-2020-35766 in your software?

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

Check your SBOMs for free