chore: upgrade libxml2 to 2.13.9-r1 to address CVE-2026-6732#1284
chore: upgrade libxml2 to 2.13.9-r1 to address CVE-2026-6732#1284brendan-kellam wants to merge 1 commit into
Conversation
Ensures the final runtime image ships a patched libxml2 (>= 2.13.9-r1) to address a HIGH-severity DoS via crafted XSD-validated documents. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
WalkthroughThe PR upgrades the container image to include libxml2 version 2.13.9-r1 in the Dockerfile runner stage and documents this dependency upgrade in the unreleased changelog section. ChangesDependency Upgrade
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
86e6046 to
bab5208
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@CHANGELOG.md`:
- Line 12: The CHANGELOG entry for the CVE needs to follow the repository's CVE
template: replace the current line "- Upgraded `libxml2` to `2.13.9-r1`.
[`#1284`](...)" with the exact template format "Upgraded `libxml2` to
`^2.13.9-r1`. [`#1284`]" (use the caret before the version and plain PR reference
in square brackets, no URL) and move this formatted line into the [Unreleased]
section; update the entry text that references libxml2 and PR `#1284` (the unique
symbols to locate are `libxml2`, the version `2.13.9-r1`, and PR `#1284`).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8f5187c8-cfa7-4ef9-ba8e-da60e2cf0978
📒 Files selected for processing (2)
CHANGELOG.mdDockerfile
|
|
||
| ### Fixed | ||
| - Upgraded `protobufjs` to `^7.6.2`. [#1281](https://github.com/sourcebot-dev/sourcebot/pull/1281) | ||
| - Upgraded `libxml2` to `2.13.9-r1` in the container image. [#1284](https://github.com/sourcebot-dev/sourcebot/pull/1284) |
There was a problem hiding this comment.
Align the CVE changelog line to the required template.
Please format this entry exactly as the CVE convention so release notes stay consistent with repository rules.
Proposed change
-- Upgraded `libxml2` to `2.13.9-r1` in the container image. [`#1284`](https://github.com/sourcebot-dev/sourcebot/pull/1284)
+- Upgraded `libxml2` to `^2.13.9-r1`. [`#1284`](https://github.com/sourcebot-dev/sourcebot/pull/1284)As per coding guidelines: CHANGELOG entry for CVE fixes should be formatted as Upgraded \` to `^x.y.z`. [#]and placed under[Unreleased]`.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - Upgraded `libxml2` to `2.13.9-r1` in the container image. [#1284](https://github.com/sourcebot-dev/sourcebot/pull/1284) | |
| - Upgraded `libxml2` to `^2.13.9-r1`. [`#1284`](https://github.com/sourcebot-dev/sourcebot/pull/1284) |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@CHANGELOG.md` at line 12, The CHANGELOG entry for the CVE needs to follow the
repository's CVE template: replace the current line "- Upgraded `libxml2` to
`2.13.9-r1`. [`#1284`](...)" with the exact template format "Upgraded `libxml2` to
`^2.13.9-r1`. [`#1284`]" (use the caret before the version and plain PR reference
in square brackets, no URL) and move this formatted line into the [Unreleased]
section; update the entry text that references libxml2 and PR `#1284` (the unique
symbols to locate are `libxml2`, the version `2.13.9-r1`, and PR `#1284`).
Fixes SOU-1259
Upgrades
libxml2to2.13.9-r1in the final runtime (runner) stage of the Docker image, addressing CVE-2026-6732 (HIGH-severity DoS via crafted XSD-validated documents). Trivy flagged the installedlibxml2 2.13.9-r0onghcr.io/sourcebot-dev/sourcebot:main(Alpine), fixed in2.13.9-r1.The fix adds an explicit
apk add --no-cache --upgrade "libxml2>=2.13.9-r1"alongside the existing apk commands in the runner stage.🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Chores