CVE-2022-37703 Path traversal in n/a

Low 3.3 Published Updated

An attacker can exploit a path traversal flaw in the calcsize SUID binary to determine the existence of arbitrary directories on the filesystem.

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

What is CVE-2022-37703?

CVE-2022-37703 is a low-severity path traversal vulnerability in n/a, published on 13 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.

Weakness: CWE-22

Which versions are affected by CVE-2022-37703?

It affects 1 product.

Products include Amanda Amanda.

How do I fix CVE-2022-37703?

Apply the vendor's patch.

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

Is CVE-2022-37703 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2022-37703, GHSA-j9rc-2hv9-v5v8, UBUNTU-CVE-2022-37703.

Is CVE-2022-37703 in your software?

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

Check your SBOMs for free