CVE-2020-12668
6.5medium
Unauthorized access to Class instance in Jinjava
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.84% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2hjr-fg6c-v2h6
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.hubspot.jinjava:jinjava (Maven) | before 2.5.4 | GitHub Advisory Database |
| hubspot jinjava | before 2.5.4 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Jinjava versiones anteriores a 2.5.4, permite un acceso a clases arbitrarias al llamar a métodos Java en objetos pasados ??a un contexto de Jinjava. Esto podría permitir el abuso del cargador de clase de aplicación, incluyendo una Divulgación de Archivos Arbitrarios
References
| https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4 | release-notes, third-party-advisory, web | |
| https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b | patch, permissions-required, third-party-advisory, web | |
| https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165 | patch, third-party-advisory, web | |
| https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4 | release-notes, third-party-advisory, web | |
| https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava | advisory, exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-12668 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-12668 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2hjr-fg6c-v2h6 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2020-12668 changed 2026-06-17 | Public domain |