Policy review: major upstream version available: libsemanage 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/libsemanage#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:
libsemanage3.8.1→20200710Package
libsemanagelibsemanageniceos-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. Краткий вывод
Обновление пакета
libsemanageс версии 3.8.1 до 20200710 является мажорным и включает удаление устаревших заголовочных файлов (flask.h,av_permissions.h) и изменение поведения компиляции через флаг-fno-semantic-interposition. Обновление помечено как заблокированное политикой из-за статуса библиотеки/API-зависимости, однако скрипты детектировали потенциальные проблемы безопасности.2. Риск для НАЙС.ОС
high.
Обновление классифицировано как
majorс удалением публичных API (заголовков), что гарантированно нарушит ABI для любых приложений, использующих старые методы. Кроме того, пакет помечен какsecurity_keywords_detected_by_script: True, что требует немедленного ручного анализа, несмотря на блокировку политики.3. Security/CVE
Во входных данных присутствуют флаги
security_keywords_detected_by_script: Trueи список закрытых Issues (например, #248, #239), но конкретные CVE-идентификаторы или описание уязвимостей не указаны в предоставленном тексте релизов. Факт наличия security-тегов требует проверки, но сам список CVE отсутствует.4. ABI/API риск
Высокий.
Удалены файлы
selinux/flask.h,selinux/av_permissions.hиsepol/policydb/flask.h. Любое приложение, компилирующее код, включающий эти заголовки, перестанет связываться. Также изменена стратегия линковки (удаление dso wrappers, требование-fno-semantic-interposition), что может вызвать конфликты символов или ошибки линковки у зависимых пакетов, если они не настроены корректно.5. Риск для RPM-сборки
python-ipaddressвместо устаревшегоIPyвнутриsemanage.CFLAGSбез флага-fno-semantic-interpositionможет сломать сборку или изменить поведение. Spec-файл должен явно включать этот флаг для GCC/Clang.setup.pyмогут повлиять на установку Python-компонент, если не переданы правильные аргументы (PYTHON_SETUP_ARGS).6. Проверки мейнтейнера
flask.hилиav_permissions.h(поиск вrpm -q --whatrequiresили анализ логов сборки).spec-файл на наличие явного указанияCFLAGS=-fno-semantic-interpositionили механизма его автодобавления.python-ipaddress(не является ли это новымBuildRequires).7. Рекомендация
blocked manual review
8. Основание рекомендации
Пакет заблокирован политикой (
policy_blocked: True) как критическая библиотека/API-зависимость. Наличие мажорных изменений (удаление заголовков) и сигналов безопасности (security_keywords_detected_by_script: True) делает автоматическое обновление невозможным. Требуется ручная оценка влияния на установленные приложения и проверка конкретных уязвимостей перед принятием решения о включении в репозиторий.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:19Z