CVE-2022-39296: Melisplatform/melis asset manager Path Traversal Vulnerability
HIGHCVE-2022-39296 is a HIGH (CVSS 7.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Melisplatform/melis asset manager libraries in the Packagist ecosystem. The issue involves melisplatform/melis-asset-manager vulnerable to path traversal. Remediation is available by upgrading affected packages to version 5.0.1.
CVE-2022-39296 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-39296
To remediate this vulnerability, upgrade all affected Melisplatform/melis asset manager 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 melisplatform/melis-asset-manager to 5.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for melisplatform/melis-asset-manager
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-39296, inspect your project dependencies for Melisplatform/melis asset manager:
inspect dependencies for melisplatform/melis-asset-manager
Analyze the terminal output to locate any version of Melisplatform/melis asset manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Melisplatform/melis asset manager, 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-39296 Affected Melisplatform/melis asset manager Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
melisplatform/melis-asset-manager
|
Packagist |
< 5.0.1
|
5.0.1
|
References
Frequently Asked Questions
What is CVE-2022-39296?
Which Melisplatform/melis asset manager versions are affected?
What version fixes CVE-2022-39296?
Is melisplatform/melis-asset-manager affected?
What is the CVSS score of CVE-2022-39296?
What CWE is associated with CVE-2022-39296?
How can I check Packagist dependencies for CVE-2022-39296?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7fj2-rrq6-rphq",
"modified" : "2022-10-14T19:45:43Z",
"published" : "2022-10-11T20:46:33Z",
"aliases" : [ "CVE-2022-39296" ],
"summary" : "melisplatform/melis-asset-manager vulnerable to Path Traversal",
"details" : "### Impact\n\nAttackers can read arbitrary files on affected versions of `melisplatform/melis-asset-manager`, leading to the disclosure of sensitive information. Conducting this attack does not require authentication.\n\nUsers should immediately upgrade to `melisplatform/melis-asset-manager` >= 5.0.1.\n\n### Patches\n\nThis issue was addressed by restricting access to files to intended directories only.\n\n### References\n\n- https://github.com/melisplatform/melis-asset-manager/commit/a0f75918c049aff78953a0bc91c585153595d1bd\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n- The maintainers, by opening an issue on this repository.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "melisplatform/melis-asset-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/melisplatform/melis-asset-manager/security/advisories/GHSA-7fj2-rrq6-rphq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39296"
}, {
"type" : "WEB",
"url" : "https://github.com/melisplatform/melis-asset-manager/commit/a0f75918c049aff78953a0bc91c585153595d1bd"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/melisplatform/melis-asset-manager"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-11T20:46:33Z",
"nvd_published_at" : "2022-10-11T18:15:00Z"
}
}