Skip to content
Fencer Intel
medium 5.9

CVE-2023-52323 json

PyCryptodome and pycryptodomex side-channel leakage for OAEP decryption

published 2y ago modified 2mo ago also GHSA-j225-cvw7-qrx7 , PYSEC-2024-3 , PYSEC-2026-1811 , EUVD-2024-0153

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

Summary

PyCryptodome and pycryptodomex before 3.19.1 allow side-channel leakage for OAEP decryption, exploitable for a Manger attack.

Patch / fix

  • pypi pycryptodomex 3.19.1
  • pypi pycryptodome 3.19.1
  • pycryptodome pycryptodome 3.19.1
  • pycryptodome pycryptodomex 3.19.1
  • pycryptodome Debian 14, Debian 13 3.20.0+dfsg-1

debian advisories DEBIAN-CVE-2023-52323

  • pycryptodome Ubuntu 22.04 LTS 3.11.0+dfsg1-3ubuntu0.1

ubuntu advisories UBUNTU-CVE-2023-52323

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • fence-agents RHEL 9 4.10.0-55.el9_3.3
  • fence-virt RHEL 9 4.10.0-55.el9_3.3
  • fence-virtd RHEL 9 4.10.0-55.el9_3.3
  • fence-virtd-cpg RHEL 9 4.10.0-55.el9_3.3
  • fence-virtd-tcp RHEL 9 4.10.0-55.el9_3.3
  • fence-agents-all RHEL 9 4.10.0-55.el9_3.3
  • fence-agents-apc RHEL 9 4.10.0-55.el9_3.3
  • fence-agents-aws RHEL 9 4.10.0-55.el9_3.3

red hat advisories RHBA-2024:1137RHBA-2024:1398RHBA-2024:1114RHBA-2024:1091RHSA-2024:2952RHSA-2024:2968

  • python-oss2 SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.18.4-150400.10.3.1
  • python-crcmod SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 1.7-150400.10.3.1
  • python-pycryptodome SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.20.0-150400.15.3.1
  • python-aliyun-python-sdk SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 1.0.0-150400.10.3.1
  • python-aliyun-python-sdk-cr SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 4.1.2-150400.10.3.1
  • python-aliyun-python-sdk-cs SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 4.8.1-150400.10.3.1
  • python-aliyun-python-sdk-dg SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 1.0.10-150400.10.3.1
  • python-aliyun-python-sdk-ft SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 5.6.7-150400.10.3.1

suse advisories SUSE-RU-2024:1829-2SUSE-RU-2024:1829-1SUSE-SU-2024:0601-1SUSE-SU-2024:0585-1SUSE-SU-2024:0557-1

  • python-pycryptodome openSUSE Tumbleweed 3.23.0-1.6
  • python-pycryptodomex openSUSE Tumbleweed 3.23.0-1.6

opensuse advisories openSUSE-SU-2026:12028-1openSUSE-SU-2026:12029-1

  • resource-agents AlmaLinux 8 4.9.0-54.el8
  • resource-agents-gcp AlmaLinux 8 4.9.0-54.el8
  • resource-agents-paf AlmaLinux 8 4.9.0-54.el8
  • resource-agents-aliyun AlmaLinux 8 4.9.0-54.el8
  • fence-agents-all AlmaLinux 8 4.2.1-129.el8
  • fence-agents-apc AlmaLinux 8 4.2.1-129.el8
  • fence-agents-aws AlmaLinux 8 4.2.1-129.el8
  • fence-agents-eps AlmaLinux 8 4.2.1-129.el8

almalinux advisories ALSA-2024:2952ALSA-2024:2968ALSA-2024:2132

  • resource-agents Rocky Linux 8 4.9.0-54.el8
  • fence-agents Rocky Linux 8 4.2.1-129.el8

rocky linux advisories RLSA-2024:2952RLSA-2024:2968

Is CVE-2023-52323 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-52323 updated cvss 5.9

