symbiote/silverstripe-multivaluefield Possible PHP Object Injection via Multi-Value Field Extension
Published 29 May 2024 · Updated 4 Dec 2024
Is your project on an affected symbiote/silverstripe-multivaluefield?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=3.0.0 <3.1.0
- Fixed in
- 3.1.0
composer require symbiote/silverstripe-multivaluefield:^3.1.0Details
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.
Support 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.
As well as this, a potential XSS (cross-site scripting) vulnerability has been identified and remediated.
Is GHSA-g5vj-wj9x-4jg9 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symbiote/silverstripe-multivaluefield, and gives you the command that fixes it.
References
- Linkgithub.com/symbiote/silverstripe-multivaluefield/commit/31fbc8c208431fc7d7e96da6fa39ca057d978953
- Linkgithub.com/symbiote/silverstripe-multivaluefield/commit/f523dfcb13b2bd9eb110ffa0c83087a49322ad3b
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symbiote/silverstripe-multivaluefield/SS-2018-017-1.yaml
- Packagegithub.com/symbiote/silverstripe-multivaluefield
- Linkwww.silverstripe.org/download/security-releases/ss-2018-017
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.