p PatchFirst

GHSA-24v3-254g-jv85

GHSA-24v3-254g-jv85 · Tuta Mail has DOM attribute and CSS injection in its Contact Viewer feature

CVSS 2.1 · Низкий · Есть исправление

Затронуты ли вы?

Как узнать установленную версию:

npm ls @tutao/tutanota-utils

Бесплатная проверка подсветит, требует ли внимания @tutao/tutanota-utils и остальные зависимости: проверьте lock-файл проекта или весь сервер командой ниже. Без регистрации. Номера CVE, версии исправлений и рекомендации — в платном мониторинге.

curl -fsSL https://ru.patchfirst.dev/check.sh | sh
Проверить зависимости бесплатно →

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

### Impact Users importing contacts from untrusted sources. Specifically crafted contact data can lead to some of DOM modifications for the link button next to the field e.g. the link address can be overriden. CSS can be manipulated to give the button arbitrary look and change it's size so that any click on the screen would lead to the specified URL. Modifying event listeners does *not* seem to be possible so no JS can be executed (which would also be prevented by CSP). ## Technical details The data is included as part of the [mithril's hyperscript selector](https://mithril.js.org/hyperscript.html#css-selectors). It is possible to define a value like `][href=https://ddg.gg][style=position:fixed;width:150vw;height:200vh` which will be included in the selector passed to Mithril and will be interpreted as part of the code. ### Patches https://github.com/tutao/tutanota/commit/e28345f5f78f628f9d5c04e785f79543f01dca8b ### Workarounds Do not open contact viewer on unpatched versions. If the contact was opened, close the app or use keyboard shortcuts to switch to another part of the app.

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • @tutao/tutanota-utils npm

    Затронутые диапазоны версий
    • SEMVER: < 314.251111.0

    Обновитесь до 314.251111.0

Первоисточники

Проверьте свой сервер →