CVE-2025-1686 Versions of the package io.pebbletemplates:pebble from 0 and before 4.1.0 are vulnerable to Externa…
설명
Versions of the package io.pebbletemplates:pebble from 0 and before 4.1.0 are vulnerable to External Control of File Name or Path via the include tag. A high privileged attacker can access sensitive local files by crafting malicious notification templates that leverage this tag to include files like /etc/passwd or /proc/1/environ. Workaround This vulnerability can be mitigated by disabling the include macro in Pebble Templates: java new PebbleEngine.Builder() .registerExtensionCustomizer(new DisallowExtensionCustomizerBuilder() .disallowedTokenParserTags(List.of("include")) .build()) .build();
영향 받는 제품 제품 1개
-
해결 버전 있음
io.pebbletemplates:pebble
영향 받는 버전
- 4.1.0 미만
해결 버전
- 4.1.0 이상
참고 자료 5건
- github.com https://github.com/PebbleTemplates/pebble/commit/b3451c8f305a1a248fbcc2363fd307d0baaee329 (새 창)
- github.com https://github.com/PebbleTemplates/pebble/issues/680 (새 창)
- github.com https://github.com/PebbleTemplates/pebble/issues/688 (새 창)
- pebbletemplates.io https://pebbletemplates.io/wiki/tag/include (새 창)
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-IOPEBBLETEMPLATES-8745594 (새 창)