GHSA-g5vj-wj9x-4jg9: Symbiote/silverstripe multivaluefield Symbiote/silverstripe-multivaluefield Possible PHP Object Injection Vulnerability
MODERATEGHSA-g5vj-wj9x-4jg9 is a MODERATE (CVSS 6.1) symbiote/silverstripe-multivaluefield possible php object injection vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Symbiote/silverstripe multivaluefield libraries in the Packagist ecosystem. The issue involves symbiote/silverstripe-multivaluefield possible php object injection via multi-value field extension. Remediation is available by upgrading affected packages to version 3.1.0.
GHSA-g5vj-wj9x-4jg9 at a Glance
Security Impact
CVSS: 6.1
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:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-g5vj-wj9x-4jg9
To remediate this vulnerability, upgrade all affected Symbiote/silverstripe multivaluefield 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 symbiote/silverstripe-multivaluefield to 3.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symbiote/silverstripe-multivaluefield
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g5vj-wj9x-4jg9, inspect your project dependencies for Symbiote/silverstripe multivaluefield:
inspect dependencies for symbiote/silverstripe-multivaluefield
Analyze the terminal output to locate any version of Symbiote/silverstripe multivaluefield in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Symbiote/silverstripe multivaluefield, 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
GHSA-g5vj-wj9x-4jg9 Affected Symbiote/silverstripe multivaluefield Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symbiote/silverstripe-multivaluefield
|
Packagist |
≥ 3.0.0
< 3.1.0
|
3.1.0
|
References
Frequently Asked Questions
What is GHSA-g5vj-wj9x-4jg9?
Which Symbiote/silverstripe multivaluefield versions are affected?
What version fixes GHSA-g5vj-wj9x-4jg9?
Is symbiote/silverstripe-multivaluefield affected?
What is the CVSS score of GHSA-g5vj-wj9x-4jg9?
What CWE is associated with GHSA-g5vj-wj9x-4jg9?
How can I check Packagist dependencies for GHSA-g5vj-wj9x-4jg9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g5vj-wj9x-4jg9",
"modified" : "2024-05-29T18:53:48Z",
"published" : "2024-05-29T18:53:48Z",
"aliases" : [ ],
"summary" : "symbiote/silverstripe-multivaluefield Possible PHP Object Injection via Multi-Value Field Extension",
"details" : "A potential deserialisation vulnerability has been identified in the symbiote/silverstripe-multivaluefield which could allow an attacker to exploit implementations of this module via object injection.\n\nSupport for handling PHP objects as values in this module has been deprecated, and the serialisation technique has been switched to using JSON for handling arrays.\n\nAs well as this, a potential XSS (cross-site scripting) vulnerability has been identified and remediated.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symbiote/silverstripe-multivaluefield"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symbiote/silverstripe-multivaluefield/commit/31fbc8c208431fc7d7e96da6fa39ca057d978953"
}, {
"type" : "WEB",
"url" : "https://github.com/symbiote/silverstripe-multivaluefield/commit/f523dfcb13b2bd9eb110ffa0c83087a49322ad3b"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symbiote/silverstripe-multivaluefield/SS-2018-017-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symbiote/silverstripe-multivaluefield"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/ss-2018-017"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-29T18:53:48Z",
"nvd_published_at" : null
}
}