GHSA-3fh5-q6fg-w28q

Suggest an improvement
Source
https://github.com/advisories/GHSA-3fh5-q6fg-w28q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-3fh5-q6fg-w28q/GHSA-3fh5-q6fg-w28q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3fh5-q6fg-w28q
Aliases
Published
2022-10-27T18:36:42Z
Modified
2023-11-08T04:10:19.857893Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Prototype pollution in Snowboard framework
Details

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:

Database specific
{
    "nvd_published_at": "2022-10-26T15:15:00Z",
    "github_reviewed_at": "2022-10-27T18:36:42Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1321"
    ]
}
References

Affected packages

Packagist / wintercms/winter

Package

Name
wintercms/winter
Purl
pkg:composer/wintercms/winter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.1.8
Fixed
1.1.10

Affected versions

v1.*

v1.1.8
v1.1.9

Packagist / wintercms/winter

Package

Name
wintercms/winter
Purl
pkg:composer/wintercms/winter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.0
Fixed
1.2.1

Affected versions

v1.*

v1.2.0