benoitc/restkit · Security
Restkit Does Not Validate TLS certificates
- GHSA ID
- GHSA-p9cv-hrxr-fxx8
- CVE ID
- CVE-2015-2674
- Severity
- medium
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 5.9 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
Restkit allows man-in-the-middle attackers to spoof TLS servers by leveraging use of the ssl.wrap_socket function in Python with the default CERT_NONE value for the cert_reqs argument.
CWEs
- CWE-295 · Improper Certificate Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-2674 ↗
- https://github.com/benoitc/restkit/issues/140 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=1202837 ↗
- http://www.openwall.com/lists/oss-security/2015/03/23/7 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/restkit/PYSEC-2017-69.yaml ↗
- https://github.com/advisories/GHSA-p9cv-hrxr-fxx8 ↗