<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for python3</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2025:02427-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2025-07-21T08:54:02Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-07-21T08:54:02Z</InitialReleaseDate>
    <CurrentReleaseDate>2025-07-21T08:54:02Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for python3</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for python3 fixes the following issues:

- CVE-2024-12718: Fixed extraction filter bypass that allowed file metadata modification outside extraction directory (bsc#1244056)
- CVE-2025-4138: Fixed issue that might allow symlink targets to point outside the destination directory, and the modification of some file metadata (bsc#1244059)
- CVE-2025-4330: Fixed extraction filter bypass that allowed linking outside extraction directory (bsc#1244060)
- CVE-2025-4435: Fixed Tarfile extracts filtered members when errorlevel=0 (bsc#1244061)
- CVE-2025-4517: Fixed arbitrary filesystem writes outside the extraction directory during extraction with filter='data' (bsc#1244032)
- CVE-2025-6069: Fixed worst case quadratic complexity when processing certain crafted malformed inputs with HTMLParser (bsc#1244705)
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2025-2427,SUSE-SUSE-MicroOS-5.1-2025-2427</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      <Description>Link for SUSE-SU-2025:02427-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2025-July/040822.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:02427-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244032</URL>
      <Description>SUSE Bug 1244032</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244056</URL>
      <Description>SUSE Bug 1244056</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244059</URL>
      <Description>SUSE Bug 1244059</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244060</URL>
      <Description>SUSE Bug 1244060</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244061</URL>
      <Description>SUSE Bug 1244061</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1244705</URL>
      <Description>SUSE Bug 1244705</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-12718/</URL>
      <Description>SUSE CVE CVE-2024-12718 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-4138/</URL>
      <Description>SUSE CVE CVE-2025-4138 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-4330/</URL>
      <Description>SUSE CVE CVE-2025-4330 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-4435/</URL>
      <Description>SUSE CVE CVE-2025-4435 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-4517/</URL>
      <Description>SUSE CVE CVE-2025-4517 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-6069/</URL>
      <Description>SUSE CVE CVE-2025-6069 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Micro 5.1">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Micro 5.1">
        <FullProductName ProductID="SUSE Linux Enterprise Micro 5.1" CPE="cpe:/o:suse:suse-microos:5.1">SUSE Linux Enterprise Micro 5.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpython3_6m1_0-3.6.15-150000.3.182.1">
      <FullProductName ProductID="libpython3_6m1_0-3.6.15-150000.3.182.1">libpython3_6m1_0-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpython3_6m1_0-32bit-3.6.15-150000.3.182.1">
      <FullProductName ProductID="libpython3_6m1_0-32bit-3.6.15-150000.3.182.1">libpython3_6m1_0-32bit-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpython3_6m1_0-64bit-3.6.15-150000.3.182.1">
      <FullProductName ProductID="libpython3_6m1_0-64bit-3.6.15-150000.3.182.1">libpython3_6m1_0-64bit-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-3.6.15-150000.3.182.1">python3-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-base-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-base-3.6.15-150000.3.182.1">python3-base-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-curses-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-curses-3.6.15-150000.3.182.1">python3-curses-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-dbm-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-dbm-3.6.15-150000.3.182.1">python3-dbm-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-devel-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-devel-3.6.15-150000.3.182.1">python3-devel-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-doc-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-doc-3.6.15-150000.3.182.1">python3-doc-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-doc-devhelp-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-doc-devhelp-3.6.15-150000.3.182.1">python3-doc-devhelp-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-idle-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-idle-3.6.15-150000.3.182.1">python3-idle-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-testsuite-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-testsuite-3.6.15-150000.3.182.1">python3-testsuite-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-tk-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-tk-3.6.15-150000.3.182.1">python3-tk-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-tools-3.6.15-150000.3.182.1">
      <FullProductName ProductID="python3-tools-3.6.15-150000.3.182.1">python3-tools-3.6.15-150000.3.182.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpython3_6m1_0-3.6.15-150000.3.182.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Micro 5.1">
      <FullProductName ProductID="SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1">libpython3_6m1_0-3.6.15-150000.3.182.1 as a component of SUSE Linux Enterprise Micro 5.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-3.6.15-150000.3.182.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Micro 5.1">
      <FullProductName ProductID="SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1">python3-3.6.15-150000.3.182.1 as a component of SUSE Linux Enterprise Micro 5.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-base-3.6.15-150000.3.182.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Micro 5.1">
      <FullProductName ProductID="SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1">python3-base-3.6.15-150000.3.182.1 as a component of SUSE Linux Enterprise Micro 5.1</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Allows modifying some file metadata (e.g. last modified) with filter="data"  or file permissions (chmod) with filter="tar"  of files outside the extraction directory.
You are affected by this vulnerability if using the tarfile  module to extract untrusted tar archives using TarFile.extractall()  or TarFile.extract()  using the filter=  parameter with a value of "data"  or "tar". See the tarfile  extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter   for more information. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature.

Note that for Python 3.14 or later the default value of filter=  changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.</Note>
    </Notes>
    <CVE>CVE-2024-12718</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-12718.html</URL>
        <Description>CVE-2024-12718</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244056</URL>
        <Description>SUSE Bug 1244056</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata.


You are affected by this vulnerability if using the tarfile  module to extract untrusted tar archives using TarFile.extractall()  or TarFile.extract()  using the filter=  parameter with a value of "data"  or "tar". See the tarfile  extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter   for more information.

Note that for Python 3.14 or later the default value of filter=  changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.</Note>
    </Notes>
    <CVE>CVE-2025-4138</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-4138.html</URL>
        <Description>CVE-2025-4138</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244059</URL>
        <Description>SUSE Bug 1244059</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata.


You are affected by this vulnerability if using the tarfile  module to extract untrusted tar archives using TarFile.extractall()  or TarFile.extract()  using the filter=  parameter with a value of "data"  or "tar". See the tarfile  extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter   for more information.

Note that for Python 3.14 or later the default value of filter=  changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.</Note>
    </Notes>
    <CVE>CVE-2025-4330</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-4330.html</URL>
        <Description>CVE-2025-4330</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244060</URL>
        <Description>SUSE Bug 1244060</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">When using a TarFile.errorlevel = 0  and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0  in affected versions is that the member would still be extracted and not skipped.</Note>
    </Notes>
    <CVE>CVE-2025-4435</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-4435.html</URL>
        <Description>CVE-2025-4435</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244061</URL>
        <Description>SUSE Bug 1244061</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data".


You are affected by this vulnerability if using the tarfile  module to extract untrusted tar archives using TarFile.extractall()  or TarFile.extract()  using the filter=  parameter with a value of "data"  or "tar". See the tarfile  extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter   for more information.

Note that for Python 3.14 or later the default value of filter=  changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.</Note>
    </Notes>
    <CVE>CVE-2025-4517</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-4517.html</URL>
        <Description>CVE-2025-4517</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244032</URL>
        <Description>SUSE Bug 1244032</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.</Note>
    </Notes>
    <CVE>CVE-2025-6069</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Micro 5.1:libpython3_6m1_0-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-3.6.15-150000.3.182.1</ProductID>
        <ProductID>SUSE Linux Enterprise Micro 5.1:python3-base-3.6.15-150000.3.182.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2025/suse-su-202502427-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-6069.html</URL>
        <Description>CVE-2025-6069</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1244705</URL>
        <Description>SUSE Bug 1244705</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
