Skip to content

Bump cryptography to 50.0.0 in ecommerce_hybrid_search requirements.txt (Mend HIGH CVE-2026-69247) - #4988

Open
odosk wants to merge 1 commit into
masterfrom
fix/cve-deps-2026-08-04
Open

Bump cryptography to 50.0.0 in ecommerce_hybrid_search requirements.txt (Mend HIGH CVE-2026-69247)#4988
odosk wants to merge 1 commit into
masterfrom
fix/cve-deps-2026-08-04

Conversation

@odosk

@odosk odosk commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

⚠️ This PR was created by an AI assistant (Claude). Please review all changes carefully before merging.

Summary

Fixes the Mend HIGH finding CVE-2026-69247 (GHSA-g6cj-pr64-35w5): cryptography 49.0.0 was resolved transitively via pyvespa in the ecommerce_hybrid_search performance-test requirements. Adds an explicit floor at the first patched release, 50.0.0, and raises the file's existing floors to the latest releases within their majors.

Changed Files

tests/performance/ecommerce_hybrid_search/common/requirements.txt:

  • cryptography: added >=50.0.0 (CVE-2026-69247; transitive via pyvespa)
  • docker: >=7.1.0>=7.2.0
  • elasticsearch: >=9.4.0>=9.4.1
  • pyvespa: >=1.2.0>=1.2.4
  • vespacli: >=8.687.75>=8.730.36
  • tqdm: >=4.67.3>=4.70.0
  • requests: >=2.34.0>=2.34.2
  • zstandard, urllib3: already at latest, unchanged

CVEs Addressed

Verified against the GitHub Advisory Database:

Package CVE(s) Severity Fix version reached
cryptography CVE-2026-69247 high 49.0.0 → 50.0.0

Implementation Notes

  • Scoped to the flagged manifest only per core-repo policy — the Ruby side and other Python manifests in this repo are untouched. No lockfile accompanies this requirements.txt.
  • The finding is transitive (via pyvespa 1.2.4, whose own constraint cryptography>=48.0.1 still admits vulnerable releases), so the patched floor is declared directly in this file.

Verification

  • uv pip compile tests/performance/ecommerce_hybrid_search/common/requirements.txt resolves cleanly with cryptography==50.0.0
  • GHSA-g6cj-pr64-35w5: vulnerable >=44.0.0, <50.0.0, first patched 50.0.0
  • Re-run the Mend scan after merge to confirm the finding clears

Jira: VESPANG-3773

Mend resolved cryptography 49.0.0 transitively via pyvespa in the
ecommerce_hybrid_search performance test requirements; add an explicit
floor at the patched release (GHSA-g6cj-pr64-35w5, fixed in 50.0.0).

- requirements.txt: add cryptography>=50.0.0 (CVE-2026-69247)
- requirements.txt: raise floors within majors: docker >=7.2.0,
  elasticsearch >=9.4.1, pyvespa >=1.2.4, vespacli >=8.730.36,
  tqdm >=4.70.0, requests >=2.34.2

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@odosk odosk added the auto security Automated dependency security fix label Aug 4, 2026
@odosk
odosk marked this pull request as ready for review August 4, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto security Automated dependency security fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants