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

exploitDog

github логотип

GHSA-3jfp-46x4-xgfj

Опубликовано: 17 апр. 2026
Источник: github
Github: Прошло ревью
CVSS4: 6.9

Описание

yard: Possible arbitrary path traversal and file access via yard server

Impact

A path traversal vulnerability was discovered in YARD <= 0.9.41 when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions.

The original patch in GHSA-xfhh-rx56-rxcr was incorrectly applied.

Patches

Please upgrade to YARD v0.9.42 immediately if you are relying on yard server to host documentation in any untrusted environments without WEBrick and rely on --docroot.

Workarounds

For users who cannot upgrade, it is possible to perform path sanitization of HTTP requests at your webserver level. WEBrick, for example, can perform such sanitization by default (which you can use via yard server -s webrick), as can certain rules in your webserver configuration.

Пакеты

Наименование

yard

rubygems
Затронутые версииВерсия исправления

< 0.9.42

0.9.42

EPSS

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

6.9 Medium

CVSS4

Дефекты

CWE-22

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

CVSS3: 7.5
ubuntu
3 месяца назад

YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.

CVSS3: 5.3
redhat
3 месяца назад

YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.

CVSS3: 7.5
nvd
3 месяца назад

YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.

CVSS3: 7.5
debian
3 месяца назад

YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path tra ...

CVSS3: 5.3
fstec
3 месяца назад

Уязвимость инструмента генерации и хостинга документации YARD языка программирования Ruby, связанная с неверным ограничением имени пути к каталогу, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации

EPSS

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

6.9 Medium

CVSS4

Дефекты

CWE-22