Bump nokogiri from 1.19.2 to 1.19.4 in /docs
Merged
DE
4mo ago+2+2+0123456789-2-2-0123456789
Bumps nokogiri from 1.19.2 to 1.19.4.
Release notes
Sourced from nokogiri's releases.
v1.19.4 / 2026-06-18
Security
- [CRuby] (Low) Fixed a possible invalid memory read when
XML::Node#initialize_copy_with_argsis called with an argument that is not aNode. See GHSA-g9g8-vgvw-g3vf for more information.- [CRuby] (Low) Fixed a possible use-after-free when an
XML::XPathContextis used after its source document has been garbage collected. See GHSA-p67v-3w7g-wjg7 for more information.- [CRuby] (Low) Fixed a possible use-after-free during XInclude processing via
Node#do_xinclude. See GHSA-wfpw-mmfh-qq69 for more information.- [CRuby] (Low) Fixed a possible use-after-free when
Document#root=is assigned a non-element node. See GHSA-wjv4-x9w8-wm3h for more information.- [CRuby] (Low) Fixed a possible use-after-free when setting an attribute value via
XML::Attr#value=or#content=. See GHSA-phwj-rprq-35pp for more information.- [CRuby] (Low) Fixed a null pointer dereference when methods are called on uninitialized wrapper objects (e.g. via
allocate); these now raise instead of crashing the process. See GHSA-9cv2-cfxc-v4v2 for more information.- [CRuby] (Low) Fixed a possible use-after-free when
Document#encoding=raises an exception. See GHSA-5v8h-3h3q-446p for more information.- [CRuby] (Medium) Fixed an out-of-bounds read in
XML::NodeSet#[](alias#slice) when given a large negative index. See GHSA-5prr-v3j2-97mh for more information.- [JRuby] (Low)
XML::Schemanow enforces theNONETparse option, which Nokogiri enables by default. It was not enforced on JRuby, so a schema parsed with default options could still fetch external resources over the network, potentially enabling SSRF or XXE attacks and bypassing the mitigation for CVE-2020-26247. See GHSA-8678-w3jw-xfc2 for more information.1269fb644a6de405057a53dd5c762b1209b43ca7424f839454d3dbc677c31a8f nokogiri-1.19.4-aarch64-linux-gnu.gem 35c65b9ce72b3bb03207bdbe7067915019dc18c1b9b59139684bd6690fdd01af nokogiri-1.19.4-aarch64-linux-musl.gem a301313e38bb065d68239e79734bcd6f56fb6efaacebde29e9abf2a4735340ca nokogiri-1.19.4-arm-linux-gnu.gem 588923c101bcfa78869734d247d25b598674323e7f22474fc468f6e5647311eb nokogiri-1.19.4-arm-linux-musl.gem a46db9853286e6597b36ebc6953817d15acf3a299583eb3f89fdc6f91dd63527 nokogiri-1.19.4-arm64-darwin.gem ce04b9e268c9626852231a48b49128ed52034f1ccb39484a6da3875491cd709e nokogiri-1.19.4-java.gem 051da97b8eccfdb5444fed40246a35e10d7298b9efe759b4cd25455ea04c587e nokogiri-1.19.4-x64-mingw-ucrt.gem 7fd17057d3e1f00e9954a74b3cd76595d3d4a5ef233b7ed9599047c204f70551 nokogiri-1.19.4-x86_64-darwin.gem 379fae440b28915e3f19d752ce2dcf8465ed2b2fbefd2a7ca0dd497bc981a06a nokogiri-1.19.4-x86_64-linux-gnu.gem 17dfb7c1fa194ae02fbf7c51a7afc8d278045ab3fdacfd86f91d02d7b274470b nokogiri-1.19.4-x86_64-linux-musl.gem 50c951611c92bca05c51411aef45f1cbc50f2821c4802758c5c6d34696533ab5 nokogiri-1.19.4.gemv1.19.3 / 2026-04-27
Fixed / Security
- Address exponential regex backtracking in CSS selector tokenizer. See GHSA-c4rq-3m3g-8wgx for more information.
- [CRuby] Address memory leak in
XSLT::Stylesheet#transform. See GHSA-v2fc-qm4h-8hqv for more information.46b89e5d7b9e844c2ee360794240c6ea2a4e6fa0c5892a4ed487db621224b639 nokogiri-1.19.3-aarch64-linux-gnu.gem 8392dfdcd21be7a94dbbe9ccc138dea01b97b24cb2dc02a114ca98bfb1d9a0b7 nokogiri-1.19.3-aarch64-linux-musl.gem 3919d5ffc334ad778a4a9eb88fda7dcb8b1fb58c8a52ac640c6dcd2f038e774f nokogiri-1.19.3-arm-linux-gnu.gem 9ce1cb6346bb9c67b1550eb537aa183ead91e4b6eadb2f36ade02d8dd2a79fb6 nokogiri-1.19.3-arm-linux-musl.gem 71b9bd424b1b7abc18b05052a1a3cfd3627abdca62be280854cc411791357e42 nokogiri-1.19.3-arm64-darwin.gem 40ea6ebf5cf2005dae1dee26dd557d3afb41fb6de6c9764aca8cf06fdb841db1 nokogiri-1.19.3-java.gem 8bb7132cad356c879a1286eaabcb5e68326cb2490317984280fbc62f456d506a nokogiri-1.19.3-x64-mingw-ucrt.gem </tr></table>
... (truncated)
Changelog
Sourced from nokogiri's changelog.
v1.19.4 / 2026-06-18
Security
- [CRuby] (Low) Fixed a possible invalid memory read when
XML::Node#initialize_copy_with_argsis called with an argument that is not aNode. See GHSA-g9g8-vgvw-g3vf for more information.- [CRuby] (Low) Fixed a possible use-after-free when an
XML::XPathContextis used after its source document has been garbage collected. See GHSA-p67v-3w7g-wjg7 for more information.- [CRuby] (Low) Fixed a possible use-after-free during XInclude processing via
Node#do_xinclude. See GHSA-wfpw-mmfh-qq69 for more information.- [CRuby] (Low) Fixed a possible use-after-free when
Document#root=is assigned a non-element node. See GHSA-wjv4-x9w8-wm3h for more information.- [CRuby] (Low) Fixed a possible use-after-free when setting an attribute value via
XML::Attr#value=or#content=. See GHSA-phwj-rprq-35pp for more information.- [CRuby] (Low) Fixed a null pointer dereference when methods are called on uninitialized wrapper objects (e.g. via
allocate); these now raise instead of crashing the process. See GHSA-9cv2-cfxc-v4v2 for more information.- [CRuby] (Low) Fixed a possible use-after-free when
Document#encoding=raises an exception. See GHSA-5v8h-3h3q-446p for more information.- [CRuby] (Medium) Fixed an out-of-bounds read in
XML::NodeSet#[](alias#slice) when given a large negative index. See GHSA-5prr-v3j2-97mh for more information.- [JRuby] (Low)
XML::Schemanow enforces theNONETparse option, which Nokogiri enables by default. It was not enforced on JRuby, so a schema parsed with default options could still fetch external resources over the network, potentially enabling SSRF or XXE attacks and bypassing the mitigation for CVE-2020-26247. See GHSA-8678-w3jw-xfc2 for more information.v1.19.3 / 2026-04-27
Fixed / Security
- Address exponential regex backtracking in CSS selector tokenizer. See GHSA-c4rq-3m3g-8wgx for more information.
- [CRuby] Address memory leak in
XSLT::Stylesheet#transform. See GHSA-v2fc-qm4h-8hqv for more information.
Commits
8cfb9daversion bump to v1.19.4a856d1efix: JRuby NONET bypass in XML::Schema (v1.19.x) (#3639)6a0aa1efix(CRuby): use-after-free in Document#encoding= when setter raises (v1.19.x)...f658a54fix: JRuby NONET bypass in XML::Schema39d26fefix(CRuby): use-after-free in Document#encoding= when setter raises04a09ddfix(CRuby): out-of-bounds read in NodeSet#[] with large negative index (v1.19...7799fbdfix: avoid NPE on uninitialized XML::Node structs (v1.19.x) (#3645)ef19e13fix(CRuby): avoid UAF in XML::Attr#value= (v1.19.x) (#3644)5524fa9fix:Document#root=rejects non-element nodes (v1.19.x) (#3643)9891ad1fix(CRuby): use-after-free in XPathContext document lifetime (v1.19.x) (#3641)- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade nokogiri in the docs build from 1.19.2 to 1.19.4 to address security issues and improve parsing stability.
- Dependencies
- Bumped
nokogirito 1.19.4 indocs/Gemfile.lock. Includes fixes for regex backtracking, CRuby memory safety issues (use-after-free, out-of-bounds read), and JRubyNONETenforcement.
- Bumped