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

James Page 1953363 at bugs.launchpad.net
Tue Dec 7 16:32:54 UTC 2021


** Summary changed:

- [MIR] python-xmlschema, elementpath
+ [MIR] python-xmlschema, elementpath, importlib-resources

** Also affects: importlib-resources (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: importlib-resources (Ubuntu)
     Assignee: (unassigned) => James Page (james-page)

** Changed in: importlib-resources (Ubuntu)
       Status: New => In Progress

** Description changed:

  [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

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-xmlschema in Ubuntu.
https://bugs.launchpad.net/bugs/1953363

Title:
  [MIR] python-xmlschema, elementpath, importlib-resources

Status in elementpath package in Ubuntu:
  In Progress
Status in importlib-resources package in Ubuntu:
  In Progress
Status in python-xmlschema package in Ubuntu:
  In Progress

Bug description:
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/elementpath/+bug/1953363/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list