6.5medium
Integer overflow in pywin32
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.73% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-hwfp-hg2m-9vr2PYSEC-2021-112
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pywin32 (PyPI) | before 301 | GitHub Advisory Database, PyPA Advisory Database |
| mhammond pywin32 | before 301 | NVD |
All scores
| GitHub | 6.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se presenta un desbordamiento de enteros en pywin32 versiones anteriores a b301, cuando se agrega una entrada de control de acceso (ACE) a una lista de control de acceso (ACL) que causaría que el tamaño sea superior a 65535 bytes. Un atacante que explotara con éxito esta vulnerabilidad podría bloquear el proceso vulnerable
References
| https://github.com/mhammond/pywin32/releases | release-notes, third-party-advisory, web | |
| https://github.com/fireeye/Vulnerability-Disclosures/blob/master/FEYE-2021-0017/FEYE-2021-0017.md | third-party-advisory, web | |
| https://github.com/mhammond/pywin32/issues/1700 | patch, third-party-advisory, web | |
| https://github.com/mhammond/pywin32/pull/1701 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32559 | advisory | |
| https://github.com/advisories/GHSA-hwfp-hg2m-9vr2 | advisory | |
| https://github.com/mhammond/pywin32 | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/pywin32/PYSEC-2021-112.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32559 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hwfp-hg2m-9vr2 changed 2025-03-27 | CC-BY-4.0 |
| NVD | CVE-2021-32559 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-112 changed 2023-11-08 | CC-BY-4.0 |