Upstream update available: python3-idna 3.7 → 3.13 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/high
security-release
update/minor
upstream-update
upstream/pypi
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/python3-idna#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:
python3-idna3.7→3.13Package
python3-idnapython3-idnaniceos-5.23.7-1minorpython_rpmleafstandardUpstream
pypi-3.133.13pypi_json2026-04-22T16:42:42.314240ZFalseSignals
TrueFalse-ai-summary, bot, needs-build, needs-triage, priority/high, security-release, update/minor, upstream-update, upstream/pypiNiceSOFT AI preliminary analysis
1. Краткий вывод
Обнаружено обновление библиотеки
python3-idnaс версии 3.7 до 3.13, классифицированное как минорное (minor), но содержащее ключевые слова безопасности. Обновление заявляет о расширении поддержки языков и снижении потенциала уязвимостей в обработке доменных имен согласно RFC 5891 и UTS #46. Несмотря на отсутствие явных CVE в тексте релизов, наличие флагаsecurity_keywords_detected_by_script: Trueтребует обязательной проверки.2. Риск для НАЙС.ОС
medium.
Обновление касается критической библиотеки обработки доменных имен, используемой в стеке безопасности и сетевых операциях. Хотя класс обновления помечен как
minor, текст релизов прямо указывает на снижение потенциала известных уязвимостей. Автоматическое применение рискованно из-за отсутствия детального списка исправленных CVE и возможности скрытых изменений в логике совместимости (UTS 46).3. Security/CVE
Во входных данных нет явного перечисления конкретных CVE или идентификаторов уязвимостей.
Однако скрипт обнаружил ключевые слова безопасности (
security_keywords_detected_by_script: True), а текст релизов содержит утверждение о "reduce the potential of allowing domains with known security vulnerabilities". Это требует ручного поиска соответствующих CVE в базах данных (NVD, GitHub Advisories) для версий между 3.7 и 3.13.4. ABI/API риск
Данных недостаточно для автоматического определения ABI/API риска.
Библиотека предоставляет функции
encode,decode,alabel,ulabel. Текст релизов упоминает изменение поведения при включении режимаuts46=True(ранее вызывало ошибку, теперь конвертирует), что может повлиять на логику приложений, полагающихся на выброс исключений для валидации ввода. Необходим ручной анализ изменений в публичном API между версиями 3.7 и 3.13.5. Риск для RPM-сборки
Возможны изменения в зависимостях (
BuildRequires) или генерации данных (упоминается скриптtools/idna-dataдля создания таблицidnadata.pyиuts46data.py). Если сборка полагается на статические таблицы, их регенерация должна быть проверена. Также стоит проверить%checkсекцию на предмет новых тестов, которые могут провалиться из-за изменений в поведении обработки кодировок.6. Проверки мейнтейнера
uts46.specfileна наличие изменений вBuildRequiresили скриптах генерации данных (%prep,%build).%checkдля выявления регрессий.python3-idnaвнутри дистрибутива, на предмет совместимости.7. Рекомендация
blocked manual review
8. Основание рекомендации
Несмотря на статус
minor, наличие флага безопасности и отсутствие явного списка CVE в предоставленном тексте не позволяет рекомендовать автоматическое обновление. Требуются ручная верификация исправлений уязвимостей и проверка обратной совместимости API перед включением в репозиторий.Upstream release notes / description
Internationalized Domain Names in Applications (IDNA)
Internationalized Domain Names in Applications (IDNA)
Support for
Internationalized Domain Names in Applications (IDNA) <https://tools.ietf.org/html/rfc5891>_and
Unicode IDNA Compatibility Processing <https://unicode.org/reports/tr46/>_.The latest versions of these standards supplied here provide
more comprehensive language coverage and reduce the potential of
allowing domains with known security vulnerabilities. This library
is a suitable replacement for the “encodings.idna”
module that comes with the Python standard library, but which
only supports an older superseded IDNA specification from 2003.
Basic functions are simply executed:
.. code-block:: pycon
Installation
This package is available for installation from PyPI via the
typical mechanisms, such as:
.. code-block:: bash
Usage
For typical usage, the
encodeanddecodefunctions will take adomain name argument and perform a conversion to ASCII-compatible encoding
(known as A-labels), or to Unicode strings (known as U-labels)
respectively.
.. code-block:: pycon
Conversions can be applied at a per-label basis using the
ulabeloralabelfunctions if necessary:.. code-block:: pycon
Compatibility Mapping (UTS #46)
+++++++++++++++++++++++++++++++
This library provides support for
Unicode IDNA Compatibility Processing <https://unicode.org/reports/tr46/>_ which normalizes input fromdifferent potential ways a user may input a domain prior to performing the IDNA
conversion operations. This functionality, known as a
mapping <https://tools.ietf.org/html/rfc5895>_, is considered by thespecification to be a local user-interface issue distinct from IDNA
conversion functionality.
For example, “Königsgäßchen” is not a permissible label as LATIN
CAPITAL LETTER K is not allowed (nor are capital letters in general).
UTS 46 will convert this into lower case prior to applying the IDNA
conversion.
.. code-block:: pycon
Exceptions
All errors raised during the conversion following the specification
should raise an exception derived from the
idna.IDNAErrorbaseclass.
More specific exceptions that may be generated as
idna.IDNABidiErrorwhen the error reflects an illegal combination of left-to-right and
right-to-left characters in a label;
idna.InvalidCodepointwhena specific codepoint is an illegal character in an IDN label (i.e.
INVALID); and
idna.InvalidCodepointContextwhen the codepoint isillegal based on its position in the string (i.e. it is CONTEXTO or CONTEXTJ
but the contextual requirements are not satisfied.)
Building and Diagnostics
The IDNA and UTS 46 functionality relies upon pre-calculated lookup
tables for performance. These tables are derived from computing against
eligibility criteria in the respective standards using the command-line
script
tools/idna-data.This tool will fetch relevant codepoint data from the Unicode repository
and perform the required calculations to identify eligibility. There are
three main modes:
idna-data make-libdata. Generatesidnadata.pyanduts46data.py, the pre-calculated lookup tables used for IDNA andUTS 46 conversions. Implementers who wish to track this libr
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-27T22:51:45Z