CVE-2021-32559 Integer overflow in pywin32

Medium 6.5 Published Updated

An integer overflow in pywin32 allows attackers to crash the process by adding large access control entries to an ACL.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32559?

CVE-2021-32559 is a medium-severity vulnerability in n/a, published on 6 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An integer overflow exists in pywin32 prior to version b301 when adding an access control entry (ACE) to an access control list (ACL) that would cause the size to be greater than 65535 bytes. An attacker who successfully exploited this vulnerability could crash the vulnerable process.

Weakness: CWE-190

Which versions are affected by CVE-2021-32559?

3 open source packages ship an affected version, including pywin32. It affects 1 product.

PackageAffectedFixed in
pywin32 PyPIAll versions301
pywin32 PyPIAll versions301
pywin32 PyPIAll versions301

Products include Mhammond Pywin32.

How do I fix CVE-2021-32559?

Upgrade pywin32 to 301 or later.

Is CVE-2021-32559 being exploited?

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

Sources

Also known as GHSA-hwfp-hg2m-9vr2, PYSEC-2021-112.

Is CVE-2021-32559 in your software?

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

Check your SBOMs for free