Описание
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
A path traversal flaw has been discovered in the golang os module. On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| OpenShift Service Mesh 2 | openshift-golang-builder-container | Fix deferred | ||
| OpenShift Service Mesh 3 | openshift-golang-builder-container | Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang | Fix deferred | ||
| Red Hat Enterprise Linux 8 | go-toolset:rhel8/golang | Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang | Fix deferred | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | golang | Fix deferred | ||
| Red Hat Hardened Images | golang1.25 | Affected | ||
| Red Hat Hardened Images | golang1.26 | Affected | ||
| Red Hat OpenShift Container Platform 4 | openshift-golang-builder-container | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | openshift-golang-builder-container | Fix deferred |
Показывать по
Дополнительная информация
Статус:
2.5 Low
CVSS3
Связанные уязвимости
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
On Unix platforms, when listing the contents of a directory using File ...
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
2.5 Low
CVSS3