Skip to content

chore(deps): Jackson BOM 2.21.7 and grype ignore for braces - #345

Merged
stiebitzhofer merged 1 commit into
mainfrom
chore/deps-jackson-2.21.7-grype-ignores
Oct 5, 2026
Merged

stiebitzhofer merged 1 commit into
mainfrom
chore/deps-jackson-2.21.7-grype-ignores

Conversation

@stiebitzhofer

@stiebitzhofer stiebitzhofer commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Description

The Security Vulnerability Scan went red on 2026-10-04 (fresh grype DB, no dependency change in any PR). This restores a clean scan.

Related Issues

Type of Change

  • Security fix (addresses a vulnerability)
  • Dependency update

Changes

  1. pom.xml: jackson-bom.version 2.21.6 → 2.21.7 — fixes GHSA-p6pp-m3f8-5c89 and GHSA-7hhh-6rmp-j9qf (High, ReDoS in jackson-core number parsing) and GHSA-cxp5-3px4-pw24 / GHSA-wv8q-qhhj-9h54 (High, quadratic forward-reference and buffer handling in jackson-databind). 2.21.7 was published to Maven Central on 2026-09-21.
  2. .grype.yaml: the @angular/router advisory GHSA-ff3f-86qr-9cv3 is already accepted on main by fix(deps): fast-uri 3.1.7, ip-address 10.5.1; accept Angular 19 router SSR advisory in grype #334 (rebased; no change from this PR).
  3. .grype.yaml: braces GHSA-vfj7-8cjw-p6xm ignored with reason — no fixed release exists; reached only through jest → micromatch and the Angular CLI build / tailwind → chokidar, which glob our own repository at build/test time and are never deployed. The entry says to remove it once a patched braces is in the lockfiles.

Testing

Testing steps:

  1. grype dir:<clean copy of tracked files> --config .grype.yaml --fail-on medium → "No vulnerabilities found" (CI scans a bare checkout the same way).
  2. mvn test -Dtest='RenderTest,ForestrySourceV110SchemaTest' online → 149 + 4 passed with 2.21.7.
  3. mvn dependency:tree -Dincludes='com.fasterxml.jackson*' → every Jackson artifact at 2.21.7.

Tested environments:

  • Local development

👤 Manual Review Required

Author Self-Review

  • Code quality
  • Security: Jackson patch release only; two ignores are documented with their reachability argument and removal condition
  • Breaking changes: none
  • Documentation: pom comment and .grype.yaml reasons updated

Production Deployment Impact

Breaking Changes

  • No breaking changes

Rollback Plan

  • Low risk - Standard rollback (revert commit)

Additional Context

Review Focus

  1. Whether accepting the braces advisory as dev-only matches our CRA posture, or whether we prefer to wait with a red scan until upstream ships a fix.
  2. Rebased onto main after fix(deps): fast-uri 3.1.7, ip-address 10.5.1; accept Angular 19 router SSR advisory in grype #334; the only .grype.yaml change left is the braces entry.

🤖 Generated with Claude Code

@stiebitzhofer stiebitzhofer added the security This impacts security label Oct 5, 2026
@socket-security

socket-security Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

@eamon0989
eamon0989 temporarily deployed to s1-schemas-pr-345 October 5, 2026 02:17 Inactive
@stiebitzhofer
stiebitzhofer requested a review from asamark October 5, 2026 02:25
The security scan went red on 2026-10-04 with a fresh grype DB and no
dependency change on our side:

- jackson-core/jackson-databind 2.21.6: GHSA-p6pp-m3f8-5c89, GHSA-7hhh-6rmp-j9qf
  (ReDoS in number parsing), GHSA-cxp5-3px4-pw24, GHSA-wv8q-qhhj-9h54 (quadratic
  forward-reference / buffer handling). Fixed in 2.21.7 (Maven Central,
  2026-09-21); bump jackson-bom.version.
- braces 3.0.3: GHSA-vfj7-8cjw-p6xm (stack exhaustion on deeply nested
  patterns). No fixed release exists; reached only via jest/micromatch and the
  Angular CLI / tailwind chokidar globbing at build time, never deployed.
  Ignored with an explicit removal condition.

The @angular/router advisory (GHSA-ff3f-86qr-9cv3) was accepted on main by #334.

Verified after rebasing onto main: grype on a clean checkout reports no
findings; mvn RenderTest and ForestrySourceV110SchemaTest pass with 2.21.7;
every Jackson artifact resolves to 2.21.7.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@stiebitzhofer
stiebitzhofer force-pushed the chore/deps-jackson-2.21.7-grype-ignores branch from c39e0bb to 83d7119 Compare October 5, 2026 08:20
@stiebitzhofer stiebitzhofer changed the title chore(deps): Jackson BOM 2.21.7 and grype ignores for @angular/router and braces chore(deps): Jackson BOM 2.21.7 and grype ignore for braces Oct 5, 2026
@stiebitzhofer
stiebitzhofer temporarily deployed to s1-schemas-pr-345 October 5, 2026 08:20 Inactive
@stiebitzhofer
stiebitzhofer requested review from asamark and removed request for asamark October 5, 2026 08:39
@stiebitzhofer
stiebitzhofer merged commit 7013319 into main Oct 5, 2026
12 checks passed
@stiebitzhofer
stiebitzhofer deleted the chore/deps-jackson-2.21.7-grype-ignores branch October 5, 2026 10:57

This branch was previously deployed

1 inactive deployment
s1-schemas-pr-345 — 83d7119f Deployed Oct 5, 2026 by stiebitzhofer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security This impacts security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants