CVE-2017-9785 — Deserialization of Untrusted Data in Nancy — CVE...
CRITICAL
Deserialization of Untrusted Data in NancyFX Nancy
Published May 17, 2022Updated November 8, 2023Source: osv
Summary
Csrf.cs in NancyFX Nancy before 1.4.4 and 2.x before 2.0-dangermouse has Remote Code Execution via Deserialization of JSON data in a CSRF Cookie.
Advisory Timeline
- First published May 17, 2022 (1609 days ago).
- Last revised November 8, 2023 — 540 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
NuGet
Update Nancy to 2.0.0 or laterdotnet add package Nancy --version 2.0.0
NuGet
Update Nancy to 1.4.4 or laterdotnet add package Nancy --version 1.4.4
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: nuget (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2017-9785?
- Deserialization of Untrusted Data in NancyFX Nancy This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2017-9785?
- CVE-2017-9785 affects Nancy. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-9785 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-mx3q-j2g2-5qxq
Related CVEs
- CVE-2026-75513CRITICAL
Marten's LINQ provider has SQL injection via unescaped string literals
- CVE-2026-105794CRITICAL
MsQuic: Improper Certificate Validation in Microsoft.Native.Quic.MsQuic.OpenSSL
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies