CVE-2015-2674
Restkit Does Not Validate TLS certificates
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
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.
- Record
CVE-2015-2674- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-2674- Updated
- 2026-11-02
EUVDEUVD-2017-0112 No score
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.
- Record
EUVD-2017-0112- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p9cv-hrxr-fxx8
5.9
Restkit Does Not Validate TLS certificates
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.
- Record
GHSA-p9cv-hrxr-fxx8- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVGHSA-p9cv-hrxr-fxx8
5.9
Restkit Does Not Validate TLS certificates
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.
- Record
GHSA-p9cv-hrxr-fxx8- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-2674
5.9
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.
- Record
UBUNTU-CVE-2015-2674- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVPYSEC-2017-69 No score
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.
- Record
PYSEC-2017-69- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
restkitPyPI |
through 4.2.2 | None known |
restkitPyPI |
through 4.2.2, plus listed versions 1.0.01.1.01.1.11.1.21.1.3 Show 45 moreShow less1.2.01.2.11.3.01.3.12.0.02.0.12.0.22.0.42.0.52.1.02.1.12.1.22.1.32.1.42.1.52.1.62.1.72.2.02.2.12.2.22.2.32.2.42.3.02.3.12.3.22.3.33.0.03.0.13.0.23.0.33.0.43.2.03.2.13.2.23.2.33.3.03.3.13.3.24.0.04.1.04.1.14.1.24.1.34.1.44.1.5 |
None known |
restkitPyPI |
1.0.0 and later, plus listed versions 1.1.01.1.11.1.21.1.31.2.0 Show 45 moreShow less1.2.11.3.01.3.12.0.02.0.12.0.22.0.42.0.52.1.02.1.12.1.22.1.32.1.42.1.52.1.62.1.72.2.02.2.12.2.22.2.32.2.42.3.02.3.12.3.22.3.33.0.03.0.13.0.23.0.33.0.43.2.03.2.13.2.23.2.33.3.03.3.13.3.24.0.04.1.04.1.14.1.24.1.34.1.44.1.54.2.0 |
None known |
python-restkitUbuntu:16.04:LTS |
All versions, plus listed versions 4.2.2-14.2.2-2 |
None known |
python-restkitUbuntu:18.04:LTS |
All versions, plus listed versions 4.2.2-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-2674 is a medium vulnerability (CVSS 5.9) in Restkit, published August 9, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.36%, the 71st percentile. No source names a fixed version.
References
openwall.com/lists/oss-security/2015/03/23/7
github.com/benoitc/restkit/issues/140
bugzilla.redhat.com/show_bug.cgi?id=1202837
nvd.nist.gov/vuln/detail/CVE-2015-2674
github.com/pypa/advisory-database/tree/main/vulns/restkit/PYSEC-2017-69.yaml
github.com/advisories/GHSA-p9cv-hrxr-fxx8
github.com/benoitc/restkit
ubuntu.com/security/CVE-2015-2674
cve.org/CVERecord?id=CVE-2015-2674
Left out here: 4 versions. The JSON record has them.