CVE-2022-2922: DotNetNuke.Core Path Traversal Vulnerability
MODERATECVE-2022-2922 is a MODERATE (CVSS 4.9) path traversal vulnerability (CWE-23: Relative Path Traversal) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dnn vulnerable to relative path traversal. Remediation is available by upgrading affected packages to version 9.11.0.
CVE-2022-2922 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-2922
To remediate this vulnerability, upgrade all affected DotNetNuke.Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade DotNetNuke.Core to 9.11.0
Upgrade DotNetNuke.Web to 9.11.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for DotNetNuke.Core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-2922, inspect your project dependencies for DotNetNuke.Core:
inspect dependencies for DotNetNuke.Core
Analyze the terminal output to locate any version of DotNetNuke.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.11.0), 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-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. In DotNetNuke.Core, 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
CVE-2022-2922 Affected DotNetNuke.Core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
DotNetNuke.Core
|
NuGet |
< 9.11.0
|
9.11.0
|
|
DotNetNuke.Web
|
NuGet |
< 9.11.0
|
9.11.0
|
References
Frequently Asked Questions
What is CVE-2022-2922?
Which DotNetNuke.Core versions are affected?
What version fixes CVE-2022-2922?
Is DotNetNuke.Core affected?
Is DotNetNuke.Web affected?
What is the CVSS score of CVE-2022-2922?
What CWE is associated with CVE-2022-2922?
How can I check NuGet dependencies for CVE-2022-2922?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9w72-2f23-57gm",
"modified" : "2022-10-05T13:59:42Z",
"published" : "2022-10-01T00:00:25Z",
"aliases" : [ "CVE-2022-2922" ],
"summary" : "DNN vulnerable to Relative Path Traversal",
"details" : "DNN (GitHub repository dnnsoftware/dnn.platform) prior to 9.11.0 is vulnerable to Relative Path Traversal. Version 9.11.0 contains a patch for this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotNetNuke.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.11.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotNetNuke.Web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.11.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2922"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/commit/3697c5344cef8d49214230f0cc2efcd9e93a00a8"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/dnn.platform/commit/9b17351592fbde376506ba6705dbcc7a74a2a195"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dnnsoftware/dnn.platform"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/74918f40-dc11-4218-abef-064eb71a0703"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-23" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-03T22:21:19Z",
"nvd_published_at" : "2022-09-30T07:15:00Z"
}
}