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

Missing type checks when using polymorphic type ids #1735

Closed
cowtowncoder opened this issue Aug 17, 2017 · 1 comment
Closed

Missing type checks when using polymorphic type ids #1735

cowtowncoder opened this issue Aug 17, 2017 · 1 comment
Labels
CVE Issues related to public CVEs (security vuln reports)
Milestone

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Aug 17, 2017

(report by Lukes Euler)

JavaType supports limited amount of generic typing for textual representation, originally just to support typing needed for EnumMap (I think). Based on some reports, it appears that some of type compatibility checks are not performed in those cases; if so, they should be made since there is potential for abuse.
The problem here although actual type assignment will fail later on, ability to trigger some of processing (instantiation of incompatible classes, perhaps assingnment of properties) may itself be vulnerability.

@cowtowncoder cowtowncoder added this to the 2.8.10 milestone Aug 17, 2017
@cowtowncoder cowtowncoder removed the 2.8 label Aug 17, 2017
@cowtowncoder cowtowncoder modified the milestone: 2.8.10 Aug 17, 2017
@cowtowncoder
Copy link
Member Author

Fixed in 2.8.10 / 2.9.1

@cowtowncoder cowtowncoder added the CVE Issues related to public CVEs (security vuln reports) label Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CVE Issues related to public CVEs (security vuln reports)
Projects
None yet
Development

No branches or pull requests

1 participant