Policy review: major upstream version available: libsepol 3.8.1 → 20200710 #1
Labels
No labels
ai-summary
bot
needs-policy-decision
policy/major-blocked
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/libsepol#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:
libsepol3.8.1→20200710Package
libsepollibsepolniceos-5.23.8.1-1majorpython_rpmleafgithub-upstreamUpstream
githubSELinuxProject/selinux2020071020200710github_release2020-07-10T15:42:23ZFalseSignals
TrueTruepackage appears to be a library/API dependencyai-summary, bot, needs-policy-decision, policy/major-blocked, priority/high, security-release, update/major, upstream-update, upstream/githubNiceOS policy decision
This is a policy-blocked major update. Do not update automatically.
Major updates for libraries, toolchain and security-critical packages require explicit manual architecture review, ABI/API compatibility review, reverse-dependency impact analysis and controlled rebuild planning.
NiceSOFT AI preliminary analysis
1. Краткий вывод
Обновление пакета
libsepolс версии 3.8.1 до 20200710 является мажорным и включает удаление устаревших заголовочных файлов (flask.h,av_permissions.h) и изменение поведения компиляции. Обновление помечено как заблокированное политикой из-за статуса библиотеки и наличия обнаруженных ключевых слов безопасности, однако конкретные уязвимости в тексте не описаны.2. Риск для НАЙС.ОС
high. Обновление классифицировано как
majorс удалением публичного API (заголовков), что гарантированно нарушит ABI для любых пользовательских приложений или скриптов, напрямую включающих эти файлы. Кроме того, политика дистрибутива (policy_blocked: True) уже указывает на высокий риск для зависимостей.3. Security/CVE
Во входных данных присутствуют флаги
security_keywords_detected_by_script: Trueи список закрытых Issues (например, #248, #239), но в предоставленном тексте релизов нет явных упоминаний конкретных CVE, описаний эксплойтов или деталей уязвимостей. Факт наличия security-ключевых слов требует проверки, но сам текст не подтверждает наличие открытых уязвимостей в этом релизе.4. ABI/API риск
Высокий. Удалены файлы
selinux/flask.h,selinux/av_permissions.hиsepol/policydb/flask.h. Любое приложение, использующее#includeэтих файлов, перестанет компилироваться. Также отмечено удаление обертки DSO и рекомендация использовать флаг-fno-semantic-interposition, что может изменить поведение линковки и семантику вызовов для существующих бинарников.5. Риск для RPM-сборки
IPyнаipaddressвнутриsemanage, хотя это скорее runtime).CFLAGSможет сломать сборку. Явно рекомендуется передавать-fno-semantic-interposition. Если в текущем spec-файле есть жесткое задание других флагов, сборка может упасть.checkpolicy, что может привести к провалу тестов, если в системе используются политики с недопустимыми символами (редкие кейсы).6. Проверки мейнтейнера
#includeфайлыflask.hилиav_permissions.h.libsepol(особенноpolicycoreutils,setools).specфайл на наличие кастомныхCFLAGS, которые могут конфликтовать с новыми требованиями проекта.%checkи%buildв изолированной среде для выявления ошибок компиляции.7. Рекомендация
blocked manual review
8. Основание рекомендации
Обновление заблокировано внутренней политикой (
policy_blocked: True) как библиотека/API-зависимость. Наличие мажорных изменений (удаление заголовков) и флагаsecurity_keywords_detected_by_scriptтребует обязательного ручного аудита кода и зависимостей перед любым обновлением. Автоматическое применение невозможно без подтверждения совместимости.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-28T15:47:46Z