Skip to content
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

update Jackson - CVE-2019-12086 #120

Closed
hauntingEcho opened this issue May 24, 2019 · 4 comments
Closed

update Jackson - CVE-2019-12086 #120

hauntingEcho opened this issue May 24, 2019 · 4 comments

Comments

@hauntingEcho
Copy link

The version of Jackson imported by these libraries is vulnerable to CVE-2019-12086 when used in a project also using the MySQL connector - please update when possible.

@braveulysses
Copy link
Collaborator

Thanks for reporting this. The Jackson maintainers have backported the fix for CVE-2019-12086 to the 2.7 and 2.8 branches, and I've been waiting for a 2.7 maintenance release. I'm hoping to delay a move to 2.9 for the time being, as I believe that it deprecated one or more methods in ISO8601Utils that we currently depend on.

In the meantime, it looks like the vulnerability requires mysql-connector-java jar 8.0.14 or earlier, so it seems like it can be avoided by using a more recent version of that MySQL connector. Would that be acceptable?

@hauntingEcho
Copy link
Author

Thanks - I've updated my uses of mysql-connector-java, which should address the issue for my use-case.

Unfortunately the CPE's there don't list the mysql requirement, so static analysis tools (particularly the maven OWASP plugin) will still pick this up as a vulnerability, but it looks like there's pending errata to the CVE.

FWIW, it does look like ISO8601Utils' behavior may be the default: FasterXML/jackson-databind#1786

@hauntingEcho
Copy link
Author

also fwiw, I've been using jackson 2.9.8 without issue in some artifacts due to conflicting transitive dependency versions (with aws-java-sdk-core) - while the methods are deprecated, it doesn't seem like anything required has been removed from 2.9 (although it sounds like the class may be removed wholesale from 2.10)

@braveulysses
Copy link
Collaborator

Thanks, @hauntingEcho. I've released a version 2.2.2 of the SCIM 2 SDK that uses Jackson 2.9.9. The various components should be available on Maven Central now.

I expect the next set of changes to be pushed to the SCIM 2 repo will deprecate the ScimDateFormat class (which I doubt is used outside of the SDK) and replace all usages of deprecated Jackson APIs. My concern about the deprecated APIs in Jackson 2.9 revolves around the possibility that future security fixes may only appear in Jackson 2.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants