Commit d66b12e
committed
Major security update: Fix 27 of 34 vulnerabilities (all CRITICAL resolved)
Vulnerability Reduction:
- Before: 34 total (30 HIGH, 4 CRITICAL)
- After: 7 total (7 HIGH, 0 CRITICAL)
- Fixed: All 4 CRITICAL + 23 HIGH vulnerabilities
Direct Dependency Updates:
- axios: 0.28.1 -> 1.13.5 (major version, tested backward compat)
- express: 4.16.0 -> 4.22.1 (brings updated body-parser, path-to-regexp)
- moment: 2.24.0 -> 2.30.1 (fixes path traversal CVE-2022-24785)
- underscore: 1.9.2 -> 1.13.7 (fixes prototype pollution CVE-2021-23358)
- qs: 6.5.2 -> 6.14.1 (fixes DoS vulnerabilities)
- nconf: 0.9.1 -> 0.12.1 (fixes prototype pollution CVE-2022-21803)
- stream-transform: 2.0.4 -> 2.1.3 (fixes mixme vulnerability)
- Removed: validator (unused, only transitive via swagger-tools)
Yarn Resolutions for Transitive Dependencies:
- bson: ^4.7.2 (fixes CVE-2020-7610 CRITICAL)
- form-data: ^4.0.4 (fixes CVE-2025-7783 CRITICAL)
- mixme: ^0.5.10 (fixes CVE-2021-28860 CRITICAL)
- cross-spawn: ^7.0.6 (fixes CVE-2024-21538)
- glob: ^10.5.0 (fixes CVE-2025-64756)
- path-to-regexp: ^8.0.0 (fixes multiple ReDoS CVEs)
- tar: ^7.5.7 (fixes arbitrary file overwrite CVEs)
- swagger-tools/body-parser: ^1.20.3
- swagger-tools/multer: ^2.0.2 (fixes 4 DoS CVEs)
- swagger-tools/qs: ^6.14.1
- z-schema/validator: ^13.15.22
- fast-xml-parser: ^5.3.4 (fixes RangeError DoS)
Testing:
- All 643 unit tests passing
- Docker build successful
- Axios v1 backward compatible (uses same API patterns)
Remaining Issues (7 HIGH, requires future work):
- Deep transitive dependencies not fully resolved by yarn resolutions
- Blocked by deprecated packages: swagger-tools, request
- Recommend future PR to replace swagger-tools with modern alternatives1 parent d424770 commit d66b12e
3 files changed
+380
-776
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
69 | 82 | | |
70 | 83 | | |
0 commit comments