pycryptodome: side-channel leakage for OAEP decryption in PyCryptodome and pycryptodomex

  • Red Hat Enterprise Linux 7 fence-agents, resource-agents, fence-agents-all, fence-agents-apc, fence-agents-aws, fence-agents-eps, +45 more Red Hat Storage 3 pysnmp
    affected: no fix planned “Out of support scope”
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-pycryptodomex 3.20.0-1.el8ap, python3x-pycryptodomex 3.20.0-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-pycryptodomex 3.20.0-1.el9ap, python3-pycryptodomex 3.20.0-1.el9ap
    fixed: vendor fix RHSA-2024:1057
  • Red Hat Enterprise Linux AppStream (v. 8) fence-agents 4.2.1-129.el8, fence-agents 4.2.1-121.el8_9.4, fence-agents-all 4.2.1-129.el8, fence-agents-apc 4.2.1-129.el8, fence-agents-eps 4.2.1-129.el8, fence-agents-rsa 4.2.1-129.el8, +80 more
    fixed: vendor fix RHSA-2024:2968
  • Red Hat Enterprise Linux AppStream (v. 9) fence-virt 4.10.0-62.el9, fence-virtd 4.10.0-62.el9, fence-agents 4.10.0-62.el9, fence-virt 4.10.0-55.el9_3.3, fence-virtd 4.10.0-55.el9_3.3, fence-virtd-cpg 4.10.0-62.el9, +22 more
    fixed: vendor fix RHBA-2024:1137
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) fence-agents 4.2.1-65.el8_4.14, fence-agents-all 4.2.1-65.el8_4.14, fence-agents-apc 4.2.1-65.el8_4.14, fence-agents-eps 4.2.1-65.el8_4.14, fence-agents-rsa 4.2.1-65.el8_4.14, fence-agents-rsb 4.2.1-65.el8_4.14, +36 more Red Hat Enterprise Linux AppStream E4S (v.8.4) fence-agents 4.2.1-65.el8_4.14, fence-agents-all 4.2.1-65.el8_4.14, fence-agents-apc 4.2.1-65.el8_4.14, fence-agents-eps 4.2.1-65.el8_4.14, fence-agents-rsa 4.2.1-65.el8_4.14, fence-agents-rsb 4.2.1-65.el8_4.14, +36 more
    fixed: vendor fix RHBA-2024:1398
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) fence-agents 4.2.1-89.el8_6.11, fence-agents-all 4.2.1-89.el8_6.11, fence-agents-apc 4.2.1-89.el8_6.11, fence-agents-eps 4.2.1-89.el8_6.11, fence-agents-rsa 4.2.1-89.el8_6.11, fence-agents-rsb 4.2.1-89.el8_6.11, +37 more
    fixed: vendor fix RHBA-2024:1114
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) fence-agents 4.2.1-112.el8_8.3, fence-agents-all 4.2.1-112.el8_8.3, fence-agents-apc 4.2.1-112.el8_8.3, fence-agents-eps 4.2.1-112.el8_8.3, fence-agents-rsa 4.2.1-112.el8_8.3, fence-agents-rsb 4.2.1-112.el8_8.3, +37 more
    fixed: vendor fix RHBA-2024:1416
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) fence-virt 4.10.0-20.el9_0.11, fence-virtd 4.10.0-20.el9_0.11, fence-agents 4.10.0-20.el9_0.11, fence-virtd-cpg 4.10.0-20.el9_0.11, fence-virtd-tcp 4.10.0-20.el9_0.11, fence-agents-virsh 4.10.0-20.el9_0.11, +9 more
    fixed: vendor fix RHSA-2024:1155
