Information Exposure Affecting gcdwebserver package, versions <3.5.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.28% (69th 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-GCDWEBSERVER-472118
  • published9 Oct 2019
  • disclosed10 Aug 2019
  • creditSiOS-Submission

Introduced: 10 Aug 2019

CVE-2019-14924  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade GCDWebServer to version 3.5.3 or higher.

Overview

GCDWebServer is a modern and lightweight GCD based HTTP 1.1 server designed to be embedded in iOS, macOS & tvOS apps.

Affected versions of this package are vulnerable to Information Exposure. An issue was discovered in GCDWebServer before 3.5.3. The method moveItem in the GCDWebUploader class checks the FileExtension of newAbsolutePath but not oldAbsolutePath. By leveraging this vulnerability, an adversary can make an inaccessible file be available (the credential of the app, for instance).

CVSS Scores

version 3.1