CVE-2022-4885 sviehb jefferson path traversal

Medium 5.0 Published Updated

A remote attacker can exploit a path traversal vulnerability in the jefferson library to read arbitrary files, requiring high complexity and permissions.

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
Available

What is CVE-2022-4885?

CVE-2022-4885 is a medium-severity path traversal vulnerability in sviehb jefferson, published on 11 Jan 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

A vulnerability has been found in sviehb jefferson up to 0.3 and classified as critical. This vulnerability affects unknown code of the file src/scripts/jefferson. The manipulation leads to path traversal. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 0.4 is able to address this issue. The name of the patch is 53b3f2fc34af0bb32afbcee29d18213e61471d87. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218020.

Weakness: CWE-22

Which versions are affected by CVE-2022-4885?

3 open source packages ship an affected version, including jefferson. It affects 1 product.

PackageAffectedFixed in
jefferson PyPIAll versions0.4
jefferson PyPIAll versions0.4
jefferson PyPIAll versions0.4

Products include Jefferson Project Jefferson.

How do I fix CVE-2022-4885?

Upgrade jefferson to 0.4 or later.

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

Is CVE-2022-4885 being exploited?

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

Sources

Also known as GHSA-7jrw-p8jc-v6qw, PYSEC-2026-826.

Is CVE-2022-4885 in your software?

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

Check your SBOMs for free