show 22 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) fence-virt 4.10.0-43.el9_2.3, fence-virtd 4.10.0-43.el9_2.3, fence-agents 4.10.0-43.el9_2.3, fence-virtd-cpg 4.10.0-43.el9_2.3, fence-virtd-tcp 4.10.0-43.el9_2.3, fence-agents-virsh 4.10.0-43.el9_2.3, +8 more
    fixed: vendor fix RHBA-2024:1091
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) fence-agents 4.2.1-65.el8_4.14, fence-agents-all 4.2.1-65.el8_4.14, fence-agents-apc 4.2.1-65.el8_4.14, fence-agents-eps 4.2.1-65.el8_4.14, fence-agents-rsa 4.2.1-65.el8_4.14, fence-agents-rsb 4.2.1-65.el8_4.14, +36 more
    fixed: vendor fix RHBA-2024:1398
  • Red Hat Enterprise Linux High Availability (v. 8) fence-agents-aws 4.2.1-121.el8_9.4, fence-agents-gce 4.2.1-121.el8_9.4, fence-agents-aliyun 4.2.1-121.el8_9.4, fence-agents-azure-arm 4.2.1-121.el8_9.4, fence-agents-openstack 4.2.1-121.el8_9.4
    fixed: vendor fix RHBA-2024:0891
  • Red Hat Enterprise Linux High Availability (v. 9) fence-agents-all 4.10.0-55.el9_3.3, fence-agents-apc 4.10.0-55.el9_3.3, fence-agents-aws 4.10.0-55.el9_3.3, fence-agents-eps 4.10.0-55.el9_3.3, fence-agents-gce 4.10.0-55.el9_3.3, fence-agents-rsa 4.10.0-55.el9_3.3, +36 more
    fixed: vendor fix RHBA-2024:1137
  • Red Hat Enterprise Linux High Availability AUS (v.8.4) fence-agents-aws 4.2.1-65.el8_4.14, fence-agents-gce 4.2.1-65.el8_4.14, fence-agents-aliyun 4.2.1-65.el8_4.14, fence-agents-azure-arm 4.2.1-65.el8_4.14
    fixed: vendor fix RHBA-2024:1398
  • Red Hat Enterprise Linux High Availability EUS (v.8.6) fence-agents-aws 4.2.1-89.el8_6.11, fence-agents-gce 4.2.1-89.el8_6.11, fence-agents-aliyun 4.2.1-89.el8_6.11, fence-agents-azure-arm 4.2.1-89.el8_6.11
    fixed: vendor fix RHBA-2024:1114
  • Red Hat Enterprise Linux High Availability EUS (v.8.8) fence-agents-aws 4.2.1-112.el8_8.3, fence-agents-gce 4.2.1-112.el8_8.3, fence-agents-aliyun 4.2.1-112.el8_8.3, fence-agents-azure-arm 4.2.1-112.el8_8.3, fence-agents-openstack 4.2.1-112.el8_8.3
    fixed: vendor fix RHBA-2024:1416
  • Red Hat Enterprise Linux High Availability EUS (v.9.0) fence-agents-all 4.10.0-20.el9_0.11, fence-agents-apc 4.10.0-20.el9_0.11, fence-agents-aws 4.10.0-20.el9_0.11, fence-agents-eps 4.10.0-20.el9_0.11, fence-agents-gce 4.10.0-20.el9_0.11, fence-agents-rsa 4.10.0-20.el9_0.11, +36 more
    fixed: vendor fix RHSA-2024:1155
  • Red Hat Enterprise Linux High Availability EUS (v.9.2) fence-agents-all 4.10.0-43.el9_2.3, fence-agents-apc 4.10.0-43.el9_2.3, fence-agents-aws 4.10.0-43.el9_2.3, fence-agents-eps 4.10.0-43.el9_2.3, fence-agents-gce 4.10.0-43.el9_2.3, fence-agents-rsa 4.10.0-43.el9_2.3, +36 more
    fixed: vendor fix RHBA-2024:1091
  • Red Hat Enterprise Linux HighAvailability (v. 8) resource-agents 4.9.0-54.el8, fence-agents-aws 4.2.1-129.el8, fence-agents-gce 4.2.1-129.el8, resource-agents-gcp 4.9.0-54.el8, resource-agents-paf 4.9.0-54.el8, fence-agents-aliyun 4.2.1-129.el8, +3 more
    fixed: vendor fix RHSA-2024:2968
  • Red Hat Enterprise Linux HighAvailability (v. 9) fence-agents-all 4.10.0-62.el9, fence-agents-apc 4.10.0-62.el9, fence-agents-aws 4.10.0-62.el9, fence-agents-eps 4.10.0-62.el9, fence-agents-gce 4.10.0-62.el9, fence-agents-rsa 4.10.0-62.el9, +36 more
    fixed: vendor fix RHSA-2024:2132
  • Red Hat Enterprise Linux HighAvailability E4S (v.8.4) fence-agents-aws 4.2.1-65.el8_4.14, fence-agents-gce 4.2.1-65.el8_4.14, fence-agents-aliyun 4.2.1-65.el8_4.14, fence-agents-azure-arm 4.2.1-65.el8_4.14 Red Hat Enterprise Linux HighAvailability TUS (v.8.4) fence-agents-aws 4.2.1-65.el8_4.14, fence-agents-gce 4.2.1-65.el8_4.14, fence-agents-aliyun 4.2.1-65.el8_4.14, fence-agents-azure-arm 4.2.1-65.el8_4.14
    fixed: vendor fix RHBA-2024:1398
  • Red Hat Enterprise Linux Resilient Storage (v. 8) fence-agents-aws 4.2.1-121.el8_9.4, fence-agents-gce 4.2.1-121.el8_9.4, fence-agents-aliyun 4.2.1-121.el8_9.4, fence-agents-azure-arm 4.2.1-121.el8_9.4, fence-agents-openstack 4.2.1-121.el8_9.4
    fixed: vendor fix RHBA-2024:0891
  • Red Hat Enterprise Linux Resilient Storage (v. 9) fence-agents-all 4.10.0-55.el9_3.3, fence-agents-apc 4.10.0-55.el9_3.3, fence-agents-aws 4.10.0-55.el9_3.3, fence-agents-eps 4.10.0-55.el9_3.3, fence-agents-gce 4.10.0-55.el9_3.3, fence-agents-rsa 4.10.0-55.el9_3.3, +36 more
    fixed: vendor fix RHBA-2024:1137
  • Red Hat Enterprise Linux Resilient Storage EUS (v.8.6) fence-agents-aws 4.2.1-89.el8_6.11, fence-agents-gce 4.2.1-89.el8_6.11, fence-agents-aliyun 4.2.1-89.el8_6.11, fence-agents-azure-arm 4.2.1-89.el8_6.11
    fixed: vendor fix RHBA-2024:1114
  • Red Hat Enterprise Linux Resilient Storage EUS (v.8.8) fence-agents-aws 4.2.1-112.el8_8.3, fence-agents-gce 4.2.1-112.el8_8.3, fence-agents-aliyun 4.2.1-112.el8_8.3, fence-agents-azure-arm 4.2.1-112.el8_8.3, fence-agents-openstack 4.2.1-112.el8_8.3
    fixed: vendor fix RHBA-2024:1416
  • Red Hat Enterprise Linux Resilient Storage EUS (v.9.0) fence-agents-all 4.10.0-20.el9_0.11, fence-agents-apc 4.10.0-20.el9_0.11, fence-agents-aws 4.10.0-20.el9_0.11, fence-agents-eps 4.10.0-20.el9_0.11, fence-agents-gce 4.10.0-20.el9_0.11, fence-agents-rsa 4.10.0-20.el9_0.11, +36 more
    fixed: vendor fix RHSA-2024:1155
  • Red Hat Enterprise Linux Resilient Storage EUS (v.9.2) fence-agents-all 4.10.0-43.el9_2.3, fence-agents-apc 4.10.0-43.el9_2.3, fence-agents-aws 4.10.0-43.el9_2.3, fence-agents-eps 4.10.0-43.el9_2.3, fence-agents-gce 4.10.0-43.el9_2.3, fence-agents-rsa 4.10.0-43.el9_2.3, +36 more
    fixed: vendor fix RHBA-2024:1091
  • Red Hat Enterprise Linux ResilientStorage (v. 8) resource-agents 4.9.0-54.el8, fence-agents-aws 4.2.1-129.el8, fence-agents-gce 4.2.1-129.el8, resource-agents-gcp 4.9.0-54.el8, resource-agents-paf 4.9.0-54.el8, fence-agents-aliyun 4.2.1-129.el8, +3 more
    fixed: vendor fix RHSA-2024:2968
  • Red Hat Enterprise Linux ResilientStorage (v. 9) fence-agents-all 4.10.0-62.el9, fence-agents-apc 4.10.0-62.el9, fence-agents-aws 4.10.0-62.el9, fence-agents-eps 4.10.0-62.el9, fence-agents-gce 4.10.0-62.el9, fence-agents-rsa 4.10.0-62.el9, +36 more
    fixed: vendor fix RHSA-2024:2132
  • Red Hat Satellite 6.15 for RHEL 8 python-pycryptodomex 3.20.0-1.el8pc, python3.11-pycryptodomex 3.20.0-1.el8pc
    fixed: vendor fix RHSA-2024:2010
  • Red Hat Ansible Automation Platform 2 python-jose, python3x-jose Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-runner 2.3.5-1.el8ap, automation-hub 4.9.1-1.el8ap, ansible-builder 3.0.1-1.el8ap, ansible-dev-tools 2.4-1.el8ap, python39-jinja2 3.1.3-1.el8ap, python3x-jinja2 3.1.3-1.el8ap, +103 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-jinja2 3.1.3-1.el9ap, ansible-runner 2.3.5-1.el9ap, automation-hub 4.9.1-1.el9ap, python-aiohttp 3.9.1-1.el9ap, python-boto3 1.18.35-4.el9ap, python-django 4.2.10-1.el9ap, +103 more Red Hat OpenShift Container Platform 4 python3-pysnmp Red Hat OpenStack Platform 16.1 python3-crypto Red Hat OpenStack Platform 16.2 python3-crypto
    +1 more products
    Red Hat OpenStack Platform 17.1 python3-pysnmp
    not affected: vulnerable code not present

3 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-15).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi pycryptodomex
<3.19.1
3.19.1
pypi pycryptodome
<3.19.1
3.19.1

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.