Skip to content

Commit afc36de

Browse files
authored
dep: update vendored libxml2 to v2.12.7 (#3191)
**What problem is this PR intended to solve?** Vendored libxml2 is updated to address CVE-2024-34459. See [GHSA-r95h-9x8f-r3f7](GHSA-r95h-9x8f-r3f7) for more information.
2 parents 17c0362 + 41b4f08 commit afc36de

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

.github/workflows/ci.yml

+22-2
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ jobs:
544544
plat:
545545
- "aarch64-linux"
546546
- "arm-linux"
547-
- "arm64-darwin" # github actions does not support this runtime as of 2022-12, but let's build anyway
547+
- "arm64-darwin"
548548
- "x64-mingw-ucrt"
549549
- "x64-mingw32"
550550
- "x86-linux"
@@ -681,7 +681,7 @@ jobs:
681681
fail-fast: false
682682
matrix:
683683
ruby: ["3.0", "3.1", "3.2", "3.3"]
684-
runs-on: macos-latest
684+
runs-on: macos-13
685685
steps:
686686
- uses: actions/checkout@v4
687687
with:
@@ -695,6 +695,26 @@ jobs:
695695
path: gems
696696
- run: ./scripts/test-gem-install gems
697697

698+
cruby-arm64-darwin-install:
699+
needs: ["cruby-package"]
700+
strategy:
701+
fail-fast: false
702+
matrix:
703+
ruby: ["3.0", "3.1", "3.2", "3.3"]
704+
runs-on: macos-14
705+
steps:
706+
- uses: actions/checkout@v4
707+
with:
708+
submodules: true
709+
- uses: ruby/setup-ruby@v1
710+
with:
711+
ruby-version: "${{matrix.ruby}}"
712+
- uses: actions/download-artifact@v4
713+
with:
714+
name: cruby-arm64-darwin-gem
715+
path: gems
716+
- run: ./scripts/test-gem-install gems
717+
698718
cruby-x64-mingw32-install:
699719
needs: ["cruby-package"]
700720
strategy:

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [REA
44

55
---
66

7+
## next
8+
9+
### Security
10+
11+
* [CRuby] Vendored libxml2 is updated to address CVE-2024-34459. See [GHSA-r95h-9x8f-r3f7](https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-r95h-9x8f-r3f7) for more information.
12+
13+
14+
### Dependencies
15+
16+
* [CRuby] Vendored libxml2 is updated to [v2.12.7](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7) from v2.12.6. (@flavorjones)
17+
18+
719
## v1.16.4 / 2024-04-10
820

921
### Dependencies

dependencies.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
libxml2:
3-
version: "2.12.6"
4-
sha256: "889c593a881a3db5fdd96cc9318c87df34eb648edfc458272ad46fd607353fbb"
5-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.6.sha256sum
3+
version: "2.12.7"
4+
sha256: "24ae78ff1363a973e6d8beba941a7945da2ac056e19b53956aeb6927fd6cfb56"
5+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.7.sha256sum
66

77
libxslt:
88
version: "1.1.39"

0 commit comments

Comments
 (0)