{"id":"CVE-2015-2674","aliases":["EUVD-2017-0112","GHSA-p9cv-hrxr-fxx8","PYSEC-2017-69","UBUNTU-CVE-2015-2674"],"status":"published","title":"Restkit Does Not Validate TLS certificates","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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01352,"percentile":0.71747,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-295"],"published":"2017-08-09T18:00:00Z","modified":"2026-06-17T00:24:32Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"restkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"restkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"python-restkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.2-1","4.2.2-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-restkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.2-2"]}],"products":[{"vendor":"restkit","product":"restkit"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/03/23/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","VDB Entry","web"]},{"url":"https://github.com/benoitc/restkit/issues/140","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1202837","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2674","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/restkit/PYSEC-2017-69.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p9cv-hrxr-fxx8","tags":["advisory"]},{"url":"https://github.com/benoitc/restkit","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2015-2674","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-2674","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-2674","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.","status":"published","published":"2017-08-09T18:00:00Z","modified":"2024-08-06T05:24:37.965Z","updated_at":"2026-11-02T14:35:41.976732Z"}],"euvd":[{"id":"EUVD-2017-0112","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.","status":"published","published":"2017-08-09T18:00:00Z","modified":"2024-08-06T05:24:37Z","updated_at":"2026-11-03T02:22:11.095833Z"}],"ghsa":[{"id":"GHSA-p9cv-hrxr-fxx8","title":"Restkit Does Not Validate TLS certificates","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.","status":"published","published":"2022-05-17T01:59:05Z","modified":"2024-10-21T21:51:09Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:38:12.325695Z"}],"nvd":[{"id":"CVE-2015-2674","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.","status":"published","published":"2017-08-09T18:29:01.153Z","modified":"2026-06-17T00:24:32.07Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:03:17.730372Z"}],"osv":[{"id":"GHSA-p9cv-hrxr-fxx8","title":"Restkit Does Not Validate TLS certificates","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.","status":"published","published":"2022-05-17T01:59:05Z","modified":"2024-10-21T22:00:53.711473Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"UBUNTU-CVE-2015-2674","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.","status":"published","published":"2017-08-09T18:29:00Z","modified":"2025-10-24T04:45:20Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:10.045446Z"},{"id":"PYSEC-2017-69","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.","status":"published","published":"2017-08-09T18:29:00Z","modified":"2026-06-10T17:02:36.502779222Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
