pyca/pyopenssl · Security
Pyopenssl Incorrect Memory Management
- GHSA ID
- GHSA-2rcm-phc9-3945
- CVE ID
- CVE-2018-1000808
- Severity
- high
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 5.9 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-401 · Missing Release of Memory after Effective Lifetime
- CWE-404 · Improper Resource Shutdown or Release
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000808 ↗
- https://github.com/pyca/pyopenssl/pull/723 ↗
- https://access.redhat.com/errata/RHSA-2019:0085 ↗
- https://github.com/advisories/GHSA-2rcm-phc9-3945 ↗
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00014.html ↗
- https://github.com/pyca/pyopenssl/commit/e73818600065821d588af475b024f4eb518c3509 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2018-24.yaml ↗
- https://usn.ubuntu.com/3813-1 ↗