Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV

GHSA-j2pc-v64r-mv4f protobuf-maven-plugin

Fix: ascopes/protobuf-maven-plugin@d3330e7

GHSA-j2pc-v64r-mv4f is a security vulnerability in io.github.ascopes:protobuf-maven-plugin. A fix is available for io.github.ascopes:protobuf-maven-plugin — see the affected versions and patch details below.

Protobuf Maven Plugin protocDigest is ignored when using protoc from PATH

Published
Nov 4, 2025
Updated
Nov 15, 2025
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 15, 2025 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
io.github.ascopes:protobuf-maven-pluginio.github.ascopes:protobuf-maven-plugin

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Summary

The expected protocDigest is ignored when protoc is taken from the PATH.

Details

The documentation for the protocDigest parameter says:

... Users may wish to specify this if using a PATH-based binary ...

However, when specifying <protoc>PATH</protoc> the protocDigest is not actually checked because the code returns here already https://github.com/ascopes/protobuf-maven-plugin/blob/59097aae8062c461129a13dcda2f4116b90a8765/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/protoc/ProtocResolver.java#L91-L93

before the digest check: https://github.com/ascopes/protobuf-maven-plugin/blob/59097aae8062c461129a13dcda2f4116b90a8765/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/protoc/ProtocResolver.java#L106

PoC

Specify:

<protoc>PATH</protoc>
<protocDigest>sha256:0000000000000000000000000000000000000000000000000000000000000000</protocDigest>

And notice how the protoc on the PATH is not rejected, despite a digest mismatch.

Impact

Users who have an untrusted protoc executable on their PATH and rely <protocDigest> as protection are affected.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
Mavenio.github.ascopes:protobuf-maven-plugin4.0.0&&< 4.0.24.0.2io.github.ascopes:protobuf-maven-plugin:4.0.2
Mavenio.github.ascopes:protobuf-maven-pluginall versions3.10.2io.github.ascopes:protobuf-maven-plugin:3.10.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.github.ascopes:protobuf-maven-plugin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update io.github.ascopes:protobuf-maven-plugin to 4.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-j2pc-v64r-mv4f is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-j2pc-v64r-mv4f can be triaged on real exposure rather than presence alone.

Tailored to GHSA-j2pc-v64r-mv4f. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Summary The expected `protocDigest` is ignored when protoc is taken from the `PATH`. ### Details The documentation for the `protocDigest` parameter says: > ... Users may wish to specify this if using a `PATH`-based binary ... However, when specifying `<protoc>PATH</protoc>` the `protocDigest` is not actually checked because the code returns here already https://github.com/ascopes/protobuf-maven-plugin/blob/59097aae8062c461129a13dcda2f4116b90a8765/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/protoc/ProtocResolver.java#L91-L93 before the digest check: https://
O3 Security · Impact-Aware SCA

Is GHSA-j2pc-v64r-mv4f in your dependencies?

O3 Security finds GHSA-j2pc-v64r-mv4f across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-j2pc-v64r-mv4f: protobuf-maven-plugin | O3 Security