Insecure Default Affecting afnetworking package, versions <2.5.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-COCOAPODS-AFNETWORKING-471246
  • published2 Oct 2019
  • disclosed27 Mar 2015
  • creditUnknown

Introduced: 27 Mar 2015

CVE-2015-3996  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade AFNetworking to version 2.5.3 or higher.

Overview

AFNetworking is a delightful iOS and OS X networking framework.

Affected versions of this package are vulnerable to Insecure Default. The default AFSecurityPolicy.validatesDomainName configuration for AFSSLPinningModeNone in the AFNetworking framework 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.

CVSS Scores

version 3.1