CVE-2022-39298: Melisplatform/melis front Melisplatform/melis-front Vulnerable To Deserialization Of Vulnerability
HIGHCVE-2022-39298 is a HIGH (CVSS 7.7) melisplatform/melis-front vulnerable to deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Melisplatform/melis front libraries in the Packagist ecosystem. The issue involves melisplatform/melis-front vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 5.0.1.
CVE-2022-39298 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L).
How to Fix CVE-2022-39298
To remediate this vulnerability, upgrade all affected Melisplatform/melis front 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-front 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-front
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-39298, inspect your project dependencies for Melisplatform/melis front:
inspect dependencies for melisplatform/melis-front
Analyze the terminal output to locate any version of Melisplatform/melis front 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Melisplatform/melis front, 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-39298 Affected Melisplatform/melis front Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
melisplatform/melis-front
|
Packagist |
< 5.0.1
|
5.0.1
|
References
Frequently Asked Questions
What is CVE-2022-39298?
Which Melisplatform/melis front versions are affected?
What version fixes CVE-2022-39298?
Is melisplatform/melis-front affected?
What is the CVSS score of CVE-2022-39298?
What CWE is associated with CVE-2022-39298?
How can I check Packagist dependencies for CVE-2022-39298?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h479-2mv4-5c26",
"modified" : "2022-10-13T20:10:05Z",
"published" : "2022-10-11T20:45:42Z",
"aliases" : [ "CVE-2022-39298" ],
"summary" : "melisplatform/melis-front vulnerable to deserialization of untrusted data",
"details" : "### Impact\n\nAttackers can deserialize arbitrary data on affected versions of `melisplatform/melis-front`, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication.\n\nUsers should immediately upgrade to `melisplatform/melis-front` >= 5.0.1.\n\n### Patches\n\nThis issue was addressed by restricting allowed classes when deserializing user-controlled data. \n\n### References\n\n- https://github.com/melisplatform/melis-front/commit/89ae612d5f1f7aa2fb621ee8de27dffe1feb851e\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:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "melisplatform/melis-front"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/melisplatform/melis-front/security/advisories/GHSA-h479-2mv4-5c26"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39298"
}, {
"type" : "WEB",
"url" : "https://github.com/melisplatform/melis-front/commit/89ae612d5f1f7aa2fb621ee8de27dffe1feb851e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/melisplatform/melis-front"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-11T20:45:42Z",
"nvd_published_at" : "2022-10-12T23:15:00Z"
}
}