Upstream update available: semodule-utils 3.8.1 → 20200710 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/high
security-release
update/major
upstream-update
upstream/github
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/semodule-utils#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream update available:
semodule-utils3.8.1→20200710Package
semodule-utilssemodule-utilsniceos-5.23.8.1-1majorpython_rpmleafgithub-upstreamUpstream
githubSELinuxProject/selinux2020071020200710github_release2020-07-10T15:42:23ZFalseSignals
TrueFalse-ai-summary, bot, needs-build, needs-triage, priority/high, security-release, update/major, upstream-update, upstream/githubNiceSOFT AI preliminary analysis
1. Краткий вывод
Это мажорное обновление пакета
semodule-utilsс версии 3.8.1 до 20200710, включающее удаление устаревших заголовков (flask.h,av_permissions.h) и изменение поведения инструментов проверки политик. Обновление содержит пометкуsecurity_keywords_detected_by_script: True, однако конкретные CVE или уязвимости в тексте релизов не перечислены.2. Риск для НАЙС.ОС
high.
Обновление классифицировано как
majorс удалением публичного API (заголовков), что требует обязательной проверки совместимости с пользовательским пространством приложений. Наличие флага безопасности и статусleaf(лиственный пакет) усложняют автоматическое принятие без анализа зависимостей и бэкендов.3. Security/CVE
Во входных данных нет явных упоминаний конкретных CVE или описаний уязвимостей (exploits, buffer overflows, RCE). Флаг
security_keywords_detected_by_script: Trueуказывает на наличие триггеров скрипта безопасности, но их природа не раскрыта в предоставленном тексте релизов. Требуется ручная проверка истории коммитов или логов сканера.4. ABI/API риск
Высокий. Удалены файлы
selinux/flask.h,selinux/av_permissions.hиsepol/policydb/flask.h. Это прямое нарушение ABI для любого кода, компилирующегося с этими заголовками. Также изменено поведениеcheckpolicy(ошибки на недопустимых символах) и добавлена опция-Eвsetfiles, что может сломать существующие конфигурации файлов. Необходим ручной анализ использования этих символов в системе.5. Риск для RPM-сборки
Возможны проблемы сборки из-за новых требований к компилятору:
CFLAGSтеперь строго рекомендуется использовать-fno-semantic-interpositionдля GCC; старые флаги могут привести к ошибкам линковки или изменениям в поведении динамических вызовов.checkpolicyможет привести к провалу%checkили генерации ошибок при пересборке политик, если в них есть специфические кейсы с символами.6. Проверки мейнтейнера
flask.h,av_permissions.h) в исходном коде системы (src/, usr/include/).-fno-semantic-interposition.checkpolicyиsetfilesпосле обновления на тестовой машине.security_keywords_detected_by_script: True(проверка логов сканера или git history).7. Рекомендация
blocked manual review
8. Основание рекомендации
Мажорное обновление с удалением публичного API и изменением семантики работы критических инструментов безопасности (
checkpolicy,setfiles) требует ручного аудита. Автоматическое обновление запрещено из-за риска поломки пользовательского пространства и потенциальных проблем со сборкой, связанных с новыми требованиями компилятора.Upstream release notes / description
User-visible changes
selinux/flask.h, selinux/av_permissions.h and sepol/policydb/flask.h were removed
The flask.h and av_permissions.h header files were deprecated and
all selinux userspace references to them were removed in
commit 76913d8adb61b5 ("Deprecate use of flask.h and av_permissions.h.")
back in 2014 and included in the 20150202 / 2.4 release.
All userspace object managers should have been updated
to use the dynamic class/perm mapping support since that time.
Remove these headers finally to ensure that no users remain and
that no future uses are ever introduced.
Use string_to_security_class(3) and string_to_av_perm(3) to map the class and
permission names to their policy values, or selinux_set_mapping(3) to create a
mapping from class and permission index values used by the application to the
policy values.
Removed restrictions in libsepol and checkpolicy that required all declared
initial SIDs to be assigned a context.
Support for new policy capability genfs_seclabel_symlinks
New
setfiles -Eoption - treat conflicting specifications as errors, suchas where two hardlinks for the same inode have different contexts.
restorecond_user.service- new systemd user service which runsrestorecond -usetsebool -Vreports errors from commit phaseImproved man pages
semanageuses ipaddress Python module instead of IPymatchpathcon related interfaces are deprecated
selinuxfs is mounted with noexec and nosuid
the dso wrappers for internal calls were removed and it is now strongly recommended to CFLAGS with
-fno-semantic-interpositionsecurity_compute_user()was deprecatedcheckpolicy treats invalid characters as an error - might break rare use cases (intentionally)
New
restorecon -xoption which prevents it from crossing file system boundaries.Handle
semanage modulein semanage bash completionsepolgen-ifgenparses a gen_tunable statement as boolsemanagehandles getprotobyname() failure case on Debian where /etc/protocols does not contain an entry for "ipv4"Packaging-relevant changes
Setting CFLAGS during the make process will cause the omission of many defaults. While the project strives
to provide a reasonable set of default flags, custom CFLAGS could break the build, or have other undesired
changes on the build output. Thus, be very careful when setting CFLAGS. CFLAGS that are encouraged to be
set when overriding are:
will support passing this flag, but ignore it. Previous clang versions fail.
setup.pybuilds can be customized using PYTHON_SETUP_ARGS, e.g. to forDebian Python layout use:
make PYTHON_SETUP_ARGS=--install-layout=deb ...Development-relevant changes
Improved README which was renamed to README.md and converted to markdown.
Added Travis CI job to run SELinux kernel testsuite on latest Fedora cloud image
Issues fixed
NiceOS maintainer checklist
Versionand related fields inSPECS/*.speconly if policy allows it.SOURCES/sources.lock.json, manifests, metadata and SBOM.Bot metadata
niceos_upstream_monitor.py 1.42026-04-27T23:15:58Z