CVE-2022-4885: Path Traversal Vulnerability in jefferson

jefferson Updated 02 Oct 2025

Summary

11/01/2023
Yes i
High
7.5

CVE-2022-4885: sviehb/jefferson vulnerable to path traversal. Affects jefferson versions < 0.4. Fixed in 0.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

jefferson is a PyPI package that provides a JFFS2 filesystem extraction tool. It is used to extract files from JFFS2 images. The package is vulnerable to a path traversal vulnerability in the src/scripts/jefferson file. This vulnerability allows remote attackers to manipulate the filesystem and traverse directories beyond the intended scope. The impact of this vulnerability can be significant, potentially leading to unauthorized access, data leakage, or remote code execution.

Vulnerability Detail

The path traversal vulnerability in jefferson arises from insufficient input validation in the affected code. By exploiting this vulnerability, an attacker can craft malicious requests that include directory traversal sequences, allowing them to access files or directories outside the intended scope. This can lead to unauthorized access to sensitive information or the execution of arbitrary code. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

0.4

This is the first release that contains the fix.

pip install --upgrade "jefferson==0.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the fix by upgrading to version 0.4 to ensure the security of the jefferson package.

Conclusion

The path traversal vulnerability in jefferson can have severe consequences, including unauthorized access, data leakage, or remote code execution. It is crucial to upgrade to version 0.4 of the jefferson package to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for jefferson →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to traverse directories and access files outside the intended scope. This can lead to unauthorized access, data leakage, or remote code execution.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. It analyzes your Pipfile.lock and provides real-time alerts for open-source vulnerabilities.

Yes, upgrading to version 0.4 of the jefferson package fixes the path traversal vulnerability. Make sure to update the package using the package manager or by manually installing the latest version from the PyPI repository.

No, there are no known workarounds for this vulnerability. It is crucial to apply the fix by upgrading to version 0.4.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

0.4

This is the first release that contains the fix.

pip install --upgrade "jefferson==0.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback