CVE-2023-52323 PyCryptodome and pycryptodomex side-channel leakage for OAEP decryption

Medium 5.9 Published Updated

Attackers can exploit side-channel leakage in OAEP decryption to recover plaintext, affecting applications using PyCryptodome.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52323?

CVE-2023-52323 is a medium-severity vulnerability in n/a, published on 5 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-203

Which versions are affected by CVE-2023-52323?

6 open source packages ship an affected version, including pycryptodome and pycryptodomex. It affects 2 products.

PackageAffectedFixed in
pycryptodome PyPIAll versions3.19.1
pycryptodome PyPIAll versions3.19.1
pycryptodome PyPIAll versions3.19.1
pycryptodomex PyPIAll versions3.19.1
pycryptodomex PyPIAll versions3.19.1
pycryptodomex PyPIAll versions3.19.1
Linux distribution packages (34)
python-pycryptodomex SUSE:Enterprise Storage 7.1All versions3.9.9-150300.3.3.1
python-pycryptodome SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions3.9.0-150200.9.1
python-pycryptodomex SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions3.9.9-150300.3.3.1
python-pycryptodome SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.9.0-150100.3.6.1
python-aliyun-python-sdk SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.10.3.1
python-aliyun-python-sdk-aas SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.1.1-150400.10.3.1
python-aliyun-python-sdk-acm SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.1-150400.10.3.1
python-aliyun-python-sdk-acms-open SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.10.3.1
python-aliyun-python-sdk-actiontrail SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.2.0-150400.10.3.1
python-aliyun-python-sdk-adb SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.1.10-150400.10.3.1
python-aliyun-python-sdk-adcp SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-address-purification SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.1-150400.10.3.1
python-aliyun-python-sdk-aegis SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.6-150400.10.3.1
python-aliyun-python-sdk-afs SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.1-150400.10.3.1
python-aliyun-python-sdk-aigen SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-aimiaobi SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-airec SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.1.0-150400.10.3.1
python-aliyun-python-sdk-airticketopen SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions3.0.3-150400.9.3.1
python-aliyun-python-sdk-alb SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.16-150400.9.3.1
python-aliyun-python-sdk-alidns SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions3.0.7-150400.10.3.1
python-aliyun-python-sdk-aligreen-console SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.3-150400.10.3.1
python-aliyun-python-sdk-alikafka SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.6-150400.9.3.1
python-aliyun-python-sdk-alimt SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions3.2.0-150400.10.3.1
python-aliyun-python-sdk-alinlp SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.24-150400.10.3.1
python-aliyun-python-sdk-aliyuncvc SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.10.2-150400.10.3.1
python-aliyun-python-sdk-amptest SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-amqp-open SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.1.4-150400.10.3.1
python-aliyun-python-sdk-antiddos-public SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.0.4-150400.9.3.1
python-aliyun-python-sdk-apds SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-appmallsservice SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.1.1-150400.10.3.1
python-aliyun-python-sdk-appstream-center SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.1-150400.9.3.1
python-aliyun-python-sdk-aps SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions1.0.0-150400.9.3.1
python-aliyun-python-sdk-arms SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.7.30-150400.10.3.1
python-aliyun-python-sdk-arms4finance SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.0.2-150400.10.3.1

Products include Pycryptodome Pycryptodome, Pycryptodome Pycryptodomex.

How do I fix CVE-2023-52323?

Upgrade pycryptodome to 3.19.1 or later.

Is CVE-2023-52323 being exploited?

There is no known exploitation of CVE-2023-52323 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-52323, ECHO-6224-38b9-b98e, GHSA-j225-cvw7-qrx7, OESA-2024-1046, OESA-2024-1053, OESA-2024-2146 and 16 more.

Is CVE-2023-52323 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free