Live threats

All CVEs / Afnetworking Project

CVE-2015-3996Afnetworking Project Afnetworking

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Oct 27, 2015
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-254
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

The default AFSecurityPolicy.validatesDomainName configuration for AFSSLPinningModeNone in the AFNetworking framework before 2.5.3, as used in the ownCloud iOS Library, disables verification of a server hostname against the domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

Original NVD text.

What to do

  1. Apply the vendor's security update for Afnetworking.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
afnetworking_projectafnetworking≤ 2.5.2

Official sources

References

Links published by the sources. Open them with care.