{"id":"CVE-2020-12668","published":"2021-02-19T22:33:55Z","modified":"2024-08-04T12:04:22Z","title":"Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01836,"percentile":0.79461,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b","tags":["x_refsource_MISC"]},{"url":"https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165","tags":["x_refsource_MISC"]},{"url":"https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.89}]},"affected":[{"ecosystem":"Maven","package":"com.hubspot.jinjava:jinjava","vulnerableRanges":["<2.5.4"],"patched":["2.5.4"],"from":["GHSA-2hjr-fg6c-v2h6"],"provenance":"source"}],"summary":{"text":"Jinjava (versions before 2.5.4) lets template code reach arbitrary Java classes by invoking Java methods on objects passed into a Jinjava context. An attacker who can supply or influence template content processed by the affected Jinjava component could abuse the application class loader, potentially resulting in arbitrary file disclosure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:26Z"},"euvd":{"id":"EUVD-2022-0760","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hubspot-jinjava-cve-2020-12668","children":[{"from":"CVE-2020-12668","to":"CVE-2026-25526","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java"],"commits":["https://github.com/HubSpot/jinjava/commit/5dfa5b87318744a4d020b66d5f7747acc36b213b","https://github.com/HubSpot/jinjava/commit/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165","https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998","https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441"],"basis":"shared function","functions":["isRestrictedClass"]},{"kind":"similar","provenance":"machine","score":0.47,"basis":"same package + description similarity"}]}]}}