Repository navigation
Service lockfile: body-parser 2.4.0, qs 6.17.1 - #202
Merged
Merged
Conversation
npm audit --omit=dev reported GHSA-27r3-jxmh-p828 (body-parser, high: DoS through trailing bytes after a compressed body) and GHSA-6pq8-jhm2-2vcw (qs, moderate, in qs.stringify). The weekly audit workflow failed on them from 2026-10-26; being continue-on-error, its run read as success. npm update body-parser qs --package-lock-only --omit=dev: body-parser 2.3.0 -> 2.4.0 with its nested content-type 2.0.0 -> 2.1.0, and qs 6.16.0 -> 6.17.1, nothing else; express 5.2.1 and c2pa-node 0.9.5 unchanged. Express 5.3.0 (#183) would not have done this: it still accepts body-parser ^2.3.0. Reasoned, not tested: the body-parser flaw is reachable only with a valid token, since the Bearer check (server.js:901) runs before express.json (server.js:960); the service never calls qs, and Express only parses. Left: minimatch < 11.0.1 (moderate), reached only via unzipper -> fstream -> rimraf -> glob on c2pa-node's install path; glob 7 requires minimatch ^3.1.1, so only an override would move it. Rebuilt and verified: the container holds body-parser 2.4.0 and qs 6.17.1; integration 217 passed / 23 skipped, no failures; bin/e2e.php trusted, Article 50 mark intact; composer check 528 passed / 7 skipped.
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm audit --omit=devinservice/reported GHSA-27r3-jxmh-p828 (body-parser, high: denial of service through trailing bytes after a compressed body) and GHSA-6pq8-jhm2-2vcw (qs, moderate, inqs.stringify). The weeklyauditworkflow has failed on this step since 2026-10-26. Because the workflow iscontinue-on-error, its runs read as success.Change
npm update body-parser qs --package-lock-only --omit=dev:Nothing else moved. express stays at 5.2.1 and c2pa-node at 0.9.5. Express 5.3.0 (#183) would not have fixed this, because it still accepts body-parser
^2.3.0.Plus one CHANGELOG entry under
[Unreleased]. This isservice/, so it reaches users throughgit pulland a rebuild, not through a tag.Reachability (reasoned, not tested)
server.js:901) runs beforeexpress.json(server.js:960).Not fixed
minimatch < 11.0.1 (moderate) is still reported. It is reached only via unzipper → fstream → rimraf → glob on c2pa-node's install path. glob 7 requires minimatch
^3.1.1, so only anoverridesentry would move it. The audit step stays red on that one.Verified locally
php bin/e2e.php/bin/verify.sh: trusted, Article 50 mark intactcomposer check: 528 passed / 7 skipped, deptrac 0 violations