Commit a200865
Support Bot
fix(security): bump postcss pin from 8.5.12 to 8.5.23
Bumps the repo-wide postcss override/resolution from 8.5.12 to
8.5.23 to remediate GHSA-r28c-9q8g-f849 (CVSS 7.5, High).
The advisory describes a path-traversal bug in PostCSS's
sourceMappingURL auto-loading (lib/previous-map.js): a crafted
sourceMappingURL containing ../ sequences could read arbitrary .map
files from the filesystem. The fix in 8.5.18+ restricts source-map
loading to the opts.from directory; 8.5.18 through 8.5.23 contain no
further breaking changes.
postcss is not a direct dependency of BitGoJS; it is pulled in
transitively by css-loader, sanitize-html, @vue/compiler-sfc, and the
web-demo app. Because the existing resolutions/overrides pin was
already collapsing all four ranges (^8.2.14, ^8.2.15, ^8.3.11,
^8.5.6) to a single version, switching to 8.5.23 satisfies every
range unchanged. None of BitGoJS's usages load source maps from
outside opts.from, so the new restriction has no functional impact.
This unblocks the "Publish @bitgo-beta" GitHub Actions workflow, which
was failing at the osv-scanner "Enforce Vulnerability Severity
Threshold" gate due to this advisory.
Ticket: INF-2186
Session-Id: 87e939d9-34b0-414f-9c42-0dbca6398ab4
Task-Id: da7773f3-f9b6-44b0-b5df-ce432cca3a781 parent 863ad94 commit a200865
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17313 | 17313 | | |
17314 | 17314 | | |
17315 | 17315 | | |
17316 | | - | |
17317 | | - | |
17318 | | - | |
17319 | | - | |
| 17316 | + | |
| 17317 | + | |
| 17318 | + | |
| 17319 | + | |
17320 | 17320 | | |
17321 | 17321 | | |
17322 | 17322 | | |
| |||
0 commit comments