CVE-2015-2674: Restkit TLS Server Spoofing

restkit Updated 02 Oct 2025

Summary

17/05/2022
No i
Moderate
5.9

CVE-2015-2674: Restkit Does Not Validate TLS certificates. Affects restkit versions < 4.2.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Restkit is a Python package available on PyPI that provides a framework for interacting with RESTful web services. It offers features such as HTTP request/response handling, authentication, and data serialization. The package has been widely used for building web applications and APIs.

Vulnerability Detail

The vulnerability identified as CVE-2015-2674 affects Restkit versions 1.0.0 and later. It arises from the use of the ssl.wrap_socket function in Python with the default CERT_NONE value for the cert_reqs argument. This configuration allows man-in-the-middle attackers to spoof TLS servers. By exploiting this vulnerability, an attacker can intercept and modify the communication between a Restkit client and a server, potentially leading to unauthorized access, data tampering, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, as a general security practice, it is advisable to ensure that the communication between Restkit clients and servers is protected using secure channels, such as TLS/SSL with proper certificate validation.

Conclusion

The vulnerability identified as CVE-2015-2674 in Restkit allows for TLS server spoofing, enabling man-in-the-middle attacks. It is crucial to update Restkit to a patched version to mitigate this vulnerability. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for restkit →

Share this vulnerability

FAQ

This vulnerability allows attackers to impersonate TLS servers and intercept the communication between Restkit clients and servers. It can result in unauthorized access, data tampering, and other security breaches.

Restkit versions 1.0.0 and later are affected by this vulnerability.

While specific exploits targeting this vulnerability may exist, there are no publicly known exploits at the time of this advisory.

Yes, the Restkit maintainers have addressed this vulnerability in subsequent releases. Users should upgrade to the latest version available.

In addition to updating Restkit, it is recommended to follow secure coding practices, validate server certificates, and regularly monitor for security updates and advisories.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback