Vulnerabilities in pkg:nuget/recurly-api-client

PACKAGE
Advisory Identifier: GHSA-xpwp-rq3x-x6v7
Advisory Summary

CVE-2017-0907 is a CRITICAL critical severity vulnerability that affects vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Recurly api client libraries in the NuGet ecosystem. The issue involves critical severity vulnerability that affects recurly-api-client. Remediation is available by upgrading affected packages to version 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/recurly-api-client

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/recurly-api-client. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xpwp-rq3x-x6v7 CVE-2017-0907 CRITICAL Critical severity vulnerability that affects recurly-api-client

CVE-2017-0907 at a Glance

CVE Identifier CVE-2017-0907
GHSA Identifier GHSA-xpwp-rq3x-x6v7
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Recurly api client
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix CVE-2017-0907

To remediate this vulnerability, upgrade all affected Recurly api client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

recurly-api-client fixed: 1.0.1
Upgrade recurly-api-client to 1.0.1
recurly-api-client fixed: 1.1.10
Upgrade recurly-api-client to 1.1.10
recurly-api-client fixed: 1.2.8
Upgrade recurly-api-client to 1.2.8
recurly-api-client fixed: 1.3.2
Upgrade recurly-api-client to 1.3.2
recurly-api-client fixed: 1.4.14
Upgrade recurly-api-client to 1.4.14
recurly-api-client fixed: 1.5.3
Upgrade recurly-api-client to 1.5.3
recurly-api-client fixed: 1.6.2
Upgrade recurly-api-client to 1.6.2
recurly-api-client fixed: 1.7.1
Upgrade recurly-api-client to 1.7.1
recurly-api-client fixed: 1.8.1
Upgrade recurly-api-client to 1.8.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for recurly-api-client

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-0907, inspect your project dependencies for Recurly api client:

inspect dependencies for recurly-api-client

Analyze the terminal output to locate any version of Recurly api client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Recurly api client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The Recurly Client .NET Library before 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1 is vulnerable to a Server-Side Request Forgery vulnerability due to incorrect use of "Uri.EscapeUriString" that could result in compromise of API keys or other critical resources.

CVE-2017-0907 Affected Recurly api client Versions

9 component(s)
Fixed Versions:
1.0.11.1.101.2.81.3.21.4.141.5.31.6.21.7.11.8.1
Product / Package Ecosystem Affected Versions Fixed Version
recurly-api-client
NuGet
< 1.0.1
1.0.1
recurly-api-client
NuGet
≥ 1.1.0
< 1.1.10
1.1.10
recurly-api-client
NuGet
≥ 1.2.0
< 1.2.8
1.2.8
recurly-api-client
NuGet
≥ 1.3.0
< 1.3.2
1.3.2
recurly-api-client
NuGet
≥ 1.4.0
< 1.4.14
1.4.14
recurly-api-client
NuGet
≥ 1.5.0
< 1.5.3
1.5.3
recurly-api-client
NuGet
≥ 1.6.0
< 1.6.2
1.6.2
recurly-api-client
NuGet
≥ 1.7.0
< 1.7.1
All 1 versions
1.7.0
1.7.1
recurly-api-client
NuGet
≥ 1.8.0
< 1.8.1
All 1 versions
1.8.0
1.8.1

References

Frequently Asked Questions

What is CVE-2017-0907?
CVE-2017-0907 is a security vulnerability in Recurly api client involving Critical severity vulnerability that affects recurly-api-client under CWE-918: Server-Side Request Forgery (SSRF).
Which Recurly api client versions are affected?
Affected versions include releases prior to 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1 across affected packages: recurly-api-client.
What version fixes CVE-2017-0907?
Upgrading to 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is recurly-api-client affected?
Yes, recurly-api-client is affected in releases prior to 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1. Upgrade your dependency to 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1 or later.
What CWE is associated with CVE-2017-0907?
CVE-2017-0907 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check NuGet dependencies for CVE-2017-0907?
Run the dependency tree command: 'inspect dependencies for recurly-api-client'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xpwp-rq3x-x6v7",
  "modified" : "2020-06-16T22:03:58Z",
  "published" : "2018-10-16T17:35:04Z",
  "aliases" : [ "CVE-2017-0907" ],
  "summary" : "Critical severity vulnerability that affects recurly-api-client",
  "details" : "The Recurly Client .NET Library before 1.0.1, 1.1.10, 1.2.8, 1.3.2, 1.4.14, 1.5.3, 1.6.2, 1.7.1, 1.8.1 is vulnerable to a Server-Side Request Forgery vulnerability due to incorrect use of \"Uri.EscapeUriString\" that could result in compromise of API keys or other critical resources.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "1.2.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.4.0"
      }, {
        "fixed" : "1.4.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "fixed" : "1.5.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "fixed" : "1.6.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.7.0"
      }, {
        "fixed" : "1.7.1"
      } ]
    } ],
    "versions" : [ "1.7.0" ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "recurly-api-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.8.0"
      }, {
        "fixed" : "1.8.1"
      } ]
    } ],
    "versions" : [ "1.8.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-0907"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/recurly/recurly-client-net/commit/9eef460c0084afd5c24d66220c8b7a381cf9a1f1"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/288635"
  }, {
    "type" : "WEB",
    "url" : "https://dev.recurly.com/page/net-updates"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-xpwp-rq3x-x6v7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T22:03:58Z",
    "nvd_published_at" : null
  }
}