I assume this would be fixed by #211 of `jackson-dataformat-xml`:

https://github.com/FasterXML/jackson-dataformat-xml/issues/211

from reading CVE.

Note that it is downright wrong to claim that any of
`jackson-annotations`, `jackson-core` or `jackson-datatype-joda` would
suffer from it -- none of them use XML for anything -- but if you do
have `jackson-dataformat-xml` AND do not manually configure underlying
`XMLInputFactory`, then you want versions:

* 2.7.8 or later (for 2.7)
* 2.8.4 or later (for 2.8)
* any 2.9(.prX) version

which configure underlying xml factory if it is the default instance
(that is, caller does not provide specific instance).

For older versions, you would have to specifically configure
`XMLInputFactory` to disable DTD processing (or define custom entity
handler that prevents resolution of remote parsed entities) and then
construct `XmlMapper` passing it.

I hope this helps,

-+ Tatu +-




On Tue, Apr 25, 2017 at 11:39 AM, Thomas Van Doren
<[email protected]> wrote:
> Hi
>
> I have been running the maven dependency check plugin[1] on projects that
> use jackson (mostly through transitive dependencies). Today, I started
> getting these warnings due to the CVE-2016-7051 [2](which looks like it was
> just released today):
>
> One or more dependencies were identified with known vulnerabilities in
> my-project:
>
> jackson-annotations-2.8.0.jar
> (com.fasterxml.jackson.core:jackson-annotations:2.8.0,
> cpe:/a:fasterxml:jackson:2.8.0) : CVE-2016-7051
> jackson-core-2.8.6.jar (com.fasterxml.jackson.core:jackson-core:2.8.6,
> cpe:/a:fasterxml:jackson:2.8.6) : CVE-2016-7051
> jackson-datatype-joda-2.7.8.jar
> (com.fasterxml.jackson.datatype:jackson-datatype-joda:2.7.8,
> cpe:/a:fasterxml:jackson:2.7.8) : CVE-2016-7051
>
>
> What is the best way to mitigate the risk of CVE-2016-7051 in my projects?
>
> Will there be a bugfix release that addresses the vulnerability?
>
> [1]: https://jeremylong.github.io/DependencyCheck/
> [2]: https://nvd.nist.gov/vuln/detail/CVE-2016-7051
>
> Thanks!
>
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "jackson-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to