GitHub Advisory Database
GHSA-2hjr-fg6c-v2h6
Unauthorized access to Class instance in Jinjava
Details
Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context. This could allow for abuse of the application class loader, including Arbitrary File Disclosure.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.hubspot.jinjava:jinjava | All versions before 2.5.4 (fixed in 2.5.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12668
- https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b
- https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165
- https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4
- https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava