CVE-2021-42056 Path traversal in n/a

Medium 6.7 Published Updated

Local attackers can exploit insecure temporary files via symlink attacks to overwrite arbitrary files and potentially execute commands with high privileges.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-42056?

CVE-2021-42056 is a medium-severity path traversal vulnerability in n/a, published on 24 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Thales Safenet Authentication Client (SAC) for Linux and Windows through 10.7.7 creates insecure temporary hid and lock files allowing a local attacker, through a symlink attack, to overwrite arbitrary files, and potentially achieve arbitrary command execution with high privileges.

Weakness: CWE-59

Which versions are affected by CVE-2021-42056?

It affects 1 product.

Products include Thalesgroup Safenet Authentication Client.

How do I fix CVE-2021-42056?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-26hh-jgf5-3gmg.

Is CVE-2021-42056 in your software?

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

Check your SBOMs for free