Skip to content

chore(security): refresh roave/security-advisories guard to 2026-08-01 - #103

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/refresh-security-advisories-2026-08-03
Aug 3, 2026
Merged

chore(security): refresh roave/security-advisories guard to 2026-08-01#103
rubenvdlinde merged 1 commit into
developmentfrom
fix/refresh-security-advisories-2026-08-03

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

Refreshes the roave/security-advisories guard in composer.lock.

Why

roave/security-advisories is a metapackage whose only job is to conflict with
known-vulnerable package versions, so Composer refuses to install them. composer.json
declares it as dev-latest — but composer.lock pins a specific commit, and
composer install (which is exactly what the Security (composer) CI job runs) honours
that pin. The pinned commit here was months old, which means the conflict rules — and
therefore all protection against CVEs published since that date — were frozen.

This is not theoretical. Refreshing the same stale pin elsewhere in the fleet today
surfaced live advisories that the old guard silently permitted:

  • softwarecatalog — 9 advisories on guzzlehttp/guzzle 7.10.0 / guzzlehttp/psr7,
    including CVE-2026-55568 (HTTPS proxy silently downgraded to cleartext).
  • nextcloud-app-template and petstore — 6 Twig sandbox-escape advisories on
    twig/twig v3.26.0. The stale guard's rule stopped at twig/twig <3.19.

Verification

  • composer audit --locked run before and after this change.
  • Positive control: the same command with the same flags was run against known-vulnerable
    historical lockfiles and correctly reported their advisories (softwarecatalog pre-fix lock
    → 9, nextcloud-app-template pre-fix lock → 6, petstore main → 6). A clean result from a
    command that cannot fail would be worthless; this one demonstrably can fail.
  • No ignore/allow-list entries were added, and the guard was not removed.

Diff scope

composer.lock only.

…-> 2026-08-01)

The lockfile pinned roave/security-advisories to a commit from 2026-03-20,
so the metapackage's conflict rules — and therefore the protection
against installing known-vulnerable dependency versions — were frozen
at that date. Refreshed to the 2026-08-01 tip.

composer audit --locked: clean before and after.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openbuild @ aeceeb4

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 662/662
PHPUnit
Newman ⏭️
Playwright ⏭️

Coverage: 89.4% (17/19 statements)


Quality workflow — 2026-08-03 09:29 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit fe78e11 into development Aug 3, 2026
31 checks passed
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