-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maven-shared-utils@3.2.1 Security Vulnerability: Command Injection #18050
Comments
/cc @evanchooly, @manovotn, @mkouba, @quarkusio/devtools, @sberyozkin |
@aloubyansky WDYT? I'm a bit nervous at the idea of using a version different from the one coming with Maven. |
If you are using gradle in Quarkus 1.x you should be able to completely exclude all the |
this is really blocking us to use any recent 1.x or 2.x Quarkus releases. I tried this with no lick:
I also surprised why maven is not using their own latest deps. |
Which Quarkus version are you using? It should work in, e.g. 1.13.7.Final. E.g.
|
@aloubyansky since |
You mean the Quarkus gradle plugin? You should be able to exclude dependencies from the plugin as well. Which Quarkus version are you using? |
I tried |
What if you exclude |
We have the same issue and we use maven 3.8.1. |
Are you also using gradle? |
@gsmet i think we could try upgrading it. I actually did it last week locally and the CI has passed at least. |
If in doubt, you can ask on maven-dev oder maven-user mailing list. |
@gnodet Since you were the one who bumped maven-shared-utils from 3.2.1 to 3.3.4 in Maven |
FWIW, I raised awareness in an ongoing Maven 3.8.x discussion on maven-dev mailing list: https://lists.apache.org/thread.html/r960d0cc002dfdaa7140694122ae829e6de21ad82daa17427facd267a%40%3Cdev.maven.apache.org%3E |
@aloubyansky No, we use maven 3.8.1. Nexus blocks quarkus-ide-launcher. We simply exclude it on all dependencies which use it - but it's not a great solution. |
Thanks for the info @hamburml |
I'll add a safe version of maven-shared-utils to the quarkus-bootstrap-bom once #18167 has been merged. |
Describe the bug
My company nexus blocked quarkus-ide-launcher due to the following Vulnerability.
https://snyk.io/vuln/maven:org.apache.maven.shared:maven-shared-utils@3.2.1
Expected behavior
Should not have dependencies issues with quarkus latest version.
Actual behavior
(Describe the actual behavior clearly and concisely.)
please lock
org.apache.maven.shared:maven-shared-utils
version to 3.3.3 or above.Fixed in maven-shared-utils@3.3.3
apache/maven-shared-utils#40
https://issues.apache.org/jira/browse/MSHARED-297
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
1.
2.
3.
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
Output of
java -version
GraalVM version (if different from Java)
Quarkus version or git rev
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional context
Repo: https://github.com/xmlking/micro-apps
The text was updated successfully, but these errors were encountered: