Skip to content

chore(deps): update dependency io.github.ascopes:protobuf-maven-plugin to v4.0.2 [security]#46

Merged
livk-cloud merged 1 commit intomainfrom
renovate/maven-io.github.ascopes-protobuf-maven-plugin-vulnerability
Nov 5, 2025
Merged

chore(deps): update dependency io.github.ascopes:protobuf-maven-plugin to v4.0.2 [security]#46
livk-cloud merged 1 commit intomainfrom
renovate/maven-io.github.ascopes-protobuf-maven-plugin-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Nov 4, 2025

This PR contains the following updates:

Package Change Age Confidence
io.github.ascopes:protobuf-maven-plugin 4.0.1 -> 4.0.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

GHSA-j2pc-v64r-mv4f

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.


Release Notes

ascopes/protobuf-maven-plugin (io.github.ascopes:protobuf-maven-plugin)

v4.0.2

Compare Source

What's Changed

Full Changelog: ascopes/protobuf-maven-plugin@v4.0.1...v4.0.2


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/maven-io.github.ascopes-protobuf-maven-plugin-vulnerability branch from ad558f4 to 02cd652 Compare November 5, 2025 01:25
@livk-cloud livk-cloud merged commit 9f2ed63 into main Nov 5, 2025
1 check passed
@renovate renovate bot deleted the renovate/maven-io.github.ascopes-protobuf-maven-plugin-vulnerability branch November 5, 2025 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant