Skip to content

Bump postcss and brace-expansion for two new upstream advisories#327

Open
samrusani wants to merge 3 commits into
mainfrom
fix/postcss-path-traversal
Open

Bump postcss and brace-expansion for two new upstream advisories#327
samrusani wants to merge 3 commits into
mainfrom
fix/postcss-path-traversal

Conversation

@samrusani

@samrusani samrusani commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Two advisories published upstream since the last dependency bump, both blocking every PR's web job rather than anything in these branches.

  • postcss 8.5.12 to 8.5.18. GHSA-r28c-9q8g-f849, path traversal via sourceMappingURL, affects <=8.5.17. We moved to 8.5.12 three days ago for a different postcss advisory.
  • brace-expansion to a single 5.0.8 pin. GHSA-mh99-v99m-4gvg, denial of service via unbounded expansion, affects <=5.0.7. The two existing ranged overrides resolved to 1.1.16 and 5.0.7, both affected, and neither the 1.x nor 2.x line has a patched release, so a single pin is the only available remediation. Major jump for transitive consumers, all development tooling; the package does not appear in the production audit set.

Local validation: production audit 0 findings, full audit 0 findings, 236 web tests pass, lint clean, production build compiles. Versions untouched at 0.14.0.

GHSA-r28c-9q8g-f849 covers postcss through 8.5.17 and lands after the 8.5.12
bump three days ago, which addressed a different advisory in the same
package. Moves through the existing pnpm override. Local validation:
production advisory audit reports 0 matching advisories, 236 web tests pass,
typecheck clean, production build compiles.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

postcss 8.5.12 became affected by a sourceMappingURL path traversal covering
everything up to 8.5.17 (GHSA-r28c-9q8g-f849), three days after it was raised
to 8.5.12 for a different postcss issue. Move to 8.5.18.

brace-expansion picked up an unbounded-expansion denial of service covering
everything up to 5.0.7 (GHSA-mh99-v99m-4gvg). The two existing ranged
overrides pinned 1.1.16 and 5.0.7, both now affected, and neither the 1.x nor
the 2.x line has a patched release, so the ranges are replaced by a single
pin to 5.0.8. That is a major jump for the transitive consumers, all of which
are development tooling; the package is absent from the production audit set.

Local validation: production audit 0 findings, full audit 0 findings,
236 web tests pass, lint clean, production build compiles.
@samrusani samrusani changed the title Bump postcss to 8.5.18 for the sourceMappingURL path traversal Bump postcss and brace-expansion for two new upstream advisories Jul 27, 2026
postcss 8.5.12 became affected by GHSA-r28c-9q8g-f849, a path traversal via
sourceMappingURL covering everything up to 8.5.17, three days after it was
raised to 8.5.12 for a different postcss advisory. The production audit is
clean again.

The brace-expansion advisory GHSA-mh99-v99m-4gvg is deliberately not
addressed here. It covers everything up to 5.0.7, the remaining affected
versions are 1.1.16 and 2.1.2, and neither major line has a patched release.
Forcing the whole tree to 5.0.8 requires minimatch 10, which is ESM-only
with no default export, which eslint cannot load. There is no version
combination that satisfies the toolchain today, so the remediation is an
owner decision rather than a dependency change.

Local validation: production audit 0 findings, coverage gates, lint and
build all pass. The full audit still reports the one dev-only advisory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant