@stoplight/ui-kit 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/README.md +22 -0
- package/dist/package.json +5 -3
- package/package.json +1 -1
- package/SECURITY.md +0 -71
package/README.md
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
[](https://codeclimate.com/repos/5bdb489c9a98842d0a00d211/maintainability)
|
|
4
4
|
[](https://codeclimate.com/repos/5bdb489c9a98842d0a00d211/test_coverage)
|
|
5
5
|
|
|
6
|
-
>
|
|
6
|
+
> **Stable Release (v3.0.2)**: This is the stable version with critical security vulnerability fixes. All critical
|
|
7
|
+
> vulnerabilities have been patched. It is recommended to upgrade to this version for production use.
|
|
8
|
+
> Resolved pritter and lint issue and tested yarn test and yarn test.prod
|
|
7
9
|
|
|
8
10
|
Stoplight UI-Kit is a shared component library that contains basic components built using
|
|
9
11
|
[Blueprint](https://blueprintjs.com/docs/), [Tailwind](https://next.tailwindcss.com/), and
|
|
@@ -161,8 +163,10 @@ This stable release addresses **all critical vulnerabilities** identified in the
|
|
|
161
163
|
- ✅ Template injection (ejs)
|
|
162
164
|
- ✅ AST type confusion (handlebars, @babel/traverse)
|
|
163
165
|
|
|
164
|
-
All transitive dependencies have been patched to their latest secure versions while maintaining backward compatibility
|
|
166
|
+
All transitive dependencies have been patched to their latest secure versions while maintaining backward compatibility
|
|
167
|
+
with the package API.
|
|
165
168
|
|
|
166
|
-
**Recommendation**: Upgrade to this version for production deployments to ensure all critical security patches are
|
|
169
|
+
**Recommendation**: Upgrade to this version for production deployments to ensure all critical security patches are
|
|
170
|
+
applied.
|
|
167
171
|
|
|
168
172
|
For more details, see the [Security Release Notes](https://github.com/stoplightio/ui-kit/releases/tag/v3.0.0).
|
package/dist/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
[](https://codeclimate.com/repos/5bdb489c9a98842d0a00d211/maintainability)
|
|
4
4
|
[](https://codeclimate.com/repos/5bdb489c9a98842d0a00d211/test_coverage)
|
|
5
5
|
|
|
6
|
+
> ⚠️ **Stable Release (v3.0.0)**: This is the stable version with critical security vulnerability fixes. All critical vulnerabilities have been patched. It is recommended to upgrade to this version for production use.
|
|
7
|
+
|
|
6
8
|
Stoplight UI-Kit is a shared component library that contains basic components built using
|
|
7
9
|
[Blueprint](https://blueprintjs.com/docs/), [Tailwind](https://next.tailwindcss.com/), and
|
|
8
10
|
[SCSS](https://sass-lang.com/guide) All custom components should support overridable theming from a theme object, and
|
|
@@ -144,3 +146,23 @@ $sl-config: (
|
|
|
144
146
|
|
|
145
147
|
@import '~@stoplight/ui-kit/src/styles/ui-kit';
|
|
146
148
|
```
|
|
149
|
+
|
|
150
|
+
## 🔒 Security
|
|
151
|
+
|
|
152
|
+
**Version 3.0.0 includes critical security vulnerability fixes:**
|
|
153
|
+
|
|
154
|
+
This stable release addresses **all critical vulnerabilities** identified in the dependency tree, including:
|
|
155
|
+
|
|
156
|
+
- ✅ Command injection vulnerabilities (shell-quote, minimist)
|
|
157
|
+
- ✅ Prototype pollution attacks (qs, js-yaml, merge-deep, handlebars, etc.)
|
|
158
|
+
- ✅ Regular expression denial of service (semver, cross-spawn)
|
|
159
|
+
- ✅ Cryptographic vulnerabilities (pbkdf2, sha.js, cipher-base, elliptic)
|
|
160
|
+
- ✅ Authorization bypass (url-parse)
|
|
161
|
+
- ✅ Template injection (ejs)
|
|
162
|
+
- ✅ AST type confusion (handlebars, @babel/traverse)
|
|
163
|
+
|
|
164
|
+
All transitive dependencies have been patched to their latest secure versions while maintaining backward compatibility with the package API.
|
|
165
|
+
|
|
166
|
+
**Recommendation**: Upgrade to this version for production deployments to ensure all critical security patches are applied.
|
|
167
|
+
|
|
168
|
+
For more details, see the [Security Release Notes](https://github.com/stoplightio/ui-kit/releases/tag/v3.0.0).
|
package/dist/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoplight/ui-kit",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Foundational React components for the Stoplight ecosystem.",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Foundational React components for the Stoplight ecosystem. Stable version with all critical security vulnerabilities patched.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"ui",
|
|
8
|
-
"ui-components"
|
|
8
|
+
"ui-components",
|
|
9
|
+
"secure",
|
|
10
|
+
"stable"
|
|
9
11
|
],
|
|
10
12
|
"main": "index.js",
|
|
11
13
|
"sideEffects": false,
|
package/package.json
CHANGED
package/SECURITY.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Version 3.0.0 - Critical Security Update
|
|
4
|
-
|
|
5
|
-
This release includes comprehensive security patches for all identified critical vulnerabilities.
|
|
6
|
-
|
|
7
|
-
### Critical Vulnerabilities Fixed (v3.0.0)
|
|
8
|
-
|
|
9
|
-
| Vulnerability | Package | Patched Version | Issue Type |
|
|
10
|
-
|---|---|---|---|
|
|
11
|
-
| Command Injection | shell-quote | 1.7.3 | Command escape bypass |
|
|
12
|
-
| Unsafe Random | form-data | 2.5.4 | CSRF boundary generation |
|
|
13
|
-
| ReDoS | cross-spawn | 6.0.6 | Regular expression DoS |
|
|
14
|
-
| Prototype Pollution | qs | 6.5.3 | Object property injection |
|
|
15
|
-
| ReDoS | semver | 5.7.2 | Version parsing DoS |
|
|
16
|
-
| Prototype Pollution | js-yaml | 3.14.2 | YAML parsing injection |
|
|
17
|
-
| Argument Injection | minimist | 1.2.8 | Command-line flag injection |
|
|
18
|
-
| Prototype Pollution | tough-cookie | 4.1.3 | Cookie handling injection |
|
|
19
|
-
| Prototype Pollution | property-expr | 2.0.6 | Property access injection |
|
|
20
|
-
| Prototype Pollution | merge-deep | 3.0.3 | Object merge injection |
|
|
21
|
-
| RCE / Prototype Pollution | handlebars | 4.7.9 | Template compilation RCE |
|
|
22
|
-
| Authorization Bypass | url-parse | 1.5.10 | URL parsing auth bypass |
|
|
23
|
-
| Cryptographic Weakness | pbkdf2 | 3.1.3 | Key derivation issues |
|
|
24
|
-
| Hash Corruption | sha.js | 2.4.12 | SHA hash rewind attacks |
|
|
25
|
-
| Hash Corruption | cipher-base | 1.0.5 | Cipher state rewind |
|
|
26
|
-
| Key Extraction | elliptic | 6.6.1 | ECDSA private key leak |
|
|
27
|
-
| Info Disclosure | eventsource | 1.1.1 | Sensitive header exposure |
|
|
28
|
-
| Template Injection | ejs | 3.1.7 | Template injection RCE |
|
|
29
|
-
| Prototype Pollution | json-schema | 0.4.0 | Schema validation bypass |
|
|
30
|
-
| Prototype Pollution | loader-utils | 1.4.1 | Webpack loader injection |
|
|
31
|
-
| AST Type Confusion | @babel/traverse | 7.23.2 | AST traversal RCE |
|
|
32
|
-
|
|
33
|
-
### Vulnerability Statistics
|
|
34
|
-
|
|
35
|
-
- **Total Critical Vulnerabilities Patched**: 20
|
|
36
|
-
- **Previous Count**: 47 critical
|
|
37
|
-
- **Current Count**: 0 critical ✅
|
|
38
|
-
|
|
39
|
-
### Recommendations
|
|
40
|
-
|
|
41
|
-
1. **Immediate Upgrade Required**: All users should upgrade to v3.0.0 immediately
|
|
42
|
-
2. **Production Deployments**: This version is recommended for all production environments
|
|
43
|
-
3. **CI/CD Integration**: Update dependency specifications in lock files to ensure v3.0.0 is installed
|
|
44
|
-
|
|
45
|
-
### Installation
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
npm install @stoplight/ui-kit@3.0.0
|
|
49
|
-
# or
|
|
50
|
-
yarn add @stoplight/ui-kit@3.0.0
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Backwards Compatibility
|
|
54
|
-
|
|
55
|
-
This release maintains full backwards compatibility with the v0.x API. No code changes are required when upgrading.
|
|
56
|
-
|
|
57
|
-
### Testing
|
|
58
|
-
|
|
59
|
-
All patches have been validated with:
|
|
60
|
-
- ✅ Full test suite passing (16/16 tests)
|
|
61
|
-
- ✅ TypeScript type checking passing
|
|
62
|
-
- ✅ ESLint and Prettier validation passing
|
|
63
|
-
- ✅ Production build verification
|
|
64
|
-
|
|
65
|
-
### Security Reporting
|
|
66
|
-
|
|
67
|
-
For security vulnerabilities discovered after this release, please report privately to [support@stoplight.io](mailto:support@stoplight.io) rather than using public issue trackers.
|
|
68
|
-
|
|
69
|
-
### Changelog
|
|
70
|
-
|
|
71
|
-
See the [Release Notes](https://github.com/stoplightio/ui-kit/releases/tag/v3.0.0) for complete changelog details.
|