CVE-2023-6654: Phpems/phpems PHPEMS Deserialization Of Untrusted Data Vulnerability
MODERATECVE-2023-6654 is a MODERATE (CVSS 6.3) phpems deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Phpems/phpems libraries in the Packagist ecosystem. The issue involves phpems deserialization of untrusted data vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2023-6654 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-6654
To remediate this vulnerability, upgrade all affected Phpems/phpems 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 phpems/phpems to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpems/phpems
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-6654, inspect your project dependencies for Phpems/phpems:
inspect dependencies for phpems/phpems
Analyze the terminal output to locate any version of Phpems/phpems in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 Phpems/phpems, 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-2023-6654 Affected Phpems/phpems Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpems/phpems
|
Packagist |
≥ 6.0.0
≤ 6.1.3
|
|
References
Frequently Asked Questions
What is CVE-2023-6654?
Which Phpems/phpems versions are affected?
What version fixes CVE-2023-6654?
Is phpems/phpems affected?
What is the CVSS score of CVE-2023-6654?
What CWE is associated with CVE-2023-6654?
How can I check Packagist dependencies for CVE-2023-6654?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5rv2-vvmf-f7w8",
"modified" : "2024-01-11T19:39:47Z",
"published" : "2023-12-10T15:30:31Z",
"aliases" : [ "CVE-2023-6654" ],
"summary" : "PHPEMS Deserialization of Untrusted Data vulnerability",
"details" : "A vulnerability classified as critical was found in PHPEMS 6.x/7.0. Affected by this vulnerability is an unknown functionality in the library lib/session.cls.php of the component Session Data Handler. The manipulation leads to deserialization. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-247357 was assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpems/phpems"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"last_affected" : "6.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6654"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/oiuv/phpems"
}, {
"type" : "WEB",
"url" : "https://github.com/oiuv/phpems/blob/a4a049362a0250c4b1762464b34d90ed881fef19/lib/session.cls.php"
}, {
"type" : "WEB",
"url" : "https://note.zhaoj.in/share/jw4Hp9cq7T69"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.247357"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.247357"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-11T19:39:47Z",
"nvd_published_at" : "2023-12-10T15:15:07Z"
}
}