В версиях esmf-sdk-py-aspect-model-loader от 2.1.2 до 2.2.1 загрузчик Aspect Model разрешает перекрестные ссылки на модели файлов, извлекая третий и четвертый компоненты, разделенные двоеточием, из любого пространства имен urn:samm:..., объявленного в проанализированном файле Turtle для создания каталога для сканирования. Файл модели, содержащий prefix x: <urn:samm:../../foo:bar или prefix x: <urn:samm:/abs/path:bar заставляет загрузчик просматривать и анализировать файлы *.ttl из произвольных каталогов вне предполагаемого корня модели, объединяя их содержимое в возвращаемый граф.
Показать оригинальное описание (EN)
In esmf-sdk-py-aspect-model-loader versions 2.1.2 to 2.2.1, the Aspect Model loader resolves cross-file model references by extracting the third and fourth colon-separated components of any urn:samm:… namespace declared in a parsed Turtle file to build a directory to scan. A model file containing @prefix x: <urn:samm:../../../foo:bar#> or @prefix x: <urn:samm:/abs/path:bar#> causes the loader to glob and parse *.ttl files from arbitrary directories outside the intended models root, merging their contents into the returned graph.
Характеристики атаки
Последствия
Строка CVSS v3.1