[Bug 1953363] [NEW] [MIR] python-xmlschema, elementpath, importlib-resources

Launchpad Bug Tracker 1953363 at bugs.launchpad.net
Thu Mar 31 08:04:12 UTC 2022


You have been subscribed to a public bug by Christian Ehrhardt  (paelzer):

[MIR] python-xmlschema

[Availability]
Currently in universe

[Rationale]
New versions of python-pysaml2 have a hard dependency on python-xmlschema.

commit 3b707723dcf1bf60677b424aac398c0c3557641d from pysaml2
(https://github.com/IdentityPython/pysaml2.git) introduced the
dependency on xmlschema:

commit 3b707723dcf1bf60677b424aac398c0c3557641d
Author: Ivan Kanakarakis <ivan.kanak at gmail.com>
Date:   Sat Jan 9 00:31:13 2021 +0200

    Fix CVE-2021-21238 - SAML XML Signature wrapping

    All users of pysaml2 that use the default `CryptoBackendXmlSec1` backend and need to
    verify signed SAML documents are impacted. `pysaml2 <= 6.4.1` does not validate the SAML
    document against an XML schema. This allows invalid XML documents to trick the
    verification process, by presenting elements with a valid signature inside elements
    whose content has been malformed. The verification is offloaded to `xmlsec1` and
    `xmlsec1` will not validate every signature in the given document, but only the first it
    finds in the given scope.

    Credits for the report:

    - Victor Schönfelder Garcia (isits AG International School of IT Security)
    - Juraj Somorovsky (Paderborn University)
    - Vladislav Mladenov (Ruhr University Bochum)

    Signed-off-by: Ivan Kanakarakis <ivan.kanak at gmail.com>

[Security]
No security history

[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.

[Dependencies]
Depends on python3-elementpath which is in universe.

[Standards Compliance]
FHS and Debian Policy compliant

[Maintenance]
Simple python package that the OpenStack Team will take care of

[Background]
The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+).

This library arises from the needs of a solid Python layer for
processing XML Schema based files for MaX (Materials design at the
Exascale) European project. A significant problem is the encoding and
the decoding of the XML data files produced by different simulation
software. Another important requirement is the XML data validation, in
order to put the produced data under control. The lack of a suitable
alternative for Python in the schema-based decoding of XML data has led
to build this library. Obviously this library can be useful for other
cases related to XML Schema based processing, not only for the original
scope.

The full xmlschema documentation is available at
https://xmlschema.readthedocs.io/en/latest/

-------------------------------------------------------------------------

[MIR] elementpath

[Availability]
Currently in universe

[Rationale]
New versions of python3-pysaml2 have a hard dependency on python3-xmlschema, which has a hard dependency on python3-elementpath.

[Security]
No security history

[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.

[Dependencies]
All are in main

[Standards Compliance]
FHS and Debian Policy compliant

[Maintenance]
Simple python package that the OpenStack Team will take care of

[Background]
Provides XPath 1.0 and 2.0 selectors for Python's ElementTree XML data structures, both for the standard ElementTree library and for the lxml.etree library.

https://github.com/sissaschool/elementpath

-------------------------------------------------------------------------

[MIR] importlib-resources

[Availability]
Currently in universe

[Rationale]
New versions of python3-pysaml2 have a hard dependency on importlib-resources - this is a backport of the importlib.resources module found in Python 3.9 or later.  Why do we need this module then?  Well for OpenStack it will be backported to Focal which uses a pre 3.9 Python version.

[Security]
No security history

[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.

[Dependencies]
All are in main

[Standards Compliance]
FHS and Debian Policy compliant

[Maintenance]
Simple python package that the OpenStack Team will take care of

** Affects: elementpath (Ubuntu)
     Importance: Undecided
     Assignee: James Page (james-page)
         Status: Fix Released

** Affects: importlib-resources (Ubuntu)
     Importance: Undecided
     Assignee: James Page (james-page)
         Status: Fix Released

** Affects: python-xmlschema (Ubuntu)
     Importance: High
         Status: In Progress

-- 
[MIR] python-xmlschema, elementpath, importlib-resources
https://bugs.launchpad.net/bugs/1953363
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.



More information about the ubuntu-archive mailing list