Improper Restriction of XML External Entity Reference in Apache OpenNLP
Critical severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Package
Affected versions
>= 1.5.0, <= 1.8.1
Patched versions
1.8.2
Description
Published by the National Vulnerability Database
Oct 3, 2017
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jul 1, 2022
Last updated
Jan 27, 2023
When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.
References