GateNLP / gate-core

The GATE Embedded core API and GATE Developer application
GNU Lesser General Public License v3.0
75 stars 29 forks source link

update vulnerable dependency: com.thoughtworks.xstream:xstream #155

Closed JavaEcosystemStudy closed 2 years ago

JavaEcosystemStudy commented 2 years ago

Hi! We spot a vulnerable dependency in your project, which might threaten your software. We also found another project that uses the same vulnerable dependency in a similar way as you did, and they have upgraded the dependency. We, thus, believe that your project is highly possible to be affected by this vulnerability similarly. The following shows the detailed information.

Vulnerability description

Upgrade example

Another project also used the same dependency with a similar invocation path, and they have taken actions to resolve this issue.

Therefore, you might also need to upgrade this dependency. Hope this can help you! 😄

greenwoodma commented 2 years ago

I'm closing this PR for now because

  1. the issue occurs in the ANNIC indexer component so is only likely to affect the GUI, and hence the only machine you could affect would be your own
  2. we currently use version 1.4.17 of XStream (albeit mostly configured with our own security settings). This instance however relies on the default blacklist approach (i.e. doesn't configure security) so upgrading to 1.4.19 would cause the code highlighted to fail completely

At some point we'll update ANNIC to have a whitelist (limited number of params should make this possible) and upgrade XStream, but separate to this PR which would cause more problems than it aims to fix.