240 Commits

Author SHA256 Message Date
57861cf3b8 Update to 3.10.20:
- Security
    - gh-144125: BytesGenerator will now refuse to serialize
      (write) headers that are unsafely folded or delimited; see
      verify_generated_headers. (Contributed by Bas Bloemsaat and
      Petr Viktorin in gh-121650).
    - gh-143935: Fixed a bug in the folding of comments when
      flattening an email message using a modern email policy.
      Comments consisting of a very long sequence of non-foldable
      characters could trigger a forced line wrap that omitted
      the required leading space on the continuation line,
      causing the remainder of the comment to be interpreted as
      a new header field. This enabled header injection with
      carefully crafted inputs (bsc#1257029 CVE-2025-11468).
    - gh-143925: Reject control characters in data: URL media
      types.
    - gh-143919: Reject control characters in http.cookies.Morsel
      fields and values (bsc#1257031, CVE-2026-0672).
    - gh-143916: Reject C0 control characters within
      wsgiref.headers.Headers fields, values, and parameters
      (bsc#1257042, CVE-2026-0865).
    - gh-142145: Remove quadratic behavior in xml.minidom node ID
      cache clearing. In order to do this without breaking
      existing users, we also add the ownerDocument attribute to
      xml.dom.minidom elements and attributes created by directly
      instantiating the Element or Attr class. Note that this way
      of creating nodes is not supported; creator functions like
      xml.dom.Document.documentElement() should be used instead
      (bsc#1254997, CVE-2025-12084).
    - gh-137836: Add support of the “plaintext” element, RAWTEXT
      elements “xmp”, “iframe”, “noembed” and “noframes”, and
      optionally RAWTEXT element “noscript” in
      html.parser.HTMLParser.
    - gh-136063: email.message: ensure linear complexity for
      legacy HTTP parameters parsing. Patch by Bénédikt Tran.
    - gh-136065: Fix quadratic complexity in
      os.path.expandvars() (bsc#1252974, CVE-2025-6075).
    - gh-119451: Fix a potential memory denial of service in the
      http.client module. When connecting to a malicious server,
      it could cause an arbitrary amount of memory to be
      allocated. This could have led to symptoms including
      a MemoryError, swapping, out of memory (OOM) killed
      processes or containers, or even system crashes
      (CVE-2025-13836, bsc#1254400).
    - gh-119452: Fix a potential memory denial of service in the
      http.server module. When a malicious user is connected to
      the CGI server on Windows, it could cause an arbitrary
      amount of memory to be allocated. This could have led to
      symptoms including a MemoryError, swapping, out of memory
      (OOM) killed processes or containers, or even system
      crashes.
    - gh-119342: Fix a potential memory denial of service in the
      plistlib module. When reading a Plist file received from
      untrusted source, it could cause an arbitrary amount of
      memory to be allocated. This could have led to symptoms
      including a MemoryError, swapping, out of memory (OOM)
      killed processes or containers, or even system crashes
      (bsc#1254401, CVE-2025-13837).
  - Library
    - gh-144833: Fixed a use-after-free in ssl when SSL_new()
      returns NULL in newPySSLSocket(). The error was reported
      via a dangling pointer after the object had already been
      freed.
    - gh-144363: Update bundled libexpat to 2.7.4
    - gh-90949: Add SetAllocTrackerActivationThreshold() and
      SetAllocTrackerMaximumAmplification() to xmlparser objects
      to prevent use of disproportional amounts of dynamic memory
      from within an Expat parser. Patch by Bénédikt Tran.
  - Core and Builtins
    - gh-120384: Fix an array out of bounds crash in
      list_ass_subscript, which could be invoked via some
      specificly tailored input: including concurrent
      modification of a list object, where one thread assigns
      a slice and another clears it.
    - gh-120298: Fix use-after free in list_richcompare_impl
      which can be invoked via some specificly tailored evil
      input.
Remove upstreamed patches:
  - CVE-2025-11468-email-hdr-fold-comment.patch
  - CVE-2025-12084-minidom-quad-search.patch
  - CVE-2025-13836-http-resp-cont-len.patch
  - CVE-2025-13837-plistlib-mailicious-length.patch
  - CVE-2025-6075-expandvars-perf-degrad.patch
  - CVE-2026-0672-http-hdr-inject-cookie-Morsel.patch
  - CVE-2026-0865-wsgiref-ctrl-chars.patch
2026-03-08 23:30:08 +01:00
539e53b74e Fix six CVEs
CVE-2025-11468: preserving parens when folding comments in
  email headers (bsc#1257029, gh#python/cpython#143935).
  CVE-2025-11468-email-hdr-fold-comment.patch
CVE-2026-0672: rejects control characters in http cookies.
  (bsc#1257031, gh#python/cpython#143919)
  CVE-2026-0672-http-hdr-inject-cookie-Morsel.patch
CVE-2026-0865: rejecting control characters in
  wsgiref.headers.Headers, which could be abused for injecting
  false HTTP headers. (bsc#1257042, gh#python/cpython#143916)
  CVE-2026-0865-wsgiref-ctrl-chars.patch
CVE-2025-15366: basically the same as the previous patch for
  IMAP protocol. (bsc#1257044, gh#python/cpython#143921)
  CVE-2025-15366-imap-ctrl-chars.patch
CVE-2025-15282: basically the same as the previous patch for
  urllib library. (bsc#1257046, gh#python/cpython#143925)
  CVE-2025-15282-urllib-ctrl-chars.patch
CVE-2025-15367: basically the same as the previous patch for
  poplib library. (bsc#1257041, gh#python/cpython#143923)
  CVE-2025-15367-poplib-ctrl-chars.patch
2026-02-12 11:33:10 +01:00
9fe71b82c6 Fix CVE-2025-13836, CVE-2025-12084, and CVE-2025-13837.
- Add CVE-2025-13836-http-resp-cont-len.patch (bsc#1254400,
  CVE-2025-13836) to prevent reading an HTTP response from
  a server, if no read amount is specified, with using
  Content-Length per default as the length.
- Add CVE-2025-12084-minidom-quad-search.patch prevent quadratic
  behavior in node ID cache clearing (CVE-2025-12084,
  bsc#1254997).
- Add CVE-2025-13837-plistlib-mailicious-length.patch protect
  against OOM when loading malicious content (CVE-2025-13837,
  bsc#1254401).
2025-12-21 23:14:52 +01:00
d6395a2d78 Add CVE-2025-13836-http-resp-cont-len.patch (bsc#1254400, CVE-2025-13836)
Prevent reading an HTTP response from a server, if no read amount is
specified, with using Content-Length per default as the length.
2025-12-18 16:07:31 +01:00
d43b1c8899 Add a reference to CVE-2025-8291, bsc#1251305. 2025-11-24 19:22:29 +01:00
e147c67e7d Add CVE-2025-6075-expandvars-perf-degrad.patch
Avoid simple quadratic complexity vulnerabilities of
os.path.expandvars() (CVE-2025-6075, bsc#1252974).
2025-11-22 23:40:38 +01:00
b6cf90e447 Merge branch 'orig_sle-15-sp4' 2025-11-22 21:35:01 +01:00
cd9fe835ba Mark the upgrade to 3.10.19 as fixing CVE-2025-8291, bsc#1251305. 2025-11-22 21:06:59 +01:00
8ecfc047b3 Set link to python310.40011 via maintenance_release request 2025-11-22 19:33:03 +01:00
a11a97d317 Set link to python310.39543 via maintenance_release request 2025-11-22 19:33:03 +01:00
d5f0b9c278 Set link to python310.38050 via maintenance_release request 2025-11-22 19:33:01 +01:00
f4287b8304 Set link to python310.37367 via maintenance_release request 2025-11-22 19:32:45 +01:00
Marco Strigl
e7a6e8ed69 Set link to python310.36903 via maintenance_release request 2025-11-22 19:32:43 +01:00
def81b6d2f Set link to python310.36641 via maintenance_release request 2025-11-22 19:32:20 +01:00
Marco Strigl
e9291e95e7 Set link to python310.36315 via maintenance_release request 2025-11-22 19:32:20 +01:00
e629f4ae28 Set link to python310.35771 via maintenance_release request 2025-11-22 19:32:18 +01:00
5bf1e2a905 Set link to python310.35265 via maintenance_release request 2025-11-22 19:31:59 +01:00
cbf1db6136 Set link to python310.34503 via maintenance_release request 2025-11-22 19:31:42 +01:00
ee08452a4b Set link to python310.33868 via maintenance_release request 2025-11-22 19:31:42 +01:00
Marco Strigl
0a130e2ad5 Set link to python310.33187 via maintenance_release request 2025-11-22 19:31:40 +01:00
b7a2f17f34 Set link to python310.32817 via maintenance_release request 2025-11-22 19:31:30 +01:00
fcbca39d56 Set link to python310.32578 via maintenance_release request 2025-11-22 19:31:29 +01:00
633ff95a90 Set link to python310.30915 via maintenance_release request 2025-11-22 19:31:29 +01:00
aa5d3ba9db Set link to python310.30576 via maintenance_release request 2025-11-22 19:31:27 +01:00
8bdb667986 Set link to python310.29655 via maintenance_release request 2025-11-22 19:31:16 +01:00
36b1860d24 Set link to python310.29278 via maintenance_release request 2025-11-22 19:30:37 +01:00
85ed813980 Set link to python310.28117 via maintenance_release request 2025-11-22 19:30:27 +01:00
cb4ba88c9b Set link to python310.26738 via maintenance_release request 2025-11-22 19:30:13 +01:00
0b0d7c7ce2 Set link to python310.26164 via maintenance_release request 2025-11-22 19:29:43 +01:00
239187173a Set link to python310.24645 via maintenance_release request 2025-11-22 19:28:34 +01:00
ff2416b848 Init of the SLE repo. 2025-11-21 17:37:41 +01:00
44f30856f0 Accepting request 1311762 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1311762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=68
2025-10-17 15:25:45 +00:00
0b3ef5de96 - Update to 3.10.19:
- Security
    - gh-139700: Check consistency of the zip64 end of central
      directory record. Support records with “zip64 extensible data”
      if there are no bytes prepended to the ZIP file.
    - gh-139400: xml.parsers.expat: Make sure that parent Expat
      parsers are only garbage-collected once they are no longer
      referenced by subparsers created by
      ExternalEntityParserCreate(). Patch by Sebastian Pipping.
    - gh-135661: Fix parsing start and end tags in
      html.parser.HTMLParser according to the HTML5 standard.
      * Whitespaces no longer accepted between </ and the tag name.
        E.g. </ script> does not end the script section.
      * Vertical tabulation (\v) and non-ASCII whitespaces no longer
        recognized as whitespaces. The only whitespaces are \t\n\r\f
        and space.
      * Null character (U+0000) no longer ends the tag name.
      * Attributes and slashes after the tag name in end tags are now
        ignored, instead of terminating after the first > in quoted
        attribute value. E.g. </script/foo=">"/>.
      * Multiple slashes and whitespaces between the last attribute
        and closing > are now ignored in both start and end tags. E.g.
        <a foo=bar/ //>.
      * Multiple = between attribute name and value are no longer
        collapsed. E.g. <a foo==bar> produces attribute “foo” with
        value “=bar”.
    - gh-135661: Fix CDATA section parsing in html.parser.HTMLParser
      according to the HTML5 standard: ] ]> and ]] > no longer end the
      CDATA section. Add private method _set_support_cdata() which can
      be used to specify how to parse <[CDATA[ — as a CDATA section in

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=196
2025-10-16 16:28:51 +00:00
9f232b9370 Accepting request 1308252 from devel:languages:python:Factory
- Add gh139257-Support-docutils-0.22.patch to fix build with latest
  docutils (>=0.22) gh#python/cpython#139257

OBS-URL: https://build.opensuse.org/request/show/1308252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=67
2025-10-01 16:56:21 +00:00
219e54f074 - Add gh139257-Support-docutils-0.22.patch to fix build with latest
docutils (>=0.22) gh#python/cpython#139257

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=194
2025-09-30 16:24:35 +00:00
d3b25f2c17 Accepting request 1307130 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1307130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=66
2025-09-25 16:46:04 +00:00
a4e8af6753 - Require AppStream to validate appdata file instead of deprecated
appstream-glib.
- Update idle3.appdata.xml to pass the more pedantic appstreamcli.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=192
2025-09-18 13:58:10 +00:00
380ee9e726 Accepting request 1297169 from devel:languages:python:Factory
- Add CVE-2025-8194-tarfile-no-neg-offsets.patch which now
  validates archives to ensure member offsets are non-negative
  (gh#python/cpython#130577, CVE-2025-8194, bsc#1247249).

OBS-URL: https://build.opensuse.org/request/show/1297169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=65
2025-08-03 11:37:52 +00:00
89e9323f9a Upstream patch depended unnecessarily on archiver_tests module, which is not in 3.10.*
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=190
2025-08-02 15:54:24 +00:00
0bb8457130 update the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=189
2025-08-01 20:22:59 +00:00
4d0e8ae006 - Add CVE-2025-8194-tarfile-no-neg-offsets.patch which now
validates archives to ensure member offsets are non-negative
  (gh#python/cpython#130577, CVE-2025-8194, bsc#1247249).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=188
2025-08-01 20:20:01 +00:00
a1677ef90d Accepting request 1290033 from devel:languages:python:Factory
- Add CVE-2025-6069-quad-complex-HTMLParser.patch to avoid worst
 case quadratic complexity when processing certain crafted
 malformed inputs with HTMLParser (CVE-2025-6069, bsc#1244705).

OBS-URL: https://build.opensuse.org/request/show/1290033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=64
2025-07-03 10:10:49 +00:00
21d02acf4f - Add CVE-2025-6069-quad-complex-HTMLParser.patch to avoid worst
case quadratic complexity when processing certain crafted
 malformed inputs with HTMLParser (CVE-2025-6069, bsc#1244705).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=186
2025-07-02 16:01:11 +00:00
e00f14a3f1 Accepting request 1288601 from devel:languages:python:Factory
Also addresses CVE-2025-4435 (gh#135034, bsc#1244061).

OBS-URL: https://build.opensuse.org/request/show/1288601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=63
2025-06-26 09:39:54 +00:00
868e16eab8 Also addresses CVE-2025-4435 (gh#135034, bsc#1244061).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=184
2025-06-25 20:02:08 +00:00
0ae2dc2f69 Accepting request 1284259 from devel:languages:python:Factory
- Update to 3.10.18:
  - Security
    - gh-135034: Fixes multiple issues that allowed tarfile
      extraction filters (filter="data" and filter="tar") to be
      bypassed using crafted symlinks and hard links.
      Addresses CVE-2024-12718 (bsc#1244056), CVE-2025-4138
      (bsc#1244059), CVE-2025-4330 (bsc#1244060), and
      CVE-2025-4517 (bsc#1244032).
    - gh-133767: Fix use-after-free in the “unicode-escape”
      decoder with a non-“strict” error handler (CVE-2025-4516,
      bsc#1243273).
    - gh-128840: Short-circuit the processing of long IPv6
      addresses early in ipaddress to prevent excessive memory
      consumption and a minor denial-of-service.
  - Library
    - gh-128840: Fix parsing long IPv6 addresses with embedded
      IPv4 address.
    - gh-134062: ipaddress: fix collisions in __hash__() for
      IPv4Network and IPv6Network objects.
    - gh-123409: Fix ipaddress.IPv6Address.reverse_pointer output
      according to RFC 3596, §2.5. Patch by Bénédikt Tran.
    - bpo-43633: Improve the textual representation of
      IPv4-mapped IPv6 addresses (RFC 4291 Sections 2.2, 2.5.5.2)
      in ipaddress. Patch by Oleksandr Pavliuk.
- Remove upstreamed patches:
  - gh-126572-test_ssl-no-stop-ThreadedEchoServer-OSError.patch
  - CVE-2025-4516-DecodeError-handler.patch

OBS-URL: https://build.opensuse.org/request/show/1284259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=62
2025-06-10 10:24:40 +00:00
5c156cd8cb - Update to 3.10.18:
- Security
    - gh-135034: Fixes multiple issues that allowed tarfile
      extraction filters (filter="data" and filter="tar") to be
      bypassed using crafted symlinks and hard links.
      Addresses CVE-2024-12718 (bsc#1244056), CVE-2025-4138
      (bsc#1244059), CVE-2025-4330 (bsc#1244060), and
      CVE-2025-4517 (bsc#1244032).
    - gh-133767: Fix use-after-free in the “unicode-escape”
      decoder with a non-“strict” error handler (CVE-2025-4516,
      bsc#1243273).
    - gh-128840: Short-circuit the processing of long IPv6
      addresses early in ipaddress to prevent excessive memory
      consumption and a minor denial-of-service.
  - Library
    - gh-128840: Fix parsing long IPv6 addresses with embedded
      IPv4 address.
    - gh-134062: ipaddress: fix collisions in __hash__() for
      IPv4Network and IPv6Network objects.
    - gh-123409: Fix ipaddress.IPv6Address.reverse_pointer output
      according to RFC 3596, §2.5. Patch by Bénédikt Tran.
    - bpo-43633: Improve the textual representation of
      IPv4-mapped IPv6 addresses (RFC 4291 Sections 2.2, 2.5.5.2)
      in ipaddress. Patch by Oleksandr Pavliuk.
- Remove upstreamed patches:
  - gh-126572-test_ssl-no-stop-ThreadedEchoServer-OSError.patch
  - CVE-2025-4516-DecodeError-handler.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=182
2025-06-09 17:02:25 +00:00
482cd35216 Accepting request 1281886 from devel:languages:python:Factory
- Add CVE-2025-4516-DecodeError-handler.patch fixing
  CVE-2025-4516 (bsc#1243273) blocking DecodeError handling
  vulnerability, which could lead to DoS.

- Use extended %autopatch.

  %%files.

OBS-URL: https://build.opensuse.org/request/show/1281886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=61
2025-06-02 20:01:01 +00:00
93e4904a2a Fix the changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=180
2025-05-30 15:58:10 +00:00
c1c3249a12 - Add CVE-2025-4516-DecodeError-handler.patch fixing
CVE-2025-4516 (bsc#1243273) blocking DecodeError handling
  vulnerability, which could lead to DoS.

- Use extended %autopatch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=179
2025-05-30 15:54:19 +00:00