<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2024-0140</id>
    <title>An update for python-pymongo is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2024-05-25 06:44:28"/>
    <updated date="2024-05-25 06:44:28"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-21506" id="CVE-2024-21506" title="CVE-2024-21506 Base Score: 5.2 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte. (CVE-2024-21506)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="python-pymongo">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="python3-bson" version="3.11.3" release="3.hce2">
          <filename>python3-bson-3.11.3-3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-pymongo" version="3.11.3" release="3.hce2">
          <filename>python3-pymongo-3.11.3-3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-pymongo-gridfs" version="3.11.3" release="3.hce2">
          <filename>python3-pymongo-gridfs-3.11.3-3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python-pymongo-help" version="3.11.3" release="3.hce2">
          <filename>python-pymongo-help-3.11.3-3.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-bson" version="3.11.3" release="3.hce2">
          <filename>python3-bson-3.11.3-3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-pymongo" version="3.11.3" release="3.hce2">
          <filename>python3-pymongo-3.11.3-3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-pymongo-gridfs" version="3.11.3" release="3.hce2">
          <filename>python3-pymongo-gridfs-3.11.3-3.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
