CVE-2020-12668 json
Unauthorized access to Class instance in Jinjava
published 5y ago modified 4mo ago also GHSA-2hjr-fg6c-v2h6 , EUVD-2022-0760
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.hubspot.jinjava:jinjava 2.5.4
- hubspot jinjava 2.5.4
Is CVE-2020-12668 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 6.8 | AV:N/AC:L/Au:S/C:C/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.hubspot.jinjava:jinjava | <2.5.4 |
2.5.4 |
Classification
References
-
github.com
/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b
web, patch, permissions-required, third-party-advisory
-
github.com
/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165
web, patch, third-party-advisory
-
securitylab.github.com
/advisories/GHSL-2020-072-hubspot_jinjava
advisory, exploit, third-party-advisory
-
github.com
/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4
web, release-notes, third-party-advisory
-
github.com
/HubSpot/jinjava/releases/tag/jinjava-2.5.4
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12668
advisory
Sources
- CVE List CVE-2020-12668
- GitHub Advisory GHSA-2hjr-fg6c-v2h6
- NVD CVE-2020-12668
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.