Skip to content

chore(deps): [VUL-24493 et al] audit-ignore guzzle and psr7 advisories - #559

Merged
mehta-asim merged 2 commits into
mainfrom
vuln-guzzle-psr7-ignore
Jul 31, 2026
Merged

chore(deps): [VUL-24493 et al] audit-ignore guzzle and psr7 advisories#559
mehta-asim merged 2 commits into
mainfrom
vuln-guzzle-psr7-ignore

Conversation

@mehta-asim

@mehta-asim mehta-asim commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Added two config.audit.ignore entries to composer.json for CVE-2026-59883 (guzzlehttp/guzzle, advisory PKSA-bcdd-5xc7-gwfb) and CVE-2026-59882 (guzzlehttp/psr7, advisory PKSA-vznr-tgp9-fd7d)
  • Both packages are dev-only, reaching the lock only through require-dev: behat/mink-goutte-driver ^1.2 -> fabpot/goutte v3.3.1 -> guzzlehttp/guzzle 6.5.8 -> guzzlehttp/psr7 1.9.1
  • The upstream advisories have no patched 6.x (guzzle) or 1.x (psr7) releases; the only fix versions are 7.12.3 and 2.12.3 respectively, which are major version jumps that fabpot/goutte ^3 cannot satisfy

Context

VUL-24493 | VUL-25208

Both tickets are GHAS Dependabot scans flagging dev-only transitive deps with no available patch in the installed major version line. The ratified remediation route (2026-07-28) is audit-ignore since no production exposure exists.

No patched line verification (GitHub Advisory DB):

  • GHSA-g446-98w2-8p5w (guzzlehttp/guzzle): affected range < 7.12.3; no 6.x entry. Guzzle 6.x has no patched release.
  • GHSA-c2w2-prh8-qm98 (guzzlehttp/psr7): affected range < 2.12.3; no 1.x entry. PSR-7 1.x has no patched release.

Prior work on these tickets:

Release

No release needed. These changes are dev-only: composer.json has no require section (production deps are empty). All affected packages enter the lock exclusively via require-dev. Shipping a new plugin version would include zero behavioral change; the ignore entries are a build-tooling config only.

Evidence from composer.json:

"require-dev": {
  "behat/behat": "^3.1",
  "behat/mink-extension": "^2.2",
  "behat/mink-goutte-driver": "^1.2",
  ...
}

There is no require key. The plugin's runtime code has no guzzle or psr7 dependency.

Test plan

  • composer install completes cleanly
  • composer audit --format=json confirms PKSA-bcdd-5xc7-gwfb (CVE-2026-59883) and PKSA-vznr-tgp9-fd7d (CVE-2026-59882) appear in the ignored-advisories output
  • Dev-only chain verified via composer.lock: both packages are in the packages-dev section; require is empty
  • composer validate exits clean for simple usage (pre-existing strict warning: missing description field, not introduced by this PR)
  • Commit is GPG-signed (YubiKey, RSA key 6EA570AA8670FE4746CFA07B2D611B67C6E7BC99)

Pre-existing active advisories not addressed by this PR (all dev-only, same chain, separate scope):

  • guzzlehttp/guzzle: PKSA-fy2t-3c5f-827y, PKSA-qxvb-2bpp-dnk6, PKSA-bbs6-q5q9-f3t4, PKSA-pwsk-hy21-4gby, PKSA-93qv-9n9h-6k6p (CVE-2026-55767), PKSA-k22t-f949-t9g6 (CVE-2026-55568)
  • guzzlehttp/psr7: PKSA-7qs6-zvnz-h66r (CVE-2026-55766), PKSA-gm5x-j3mz-71n9 (CVE-2026-49214), PKSA-jj5t-2zs1-dcfm (CVE-2026-48998)
  • wp-coding-standards/wpcs: PKSA-mh9b-91zm-m1gy (CVE-2026-45293) (also dev-only via pantheon-systems/pantheon-wp-coding-standards)

These are all pre-existing on main and are either tracked in SITE-5995 or require a separate ticket.

References

Resolves conflict in composer.json audit-ignore block: PKSA-bcdd-5xc7-gwfb
appeared on both sides (VUL-24493 on branch, SITE-5995 on main). Combined
justification keeps both references. All other SITE-5995 entries and the
branch-only PKSA-vznr-tgp9-fd7d (psr7, VUL-25208) are preserved.
@mehta-asim
mehta-asim requested a review from a team as a code owner July 29, 2026 13:13
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@tundeafolabi tundeafolabi 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.

lgtm

@mehta-asim
mehta-asim merged commit 1adac18 into main Jul 31, 2026
23 checks passed
@mehta-asim
mehta-asim deleted the vuln-guzzle-psr7-ignore branch July 31, 2026 16:55
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.

3 participants