#65903 closed defect (bug) (fixed)
Update Sodium Compat to 1.24.1
| Reported by: | paragoninitiativeenterprises | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | External Libraries | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Details: https://github.com/paragonie/sodium_compat/pull/206
Actual upstream PR for the v1.x branch: https://github.com/paragonie/sodium_compat/pull/207
Diff: https://github.com/paragonie/sodium_compat/compare/v1.24.0...v1.24.1
This should have no impact to WordPress.
Change History (5)
This ticket was mentioned in PR #13290 on WordPress/wordpress-develop by @wprashed.
3 weeks ago
#2
#5
@
2 weeks ago
Two follow-ups:
- Bump straight to 1.24.2. The 1.24.1 fix corrects ge_mul_l and the subgroup predicate, but the global 64-bit path in Compat::verify_detached() still skips the small-order check on the public key. Upstream added that check in v1.24.2: https://github.com/paragonie/sodium_compat/compare/v1.24.1...v1.24.2
This is a hardening gap rather than a new advisory. ext-sodium rejects the affected inputs, so it only matters where the polyfill runs without the extension. Taking 1.24.2 directly would close it.
- Backports to the 6.x/7.x branches. The affected polyfill versions ship in every release from 6.6 through 7.1.0, and 7.1.0 was tagged one day after the GHSA-733q-f2wq-9c8w advisory with 1.24.0 still bundled. A backport of the bump to the branches in their support window, ideally straight to 1.24.2, would cover installs without ext-sodium.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
### Ticket
### Description
Updates
sodium_compatfrom v1.24.0 to v1.24.1.This release fixes Ed25519 main subgroup validation and ensures public key validation correctly rejects points not on the main prime order subgroup across 64-bit and 32-bit implementations.
References:
### Testing Instructions
Verify that
sodium_compatloads and functions as expected without errors.