How to handle multi-module maven vulnerabilities alongside distribution bundles like war
, zip
and windows installers.
#9027
Unanswered
jodygarnett
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Hi @jodygarnett - it sounds like your project might benefit from submitting all of its dependencies so that we can report on it in more detail. You can read more about this process here in our documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
-
To answer my question, based on discussion on #2640, the following is possible:
Using a workflow maven-dependency-submission-action that runs when a tag is made:
I will update the example above if I get something to work. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am responsible for the GeoServer project which is a Java web application for making maps. I have run into a fundamental question on how dependant handles transitive maven dependencies, and what are the expectations for listing download or installation artifacts along side the a software component in a multi-module project setup.
I will use specifics rather than a hypothetical setup to avoid speculation.
In Maven ecosystem:
gs-web-core
above and functionality with additional admin console screensgeoserver.war
that both depends on the components above, and includes these components in a manner similar to azip
file with some extraweb.xml
driving directions for deploymentDownloads:
geoserver-2.24-war.zip
distribution:zip
bundle of thegeoserver.war
web application (including vulnerable software component) and installation instructions for use with your own application server (such as Apache Tomcat)geoserver-2.24-bin. zip
distribution:zip
download includes an application server, the web application (including the vulnerable software component)GeoServer-2.24.2-winsetup.exe
distirbution: NSIS windows installer, an executable that that installs a windows service, including an application server, and the web application (including vulnerable component)When reporting a vulnerability how much can dependabot figure out from the maven dependency graph, and how much do we need to state up front:
gs-web-core
: a specific software component with the problem (something you could scan for by name and identify as being vulnerable)gs-web-wfs
: software component requires a vulnerable component to operate, transitive dependencygs-web-app
: software distribution that includes the components, has full dependency information available on transitive dependenciesAs shown above we have been listing only the most specific software component with the vulnerability. Is their an expectation to list more?
Beta Was this translation helpful? Give feedback.
All reactions