{"id":"GHSA-p9cv-hrxr-fxx8","summary":"Restkit Does Not Validate TLS certificates","details":"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.","aliases":["CVE-2015-2674","PYSEC-2017-69"],"modified":"2024-10-21T22:00:53.711473Z","published":"2022-05-17T01:59:05Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-08-03T21:27:58Z","nvd_published_at":"2017-08-09T18:29:00Z","cwe_ids":["CWE-295"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2674"},{"type":"WEB","url":"https://github.com/benoitc/restkit/issues/140"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1202837"},{"type":"PACKAGE","url":"https://github.com/benoitc/restkit"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/restkit/PYSEC-2017-69.yaml"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/03/23/7"}],"affected":[{"package":{"name":"restkit","ecosystem":"PyPI","purl":"pkg:pypi/restkit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.2"}]}],"versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","1.3.0","1.3.1","2.0.0","2.0.1","2.0.2","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.3.1","2.3.2","2.3.3","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.2","4.0.0","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.1","4.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p9cv-hrxr-fxx8/GHSA-p9cv-hrxr-fxx8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}