Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2025-1686

Опубликовано: 27 фев. 2025
Источник: nvd
CVSS3: 6.8
CVSS3: 4.9
EPSS Низкий

Описание

All versions of the package io.pebbletemplates:pebble 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
cpe:2.3:a:pebbletemplates:pebble:*:*:*:*:*:*:*:*

EPSS

Процентиль: 24%
0.00078
Низкий

6.8 Medium

CVSS3

4.9 Medium

CVSS3

Дефекты

CWE-73
CWE-73

Связанные уязвимости

CVSS3: 6.8
redhat
10 месяцев назад

All versions of the package io.pebbletemplates:pebble 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();

CVSS3: 6.8
github
10 месяцев назад

Pebble has Arbitrary Local File Inclusion (LFI) Vulnerability via `include` macro

EPSS

Процентиль: 24%
0.00078
Низкий

6.8 Medium

CVSS3

4.9 Medium

CVSS3

Дефекты

CWE-73
CWE-73