zync
zync copied to clipboard
🚨 [security] Update nokogiri 1.15.3 → 1.16.2 (minor)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
↗️ nokogiri (indirect, 1.15.3 → 1.16.2) · Repo · Changelog
Security Advisories 🚨
🚨 Improper Handling of Unexpected Data Type in Nokogiri
Summary
Nokogiri v1.16.2 upgrades the version of its dependency libxml2 to v2.12.5.
libxml2 v2.12.5 addresses the following vulnerability:
CVE-2024-25062 / https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-25062
described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/604
patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/92721970Please note that this advisory only applies to the CRuby implementation of
Nokogiri < 1.16.2, and only if the packaged libraries are being used. If
you've overridden defaults at installation time to use system libraries
instead of packaged libraries, you should instead pay attention to your
distro's libxml2 release announcements.Severity
The Nokogiri maintainers have evaluated this as Moderate.
Mitigation
Upgrade to Nokogiri >= 1.16.2.
Users who are unable to upgrade Nokogiri may also choose a more complicated
mitigation: compile and link Nokogiri against external libraries libxml2 >=
2.12.5 which will also address these same issues.JRuby users are not affected.
Workarounds
Release Notes
1.16.2
v1.16.2 / 2024-02-04
Security
- [CRuby] Vendored libxml2 is updated to address CVE-2024-25062. See GHSA-xc9x-jj77-9p9j for more information.
Dependencies
- [CRuby] Vendored libxml2 is updated to v2.12.5 from v2.12.4. (@flavorjones)
sha256 checksums:
69ba15d2a2498324489ed63850997f0b8f684260114ea81116d3082f16551d2d nokogiri-1.16.2-aarch64-linux.gem 6a05ce42e3587a40cf8936ece0beaa5d32922254215d2e8cf9ad40588bb42e57 nokogiri-1.16.2-arm-linux.gem c957226c8e36b31be6a3afb8602e2128282bf8b40ea51016c4cd21aa2608d3f8 nokogiri-1.16.2-arm64-darwin.gem 122652bfc338cd8a54a692ac035e245e41fd3b8283299202ca26e7a7d50db310 nokogiri-1.16.2-java.gem 7344b5072ca69fc5bedb61cb01a3b765b93a27aae5a2a845c2ba7200e4345074 nokogiri-1.16.2-x64-mingw-ucrt.gem a2a5e184a424111a0d5b77947986484920ad708009c667f061e8d02035c562dd nokogiri-1.16.2-x64-mingw32.gem 833efddeb51a6c2c9f6356295623c2b2e0d50050d468695c59bd929162953323 nokogiri-1.16.2-x86-linux.gem e67fc0418dffaff9dc8b1dc65f0605282c3fee9488832d0223b620b4319e0b53 nokogiri-1.16.2-x86-mingw32.gem 5def799e5f139f21a79d7cf71172313a7b6fb0e4b2a31ab9bd5d4ad305994539 nokogiri-1.16.2-x86_64-darwin.gem 5b146240ac6ec6c40fd4367623e74442bca45a542bd3282b1d4d18b07b8e5dfe nokogiri-1.16.2-x86_64-linux.gem 68922ee5cde27497d995c46f2821957bae961947644eed2822d173daf7567f9c nokogiri-1.16.2.gem
1.16.1
v1.16.1 / 2024-02-03
Dependencies
- [CRuby] Vendored libxml2 is updated to v2.12.4 from v2.12.3. (@flavorjones)
Fixed
- [CRuby]
XML::Reader
defaults the encoding to UTF-8 if it's not specified in either the document or as a method parameter. Previously non-ASCII characters were serialized as NCRs in this case. [#2891] (@flavorjones)- [CRuby] Restored support for compilation by GCC versions earlier than 4.6, which was broken in v1.15.0 (540e9ae). [#3090] (@adfoster-r7)
- [CRuby] Patched upstream libxml2 to allow parsing HTML5 in the context of a namespaced node (e.g., foreign content like MathML). [#3112, #3116] (@flavorjones)
- [CRuby] Fixed a small memory leak in libgumbo (HTML5 parser) when the maximum tree depth limit is hit. [#3098, #3100] (@stevecheckoway)
sha256 checksums:
a541f35e5b9798a0c97300f9ee18f4217da2a2945a6d5499e4123b9018f9cafc nokogiri-1.16.1-aarch64-linux.gem 6b82affd195000ab2f9c36cc08744ec2d2fcf6d8da88d59a2db67e83211f7c69 nokogiri-1.16.1-arm-linux.gem 487f0072c154b8a8fd12716f746beee9fb7cea1d62773471bb2951e540f3798a nokogiri-1.16.1-arm64-darwin.gem d45378ce34b8d2cfac2428cebb0e21ace4d9c97e76c565ba2e8cec041df02afb nokogiri-1.16.1-java.gem d50359f604e650e47365baa8af231b587080ffa7bb84ffca836f34f8c06ae10d nokogiri-1.16.1-x64-mingw-ucrt.gem 5b656174e77db8f97ee2cc45c4f1476c8262797b577e8fc8abf458beefd4372c nokogiri-1.16.1-x64-mingw32.gem c6ba741e41b73a75cdefbf3733101c66a93eb041cab22ba3472a6c548f5b20d7 nokogiri-1.16.1-x86-linux.gem e37439f5ce9bf91f3797420f8a1e1502ebc3654c3ca4eca80a0b2707235c9326 nokogiri-1.16.1-x86-mingw32.gem 380c94bd8a7fbdee4633db117e5c1ef04cafd35e0dbbdb20eb9224631fe0dc49 nokogiri-1.16.1-x86_64-darwin.gem cf43557ea7eed0e9f9ed90837a27e1dbfb7fd56d65eb806955965e02231bed3e nokogiri-1.16.1-x86_64-linux.gem 304db173d8a87afc63f1e1702a671d9eb9e4a30974b297ccca604f6cfd3ed2a7 nokogiri-1.16.1.gem
1.16.0
v1.16.0 / 2023-12-27
Notable Changes
Ruby
This release introduces native gem support for Ruby 3.3.
This release ends support for Ruby 2.7, for which upstream support ended 2023-03-31.
Pattern matching
This version marks official support for the pattern matching API in
XML::Attr
,XML::Document
,XML::DocumentFragment
,XML::Namespace
,XML::Node
, andXML::NodeSet
(and their subclasses), originally introduced as an experimental feature in v1.14.0. (@flavorjones)Documentation on what can be matched:
XML::Attr#deconstruct_keys
XML::Document#deconstruct_keys
XML::Namespace#deconstruct_keys
XML::Node#deconstruct_keys
XML::DocumentFragment#deconstruct
XML::NodeSet#deconstruct
Dependencies
- [CRuby] Vendored libxml2 is updated to v2.12.3 from v2.11.6. (@flavorjones)
Fixed
- CSS
nth
pseudo-classes now handle spaces, e.g."2n + 1"
. [#3018] (@fusion2004)- [CRuby]
libgumbo
no longer leaks memory when an incomplete tag is abandoned by the HTML5 parser. [#3036] (@flavorjones)Removed
- Removed
Nokogiri::HTML5.get
which was deprecated in v1.12.0. [#2278] (@flavorjones)- Removed the CSS-to-XPath utility modules
XPathVisitorAlwaysUseBuiltins
andXPathVisitorOptimallyUseBuiltins
, which were deprecated in v1.13.0 in favor ofXPathVisitor
constructor args. [#2403] (@flavorjones)- Removed
XML::Reader#attribute_nodes
which was deprecated in v1.13.8 in favor of#attribute_hash
. [#2598, #2599] (@flavorjones)- [CRuby] Removed the
libxml/libxml2_path
key fromVersionInfo
, used in the past for third-party library integration, in favor of thenokogiri/cppflags
andnokogiri/ldflags
keys. Please note that third-party library integration is not fully supported and may be deprecated soon, see #2746 for more context. [#2143] (@flavorjones)Thank you!
The following people and organizations were kind enough to sponsor @flavorjones or the Nokogiri project during the development of v1.16.0:
- Götz Görisch @GoetzGoerisch
- Airbnb @airbnb
- Maxime Gauthier @biximilien
- Renuo AG @renuo
- YOSHIDA Katsuhiko @kyoshidajp
- Homebrew @Homebrew
- Hiroshi SHIBATA @hsbt
- @zzak
- Evil Martians @evilmartians
- Ajaya Agrawalla @ajaya
- Modern Treasury @Modern-Treasury
- Danilo Lessa Bernardineli @danlessa
- matt marques @mestre-dos-magos
- Quan Nguyen @qu8n
- Harry Lascelles @hlascelles
- Oleksandr Tyshchenko @altivi
- Prowly @prowlycom
- Better Stack Community @betterstack-community
- Sentry @getsentry
- Codecov @codecov
- Typesense @typesense
- Roy Boivin II @Yabbo
- Frank Groeneveld @frenkel
We'd also like to thank @github who donate a ton of compute time for our CI pipelines!
sha256 checksums:
8cd981dfd4bea4f519ceebb885cf3b422b71c059d841c039d327e73b19247f53 nokogiri-1.16.0-aarch64-linux.gem c68d861155c40777eee3eb4efbb375d665c8c889cebd5cd1ba32f30a8aac6c21 nokogiri-1.16.0-arm-linux.gem 10c08f246085709790ea628b5fa031cf23dadd843e173711b335ba6287b59d0a nokogiri-1.16.0-arm64-darwin.gem f76f2dc353993862d07eccfc5561e373e8058d62e265bae9bcf4f4793c35c9e2 nokogiri-1.16.0-java.gem 5c59792f7f5f8a76e17a87b89b9057544853a6f713b692a75b7f8895a854b74f nokogiri-1.16.0-x64-mingw-ucrt.gem 286950458a58bdf09bb3a800ac16f0aa361aa9a6c9a63bcd71e98e3c34d314a8 nokogiri-1.16.0-x64-mingw32.gem 159107da8a35f1fc22ee5b78d70da9bda4098a3771a29beac3f727cafd5041cb nokogiri-1.16.0-x86-linux.gem 27d3d96f53b3fa1da9c4d9d69fffadc34abf7350a8e22be61a7483f15f065438 nokogiri-1.16.0-x86-mingw32.gem 237aa89b9ef6b8e014f197167677926ebc4bdb9cafb2b101399d8001fda4fa43 nokogiri-1.16.0-x86_64-darwin.gem 6f55093bb47e75d412138f4b9462f960d3aad96cb6b43dbe9a3de62c2d31a742 nokogiri-1.16.0-x86_64-linux.gem 341388184e975d091e6e38ce3f3b3388bfb7e4ac3d790efd8e39124844040bd1 nokogiri-1.16.0.gem
1.15.5
1.15.5 / 2023-11-17
Dependencies
- [CRuby] Vendored libxml2 is updated to v2.11.6 from v2.11.5. For details please see https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.6
- [CRuby] Vendored libxslt is updated to v1.1.39 from v1.1.38. For details please see https://gitlab.gnome.org/GNOME/libxslt/-/releases/v1.1.39
sha256 checksums:
6dfa1d9837ddb233e234d56e244560ab1bc545d3d1744478060e18691f44ded7 nokogiri-1.15.5-aarch64-linux.gem e3ac6608c6e1714bc11ff04e29a43fedf4cac2aea1bd88256cc3b927c06f347f nokogiri-1.15.5-arm-linux.gem 4d7b15d53c0397d131376a19875aa97dd1c8b404c2c03bd2171f9b77e9592d40 nokogiri-1.15.5-arm64-darwin.gem 5f87e71aaeb4f7479b94698737a0aacea77836b4805c7433b655e9565bd56cfe nokogiri-1.15.5-java.gem 7612be800909ae51e0a7cfbe1f768757857a9ff0339686814ca67d9bae271ca2 nokogiri-1.15.5-x64-mingw-ucrt.gem 28fd78d98e12005fe017db5ceccb74b2497f30582e6e26a3344200625fe46aae nokogiri-1.15.5-x64-mingw32.gem 0d1b564d7f148a6766380966bb48b23afa72c72c992c69c71d21acd4a7f5c0e4 nokogiri-1.15.5-x86-linux.gem d27dbf44c19b83e570e65b660a8a921441d1e8b6063ab1b985b516f78e0a2854 nokogiri-1.15.5-x86-mingw32.gem 10bafa54935f68aebd23235cb0fc7dfb8f6f5e52131379484771247eb3a0cc70 nokogiri-1.15.5-x86_64-darwin.gem c5d9453cc155dc15f08ac699cc1293fd994ec6cfacec48e67653aa95ee946adf nokogiri-1.15.5-x86_64-linux.gem 22448ca35dbcbdcec60dbe25ccf452b685a5436c28f21b2fec2e20917aba9100 nokogiri-1.15.5.gem
1.15.4
1.15.4 / 2023-08-11
Dependencies
- [CRuby] Vendored libxml2 is updated to v2.11.5 from v2.11.4. For details please see https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.5
Fixed
- Fixed a typo in a HTML5 parser error message. [#2927] (Thanks, @anishathalye!)
- [CRuby]
ObjectSpace.memsize_of
is now safe to call onDocument
s with complex DTDs. In previous versions, this debugging method could result in a segfault. [#2923, #2924]
sha256 checksums:
14091a07e07045a440213f7d5ced732fa7654ae8b6c7d180137f4124c5284ab8 nokogiri-1.15.4-aarch64-linux.gem 572ddc19934d010e98821a946d89462ae66b310fecc3fe12c48b0025c2f76855 nokogiri-1.15.4-arm-linux.gem 707288e293f4fc82a008f90b7ba0180d9f803f6a239a13e424378fedf8cf93e9 nokogiri-1.15.4-arm64-darwin.gem 04745925f63af61144eccef38a703928629cf97c34dbb1c42e3def17ac77ec92 nokogiri-1.15.4-java.gem a0bfb65461a0453afed1a41b235fe84d5b9c7f4d70afd45f0dc2fdec8909faf1 nokogiri-1.15.4-x64-mingw-ucrt.gem b9d01b9202e33cc23d19b2c1fc18ff4029cdda9b4f937a4baaefd4124a2158ba nokogiri-1.15.4-x64-mingw32.gem f6ae258d7ed5f81715118282aa45486e68fd44b9747d0244a236e9ed5b94c45d nokogiri-1.15.4-x86-linux.gem 3f65b2426ece8da908bd5df5b6262ce525393f5245f8258a245bb4c3f5759b98 nokogiri-1.15.4-x86-mingw32.gem d756605c540034debd7f486ae27802e6b1b129013fd6b1bb823783ef6f2bc5d7 nokogiri-1.15.4-x86_64-darwin.gem 872ced3d72d797ed9b5a76c67141c6cee7589711358e11c73e9c53724ffd1842 nokogiri-1.15.4-x86_64-linux.gem e4a801e5ef643cc0036f0a7e93433d18818b31d48c9c287596b68e92c0173c4d nokogiri-1.15.4.gem
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ mini_portile2 (indirect, 2.8.2 → 2.8.5) · Repo · Changelog
Release Notes
2.8.5
2.8.5 / 2023-10-22
Added
- New methods
#lib_path
and#include_path
which point at the installed directories underports
. (by @flavorjones)- Add config param for CMAKE_BUILD_TYPE, which now defaults to
Release
. (#136 by @Watson1978)Experimental
Introduce experimental support for
MiniPortile#mkmf_config
which sets up MakeMakefile variables to properly link against the recipe. This should make it easier for C extensions to package third-party libraries. (by @flavorjones)
- With no arguments, will set up just
$INCFLAGS
,$libs
, and$LIBPATH
.- Optionally, if provided a pkg-config file, will use that config to more precisely set
$INCFLAGS
,$libs
,$LIBPATH
, and$CFLAGS
/$CXXFLAGS
.- Optionally, if provided the name of a static archive, will rewrite linker flags to ensure correct linkage.
Note that the behavior may change slightly before official support is announced. Please comment on #118 if you have feedback.
2.8.4
2.8.4 / 2023-07-18
2.8.3
2.8.3 / 2023-07-18
Fixed
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 33 commits:
version bump to 2.8.5
doc: update README with cmake_build_type documentation
Merge pull request #137 from flavorjones/flavorjones-update-gemspec
dev: gemspec has better desc and uses require_relative
Merge pull request #136 from Watson1978/release-build
Add config param for CMAKE_BUILD_TYPE
Create release binary with cmake explicitly
Merge pull request #135 from amatsuda/warning
warning: method redefined; discarding old source_directory=
version bump to v2.8.5.rc2
Merge pull request #134 from flavorjones/flavorjones-improve-mkmf-config-20230917
introduce the "static" parameter to mkmf_config
extract `lib_path` and `include_path` methods
version bump to v2.8.5.rc1
Merge pull request #133 from flavorjones/flavorjones-more-precise-pkg-config
feat: more precise implementation of mkmf_config for pkg-config
version bump to v2.9.0.rc1
Merge pull request #131 from flavorjones/118-fedora-pkgconf
feat: introduce MiniPortile.mkmf_config
test: add an example that uses MakeMakefile.pkg_config
ci: add a fedora job to the test suite
test: backfill coverage for MiniPortile#activate
Merge pull request #132 from flavorjones/flavorjones-uninitialized-ivar-warnings
fix: avoid uninitialized ivar warnings
version bump to v2.8.4
Merge pull request #130 from stanhu/sh-cmake-cross-compile-vars
version bump to v2.8.3
Remap x64 processor type to x86_64
[cmake] Automatically add required cross-compilation variables
Merge pull request #129 from stanhu/sh-cmake-msys
Update CHANGELOG.md
Add CHANGELOG.md for CMake fix
cmake: only use MSYS/NMake generators when available
↗️ racc (indirect, 1.7.1 → 1.7.3) · Repo · Changelog
Release Notes
1.7.3
What's Changed
- Exclude CRuby extension from JRuby gem by @nobu in #244
- Fix for dummy rake/extensiontask.rb at ruby test-bundled-gems by @nobu in #245
- Fix jar file path by @nobu in #246
- Bump by @nobu in #247
- Add
srcs
target to prepare to build by @nobu in #248- Make CI runnable for any push by @yui-knk in #249
- Check
rake build
on CI by @yui-knk in #250- Bump up v1.7.3.pre.1 by @yui-knk in #251
- Fix locations of
expect
param in docs by @yui-knk in #252- 'lib/racc/parser-text.rb' depends on 'lib/racc/info.rb' by @yui-knk in #253
- Bump up v1.7.3 by @yui-knk in #254
Full Changelog: v1.7.2...v1.7.3
1.7.2
What's Changed
- Update parser.rb, fixed typo by @jwillemsen in #224
- Remove leading newline from on_error exception messages. by @zenspider in #226
- Add --frozen to add frozen_string_literals to top of generated files. by @zenspider in #225
- Update development dependency to avoid ruby 2.5 failures by @flavorjones in #228
- dep: pin development dependencies, and enable dependabot for gems by @flavorjones in #229
- Clean embedded pragmas by @nobu in #230
- Embed grammar file name into generated file by @yui-knk in #231
- Bump actions/checkout from 3 to 4 by @dependabot in #232
- Fix a typo by @yui-knk in #234
- Add "Release flow" to README.rdoc by @yui-knk in #235
- Prepare 1.7.2 by @nobu in #236
- Remove install guide by setup.rb by @yui-knk in #237
- Fix tiny typos by @makenowjust in #238
- Remove old checks by @nobu in #240
- Remove MANIFEST which was used by ancient extmk.rb by @nobu in #242
- Extract Racc::VERSION from racc/info.rb at extconf.rb by @nobu in #241
- Use prototype declarations by @nobu in #243
- Bump up v1.7.2 by @yui-knk in #239
New Contributors
- @makenowjust made their first contribution in #238
Full Changelog: v1.7.1...v1.7.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Merge pull request #254 from yui-knk/v1.7.3
Bump up v1.7.3
Merge pull request #253 from yui-knk/add_dependency
'lib/racc/parser-text.rb' depends on 'lib/racc/info.rb'
Merge pull request #252 from yui-knk/fix_doc_expect_param
Fix locations of `expect` param in docs
Merge pull request #251 from yui-knk/v1.7.3.pre.1
Bump up v1.7.3.pre.1
Merge pull request #250 from yui-knk/test_rake_compile_build
Check `rake build` on CI
Merge pull request #249 from yui-knk/always_run_ci
Merge pull request #248 from nobu/srcs
Make CI runnable for any push
Add `srcs` target to prepare to build
Make reproducible
Merge pull request #247 from nobu/bump
Update test-unit-ruby-core for ruby 2.5
Prepare 1.7.3
Add recipe to update RACC_VERSION in Cparse.java
Merge pull request #246 from nobu/jruby-extdir
Fix jar file path
Merge pull request #245 from nobu/ruby-test
Fix for dummy rake/extensiontask.rb at ruby test-bundled-gems
Merge pull request #244 from nobu/cruby-ext
Exclude CRuby extension from JRuby gem
Merge pull request #239 from yui-knk/v1.7.2
Merge pull request #243 from nobu/protoize
Use prototype declarations
Bump up v1.7.2
Merge pull request #241 from nobu/info_version
Merge pull request #242 from nobu/manifest
[DOC] Update release flow
Remove MANIFEST which was used by ancient extmk.rb
Extract Racc::VERSION from racc/info.rb at extconf.rb
Merge pull request #240 from nobu/old-checks
Remove fallback code
Remove old checks
Rename CI file since it is not only Ubuntu now [ci skip]
Merge pull request #238 from makenowjust/typos
Fix tiny typos
Merge pull request #237 from yui-knk/remove_install_guide_via_setup_rb
Remove install guide by setup.rb
Merge pull request #236 from nobu/bump-up
Start 1.7.2
Update `Gem::Specification#files`
Merge pull request #235 from yui-knk/readme_release-flow
Add "Release flow" to README.rdoc
Merge pull request #234 from yui-knk/fix_typo
Fix a typo
Merge pull request #232 from ruby/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
Merge pull request #231 from yui-knk/embed_grammar_file_name_into_generated_file
Embed grammar file name into generated file
Merge pull request #230 from nobu/embedded-pragmas
Remove frozen_string_literal pragmas from embedded runtime files
Stop littering platform-independent directory with platform-dependent bianries
Merge pull request #229 from ruby/flavorjones-pin-dev-dependencies
dep: pin development dependencies, and enable dependabot for gems
Merge pull request #228 from ruby/flavorjones-work-around-rake-compiler-ruby-2.5
Update development dependency to avoid ruby 2.5 failures
Merge pull request #225 from zenspider/zenspider/frozen_string_literals
Merge pull request #226 from zenspider/zenspider/newline
Remove NEWS files since they've not been updated in quite some time
Add --frozen to add frozen_string_literals to top of generated files.
Remove leading newline from on_error exception messages.
Merge pull request #224 from jwillemsen/patch-4
Update parser.rb, fixed typo
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase
.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)