Pyopenssl Incorrect Memory Management
Published 10 Oct 2018 · Updated 21 Oct 2024
Is your project on an affected pyopenssl?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <17.5.0
- Fixed in
- 17.5.0
pip install 'pyopenssl>=17.5.0'Details
It was discovered that pyOpenSSL incorrectly handled memory when performing operations on a PKCS #12 store. A remote attacker could possibly use this issue to cause pyOpenSSL to consume resources, resulting in a denial of service.
This attack appear to be exploitable via Depends upon calling application, however it could be as simple as initiating a TLS connection that would cause the calling application to reload certificates from a PKCS #12 store. This vulnerability appears to have been fixed in 17.5.0.
Is GHSA-2rcm-phc9-3945 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pyopenssl, and gives you the command that fixes it.
More advisories for pyopenssl
- HighCVE-2026-27459pyOpenSSL DTLS cookie callback buffer overflow · 16 Mar 2026
- LowCVE-2026-27448pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback · 16 Mar 2026
- HighCVE-2013-4314PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name · 17 May 2022
- HighCVE-2018-1000807PyOpenSSL Use-After-Free vulnerability · 10 Oct 2018
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-1000808
- Linkgithub.com/pyca/pyopenssl/pull/723
- Linkgithub.com/pyca/pyopenssl/commit/e73818600065821d588af475b024f4eb518c3509
- Linkaccess.redhat.com/errata/RHSA-2019:0085
- Advisorygithub.com/advisories/GHSA-2rcm-phc9-3945
- Packagegithub.com/pyca/pyopenssl
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2018-24.yaml
- Linkusn.ubuntu.com/3813-1
- Linklists.opensuse.org/opensuse-security-announce/2019-04/msg00014.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.