← Back to issue list

build(deps): bump lxml from 4.6.3 to 4.6.5

View original Github issue

Metadata

Project
snapcraft
Number
#3606
Type
pull request
State
merged
Author
dependabot[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Dependabot PR merged (commit 53b8cf7f1, merge 4c78e5354), bumping lxml 4.6.3 -> 4.6.5 in requirements.txt, pulling in HTML-cleaner script-injection fixes GHSL-2021-1037/1038.

Resolution: closed resolved

Reason: The PR itself was merged into main as commit 53b8cf7f1 via merge commit 4c78e5354 ("Merge pull request #3606 from snapcore/dependabot/pip/lxml-4.6.5"), updating the pinned lxml requirement from 4.6.3 to 4.6.5 after one approving review.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lxml/lxml/blob/master/CHANGES.txt">lxml's changelog</a>.</em></p> <blockquote> <h1>4.6.5 (2021-12-12)</h1> <h2>Bugs fixed</h2> <ul> <li> <p>A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script content through SVG images.</p> </li> <li> <p>A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script content through CSS imports and other crafted constructs.</p> </li> </ul> <h1>4.6.4 (2021-11-01)</h1> <h2>Features added</h2> <ul> <li> <p>GH#317: A new property <code>system_url</code> was added to DTD entities. Patch by Thirdegree.</p> </li> <li> <p>GH#314: The <code>STATIC_*</code> variables in <code>setup.py</code> can now be passed via env vars. Patch by Isaac Jurado.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lxml/lxml/commit/a9611ba80bc5196c1dd07a0b1964fcb603695d63"><code>a9611ba</code></a> Fix a test in Py2.</li> <li><a href="https://github.com/lxml/lxml/commit/a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c"><code>a3eacbc</code></a> Prepare release of 4.6.5.</li> <li><a href="https://github.com/lxml/lxml/commit/b7ea6871bd751b588868cf85b7784211f2c12fe7"><code>b7ea687</code></a> Update changelog.</li> <li><a href="https://github.com/lxml/lxml/commit/69a747356655158fdf9abaecea5feafb3bd6b5f5"><code>69a7473</code></a> Cleaner: cover some more cases where scripts could sneak through in specially...</li> <li><a href="https://github.com/lxml/lxml/commit/54d2985a36184a4b36017a6000fa4d11411f7292"><code>54d2985</code></a> Fix condition in test decorator.</li> <li><a href="https://github.com/lxml/lxml/commit/4b220b5ee6f53312418004d830d37cef4fbc1681"><code>4b220b5</code></a> Use the non-depcrecated TextTestResult instead of _TextTestResult (<a href="https://github-redirect.dependabot.com/lxml/lxml/issues/333">GH-333</a>)</li> <li><a href="https://github.com/lxml/lxml/commit/d85c6de992886dd13f6b7acb8e549674d313f6f8"><code>d85c6de</code></a> Exclude a test when using the macOS system libraries because it fails with li...</li> <li><a href="https://github.com/lxml/lxml/commit/cd4bec9cb62b3134b09494bd0ba6b6bc11d184df"><code>cd4bec9</code></a> Add macOS-M1 as wheel build platform.</li> <li><a href="https://github.com/lxml/lxml/commit/fd0d4713f258f77e57d289415001d5b9ce04ce53"><code>fd0d471</code></a> Install automake and libtool in macOS build to be able to install the latest ...</li> <li><a href="https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0"><code>f233023</code></a> Cleaner: Remove SVG image data URLs since they can embed script content.</li> <li>Additional commits viewable in <a href="https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lxml&package-manager=pip&previous-version=4.6.3&new-version=4.6.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/snapcore/snapcraft/network/alerts). </details>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Dependabot PR merged (commit 53b8cf7f1, merge 4c78e5354), bumping lxml 4.6.3 -> 4.6.5 in requirements.txt, pulling in HTML-cleaner script-injection fixes GHSL-2021-1037/1038.
stealth/space-bunny-alpha — closed resolved Merged PR #3606, upgrading lxml from 4.6.3 to 4.6.5 to address HTML-cleaner script-injection vulnerabilities GHSL-2021-1037 and GHSL-2021-1038.
qwen/qwen3.6-35b-a3b — — Merged Dependabot update bumping lxml from 4.6.3 to 4.6.5. The upgrade patches two HTML cleaner security vulnerabilities enabling script injection. Approved by reviewer and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged a Dependabot PR upgrading lxml from 4.6.3 to 4.6.5 to patch HTML cleaner vulnerabilities enabling script injection via SVG and CSS. The update resolves security issues and includes minor feature additions.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#3829 (confidence 88%)

    Later lxml bump 4.9.0 -> 4.9.1 (commit a61c6032a), continuing the dependency updates

  • Related To: canonical/snapcraft#6210 (confidence 80%)

    Subsequent lxml bump (commit 76f9fdaca); requirements were later removed in 081a66d06 in favour of uv-generated requirements

Related issues

Issue Project State Summary Similarity
#3404 build(deps): bump lxml from 4.5.0 to 4.6.2 snapcraft merged Merged PR #3404 as commit ebb14936e, updating lxml from 4.5.0 to 4.6.2 and including HTML Cleaner JavaScript-pass-through fixes such as CVE-2020-27783.
89%
#3485 build(deps): bump lxml from 4.6.2 to 4.6.3 snapcraft merged Dependabot security bump of lxml 4.6.2 -> 4.6.3 (CVE-2021-28957 HTML cleaner fix) was approved and merged into snapcraft as commit d4d7721e3, updating requirements.txt.
86%
#3829 build(deps): bump lxml from 4.9.0 to 4.9.1 snapcraft merged Dependabot PR #3829 bumping lxml 4.9.0 -> 4.9.1 was approved and squash-merged into main as commit a61c6032a ('build(deps): bump lxml from 4.9.0 to 4.9.1 (#3829)'), updating requirements/setup pinning.
79%
#141 build(deps): update lxml to 6.1.0 debcraft merged Renovate-style dependency bump of lxml from 6.0.2 to 6.1.0 merged into debcraft via commit 434c271 (PR #141), updating only uv.lock; all CI checks passed.
78%
#1072 build(deps): bump lxml craft-application merged Merged #1072 via commit e8c8a384, updating lxml from v6.0.2 to v6.1.0 to resolve an OSV vulnerability.
77%
#540 build(deps): bump lxml starbase merged Merged #540, bumping lxml to resolve an OSV vulnerability. The update landed as commit 663c1b4 with all CI checks passing.
77%
#6210 build(deps): bump lxml snapcraft merged Merged PR #6210 and commit 76f9fdaca bumped lxml to resolve an OSV security advisory.
77%
#86 build(deps): bump lxml craft-artifacts merged Merged PR #86 via commit 3149b0b, updating lxml from 6.0.2 to 6.1.1 in uv.lock to resolve an OSV vulnerability.
76%
#1563 build(deps): bump lxml craft-parts merged Merged PR #1563 (commit 3495de62) bumped lxml from 6.0.2 to 6.1.0 in uv.lock to clear an OSV advisory; all CI and OSV/Trivy security scans passed with no reviewer comments.
75%
#362 build(deps): bump lxml craft-store merged Merged PR canonical/craft-store#362 in commit 4719100, upgrading lxml from 5.4.0 to 6.1.0 to resolve an OSV advisory.
74%