CVE-2022-25842: Path Traversal in com.alibaba.oneagent:one-java-agent-plugin

Summary

01/07/2022
Yes i
High
7.0

CVE-2022-2584: Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb. Affects github.com/ipld/go-codec-dagpb versions < 1.3.1. Fixed in 1.3.1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The com.alibaba.oneagent:one-java-agent-plugin package is a Maven ecosystem package that provides functionality for the Alibaba OneAgent Java agent plugin. This plugin is used for monitoring and tracing Java applications. It allows users to collect performance metrics, trace requests, and monitor the health of their Java applications. The package is widely used in various Java applications.

Vulnerability Detail

The package com.alibaba.oneagent:one-java-agent-plugin is vulnerable to a Path Traversal vulnerability, also known as Zip Slip. This vulnerability allows an attacker to perform arbitrary file write operations by exploiting a flaw in the archive extraction process. By crafting a specially crafted archive with directory traversal filenames (e.g., ../../evil.exe), an attacker can overwrite executable files on the victim's machine. This can lead to remote command execution on the victim's machine, enabling the attacker to execute arbitrary commands with the privileges of the user running the affected application. The vulnerability has a CVSSv3 score of 6.9, indicating a moderate severity.

How To Fix

Latest published version: v1.7.0 as of 22 Oct 2026

go get github.com/ipld/go-codec-dagpb@v1.7.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.1

This is the first release that contains the fix.

go get github.com/ipld/go-codec-dagpb@v1.3.1

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 recommended to upgrade to the fixed version of the package as soon as possible.

Conclusion

The com.alibaba.oneagent:one-java-agent-plugin package is vulnerable to a Path Traversal vulnerability that allows arbitrary file write operations. It is crucial to upgrade to version 0.0.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for github.com/ipld/go-codec-dagpb →

Share this vulnerability

FAQ

This vulnerability allows an attacker to overwrite executable files on the victim's machine, potentially leading to remote command execution.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. The playground allows you to analyze your pom.xml file and provides real-time alerts for open-source vulnerabilities.

There are currently no known public exploits for this vulnerability. However, it is important to patch your application as soon as possible to prevent potential attacks.

Yes, the CVSSv3 score for this vulnerability is 6.9, indicating a moderate severity.

References

How To Fix

Latest published version: v1.7.0 as of 22 Oct 2026

go get github.com/ipld/go-codec-dagpb@v1.7.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.1

This is the first release that contains the fix.

go get github.com/ipld/go-codec-dagpb@v1.3.1

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