fix: patch compressed JSON denial of service [skip ci] #6
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/listing-api!6
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/body-parser-cve-2026-111181"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The listing-api dependency lock contains body-parser2.3.0, affected by CVE-2026-111181. A valid compressed JSON frame followed by corrupt trailing bytes can terminate the default JSON parser process. Update the compatible transitive dependency to body-parser2.4.0 and the required qs6.17.1 resolution; no direct dependency range or major version changes.
Add an isolated loopback regression that verifies ordinary JSON/gzip, the vendor crash condition, process survival and a subsequent health request. README records the patched-version invariant, bounded commands, live-verification limit, and correct existing rate-limit defaults.
Validation: npmci --ignore-scripts, TypeScript build, regression and git diff --check passed; npm audit --omit=dev --audit-level=high passed with0HIGH/0CRITICAL. Two remaining MODERATE findings (express-rate-limit, ip-address) remain explicit follow-up work. No production exploit probe or unrelated service restart.
Refs listing-api#5, moderate follow-up#4, and cl8y-security#21/#22. This PR excludes Renovate onboarding. Source publication is not live deployment acceptance; verify the exact existing target/revision and /health separately. Commit uses [skip ci] to avoid an autoscaler creating prohibited hosts; skipped CI is not claimed passing.
Independent coordinating agent reviewed and APPROVED exact source8baca71ee92b85e99c6cdd6c1a05fd2039033876: compatible body-parser/qs lock delta, README and isolated regression. Local install/build/audit-HIGH/regression checks pass;2moderate findings remain#4. Forgejo rejects native APPROVED from the authenticated PR author, so no platform approval is claimed. CI is intentionally unrun under the infrastructure cap, not passing; live deployment remains#5.
Final source/deployment acceptance for issue5, linked security21/22:
The first deployment attempt s7ry reused the old pin, remained healthy and is preserved as NOT patched success. Coordinator changed only git_commit_sha532cf4→12bd via the official API and verified identity/resources/ingress unchanged. Source/merge messages use [skip ci] to preserve the infrastructure cap; CI skipped/unrun is not PASS. Historical onboarding pipeline15 failure remains retained; the real finding is now fixed and live verified. No production denial-of-service probe or unrelated service restart was used. Actual subsequent Renovate extraction remains separate in security21/22.