Critical Vulnerability in libpf4j-java: Remote Code Execution Risk

libpf4j-java Updated 02 Oct 2025

Summary

28/08/2023
N/A
No i
High
7.5

UBUNTU-CVE-2023-40828: An issue in pf4j pf4j v.3.9.0 and before allows a remote attacker to obtain sensitive information and execute arbitrary code via the expandIfZip method in the extract function. Affects libpf4j-java versions 3.6.0+dfsg-2 – 3.6.0+dfsg-3. No fix is published. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libpf4j-java is a Java library that facilitates the development of plugin-based applications. It allows developers to create modular applications by enabling the dynamic loading of plugins. This flexibility is essential for applications that require extensibility. However, versions of libpf4j-java prior to 3.9.0 are susceptible to a serious vulnerability that can lead to unauthorized access and execution of arbitrary code.

Vulnerability Detail

The vulnerability, identified as CVE-2023-40828, exists in pf4j versions 3.9.0 and earlier. It allows remote attackers to exploit the expandIfZip method within the extract function, potentially leading to sensitive information disclosure and the execution of arbitrary code. This vulnerability poses a significant risk as it can be exploited without authentication, making it critical for users of affected versions to take immediate action.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If immediate updating is not feasible, consider restricting access to the application or disabling the plugin functionality until the package can be updated. Additionally, ensure that your application is not exposed to untrusted networks.

Conclusion

The vulnerability CVE-2023-40828 in libpf4j-java poses a significant risk due to its potential for remote code execution and sensitive information exposure. It is crucial for users of affected versions to update their packages promptly to mitigate these risks. For those unable to update immediately, implementing workarounds can help reduce exposure.

See every vulnerability recorded for libpf4j-java →

Share this vulnerability

FAQ

CVE-2023-40828 is a vulnerability in libpf4j-java that allows remote attackers to execute arbitrary code and access sensitive information.

Versions of libpf4j-java prior to 3.9.0 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of CVE-2023-40828 is 7.5, indicating a high severity level.

If you cannot update the package, consider implementing access restrictions or disabling plugin functionality until an update can be performed.

Related vulnerabilities

Recent vulnerabilities recorded for libpf4j-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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