Skip to content

fix(aspell): upgrade to 0.60.8.3 to address CVEs - #20298

Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
aspell-patchlevel-cves
Open

Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
aspell-patchlevel-cves

Conversation

@Kanishk-Bansal

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) commented Nov 15, 2026 •

Copy link
Copy Markdown

Summary

Upgrade aspell from 0.60.8.1 to the upstream 0.60.8.3 patch release with a version overlay on the current Fedora f43 spec. Fedora f43 and f44 still ship 0.60.8.1. This replaces #20016, which pinned rawhide; none of rawhide's spec changes are taken, only what the new tarball needs.

CVEs addressed (4)

CVE Severity How the fix was verified
CVE-2026-103658 Medium Integer overflow in String::reserve() leading to a heap overflow when loading a dictionary (GHSA-p35p-2mw5-fj5j). Fix b830b6e ("common/string.hpp: fix integer overflow in String::reserve") is in rel-0.60.8.3 and not in rel-0.60.8.1
CVE-2026-75818 Low Heap overflow in the prezip decompressor (CERT Polska). Fix 15b1884 ("prezip: correctly detect bad input") is in rel-0.60.8.3 and not in rel-0.60.8.1
CVE-2026-75819 Low Out-of-bounds read in ReadOnlyDict::load() from unchecked header offsets. Fixes 941953b and 7f9bda2 (readonly_ws.cpp offset checks) are in rel-0.60.8.3 and not in rel-0.60.8.1
CVE-2026-75820 Low Word length truncation in WritableDict::add() causing heap corruption. Fixes 782ce94 and 56dfb10 (limit word length to 250) are in rel-0.60.8.3 and not in rel-0.60.8.1

Notes

  • aspell-0.60.8-gcc15.patch is dropped: it is upstream commit ee6cbb1, included since 0.60.8.2.
  • aspell-0.60.7-pspell_conf.patch (installs aspell.pc) is rebased in place with three small overlay edits: 0.60.8.3 removed the MySpell example code, so myspell/Makefile is no longer in configure and only had to come out of the patch context. The change the patch makes is the same. The other two Fedora patches apply unchanged.
  • The tarball matches the SHA512 Fedora uploaded for 0.60.8.3. The old 0.60.8.1 checksum is removed from sources by the overlay.

Changes

  • base/comps/components.toml: drop the inline aspell entry.
  • base/comps/aspell/aspell.comp.toml: pin the 0.60.8.3 tarball.
  • base/comps/aspell/overlays/0001-update-to-0.60.8.3.overlay.toml: Version, drop the gcc 15 patch, rebase the pspell_conf patch, drop the old checksum.
  • locks/aspell.lock, specs/a/aspell/: regenerated by azldev.

Testing

  • PR check scratch package build passed: build 1257161. Control Tower built aspell for the 4.0 environment at the PR head fa5220c8fc in about 7 min.
  • Lock and render drift checks passed; azldev comp update --check-only is clean.
  • The new NVR is higher than what is published for 4.0 today.
  • Built locally in mock (x86_64): aspell and aspell-devel 0.60.8.3-9 (no %check in the spec). Smoke test in the 4.0 chroot: aspell --version reports 0.60.8.3 and pkg-config finds aspell 0.60.8.3 (pspell_conf patch works).

Update aspell from 0.60.8.1 to the upstream 0.60.8.3 patch release with
a version overlay on the current Fedora f43 spec. Fedora f43 and f44
still ship 0.60.8.1.

The gcc 15 build patch is upstream in 0.60.8.2 and is dropped. The
pspell_conf (pkg-config) patch is rebased in place, because 0.60.8.3 no
longer generates myspell/Makefile; the change itself is the same.

Addresses CVE(s):
CVE-2026-75818, CVE-2026-75819, CVE-2026-75820, CVE-2026-103658
Copilot AI balanced review requested due to automatic review settings November 15, 2026 07:08
@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 15, 2026
@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The security-sensitive f43 RPM update requires human verification because current build, RPM-inspection, and mock smoke-test evidence is missing, while superseded rawhide results do not validate the rebased inputs.

No open issues 🎉

What changed in this PR

Upgrades Azure Linux’s aspell package from 0.60.8.1 to 0.60.8.3 to address four reported CVEs, retaining the Fedora f43 spec rather than adopting rawhide changes.

Changes:

  • Moves aspell into a dedicated component definition with a pinned tarball checksum.
  • Adds an upgrade overlay, removes the upstreamed GCC 15 patch, and adapts the pkg-config patch.
  • Refreshes the lock and generated packaging files.
File Description
specs/​a/​aspell/​sources Replaces the tarball checksum for 0.60.8.3.
specs/​a/​aspell/​aspell.spec Updates version and release; removes GCC 15 patch references.
specs/​a/​aspell/​aspell-0.60.8-gcc15.patch Deletes the fix now included upstream.
specs/​a/​aspell/​aspell-0.60.7-pspell_conf.patch Adjusts patch context for removed MySpell files.
locks/​aspell.lock Refreshes the component input fingerprint.
base/​comps/​components.toml Removes the inline component entry.
base/​comps/​aspell/​overlays/​0001-update-to-0.60.8.3.overlay.toml Applies the upgrade and required packaging adjustments.
base/​comps/​aspell/​aspell.comp.toml Defines the component’s new tarball source and checksum.

Review effort: Balanced

@Kanishk-Bansal
Kanishk Bansal (Kanishk-Bansal) marked this pull request as ready for review November 15, 2026 10:48
@Kanishk-Bansal

Copy link
Copy Markdown
Author

Christopher Co (@christopherco) Following up on your comment on #20016 (#20016 (comment)), this replaces that PR with a patch-level bump on the current f43 spec (0.60.8.1 to 0.60.8.3), no rawhide pin. Besides the version, it only does what the new tarball needs:

  • drops the gcc 15 patch, which is already upstream;
  • adjusts the context of the pkg-config patch, because 0.60.8.3 removed MySpell.

Same 4 CVEs as before. CI is green and it also built locally.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants