norrisjeremy commented on PR #1205:
URL: https://github.com/apache/maven/pull/1205#issuecomment-1688154238

   > I tried to mitigate the risks by only loading from rejecting any absolute 
URI. Also, no file with such entities / xinclude import should end up in maven 
central, those are translated when installed / uploaded. So this should only 
happen at build time, for the pom.xml that are parts of the build. The security 
problems are then kinda in the hand of the developper I would think.
   > 
   > That's said, I'd like to find a consensus, and if it's seen as too risky, 
we could go with only mixins. That's the whole point of the discussion I 
started on dev.
   
   Would you consider adding a CLI option that a user can specify to Maven to 
explicitly tell it not to support remote entities / xinclude stuff (and 
possibly even default the option to having remote entities / xinclude off)?
   That could help allay concerns, in that users would have to explicitly 
opt-in (or have an ability to explicitly opt-out) to enabling this new 
potentially risky behavior.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to