GitHub Advisoryadvisory · Packagist
GHSA-3fh5-q6fg-w28q Prototype pollution in Snowboard framework
HIGH
Official page ↗
- Aliases
- CVE-2022-39357
- Ecosystem
- Packagist
- Packages
- wintercms/winter
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2022-10-27
Affected packages
• Packagist wintercms/winter: >= 1.1.8, < 1.1.10 → fixed in 1.1.10
• Packagist wintercms/winter: >= 1.2.0, < 1.2.1 → fixed in 1.2.1
Description
Impact
The Snowboard framework in affected versions is vulnerable to prototype pollution in the main Snowboard class as well as its plugin loader.
Patches
This issue has been patched in https://github.com/wintercms/winter/commit/2a13faf99972e84c9661258f16c4750fa99d29a1 (for 1.2) and https://github.com/wintercms/winter/commit/bce4b59584abf961e9400af3d7a4fd7638e26c7f (for 1.1) and is available with Winter v1.1.10 and v1.2.1.
Workarounds
If you have not yet upgraded, or are using the 1.1 branch of Winter (1.1.8 or above), you can avoid this issue by following some common security practices for JavaScript, including implementing a content security policy and auditing your scripts.
The 1.0 branch of Winter is not affected, as it does not contain the Snowboard framework.
For more information
If you have any questions or comments about this advisory:
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2022-39357 Winter is a free, open-source content management system based on the Laravel PHP framework. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/wintercms/winter/security/advisories/GHSA-3fh5-q6fg-w28q web
- https://nvd.nist.gov/vuln/detail/CVE-2022-39357 advisory
- https://github.com/wintercms/winter/commit/2a13faf99972e84c9661258f16c4750fa99d29a1 web
- https://github.com/wintercms/winter/commit/bce4b59584abf961e9400af3d7a4fd7638e26c7f web
- https://github.com/wintercms/winter package
- https://github.com/wintercms/winter/releases/tag/v1.1.10 web
- https://github.com/wintercms/winter/releases/tag/v1.2.1 web