CVE-2022-37767 json
Pebble Templates protection mechanism bypass can lead to arbitrary code execution
published 4y ago modified 4mo ago also GHSA-wxx5-w9jc-48wx , EUVD-2022-6972
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
Pebble Templates 3.1.5 allows attackers to bypass a protection mechanism and implement arbitrary code execution with springbok. NOTE: the vendor disputes this because input to the Pebble templating engine is intended to include arbitrary Java code, and thus either the input should not arrive from an untrusted source, or else the application using the engine should apply restrictions to the input. The engine is not responsible for validating the input.
Is CVE-2022-37767 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.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Y4tacker/Web-Security/issues/3 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/PebbleTemplates/pebble/issues/625#issuecomment-1282138635 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.pebbletemplates:pebble | <=3.1.5 |
no fix listed |
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/Y4tacker/Web-Security/issues/3
web, exploit, issue-tracking, third-party-advisory
-
github.com
/PebbleTemplates/pebble/issues/625#issuecomment-1282138635
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-37767
advisory
Sources
- CVE List CVE-2022-37767
- GitHub Advisory GHSA-wxx5-w9jc-48wx
- NVD CVE-2022-37767
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.