fix(sdk): update dependency cryptography to v48 [security]#11612
fix(sdk): update dependency cryptography to v48 [security]#11612renovate[bot] wants to merge 1 commit into
Conversation
|
📝 WalkthroughWalkthroughThe pinned version of the ChangesDependency Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Please add an entry to the corresponding |
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Line 71: Update the cryptography dependency version in api/pyproject.toml from
the vulnerable version 46.0.7 to 48.0.1 to match the root pyproject.toml update.
Locate the cryptography pin in the api/pyproject.toml file and change it to
match the newer version shown in the diff, ensuring the API subproject has the
same security remediation applied when resolved or deployed independently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 4347668f-db41-4ce9-8702-6cbb6fb1cc7d
📒 Files selected for processing (1)
pyproject.toml
| "botocore==1.40.61", | ||
| "colorama==0.4.6", | ||
| "cryptography==46.0.7", | ||
| "cryptography==48.0.1", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify all cryptography pins across pyproject files and detect stale vulnerable versions.
fd -i pyproject.toml -t f -x sh -c '
echo "== {} ==";
rg -n "cryptography==|cryptography[<>=~]" "{}" || true;
echo
'
echo "== Any remaining explicit 46.x pins =="
rg -n 'cryptography==46\.' --iglob '**/pyproject.toml'Repository: prowler-cloud/prowler
Length of output: 299
Update cryptography dependency in api/pyproject.toml to 48.0.1.
Root pyproject.toml was bumped to 48.0.1 for GHSA-537c-gmf6-5ccf remediation, but api/pyproject.toml (line 195) still pins the vulnerable cryptography==46.0.7. If the API subproject is resolved or deployed independently, the vulnerability remains exposed.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pyproject.toml` at line 71, Update the cryptography dependency version in
api/pyproject.toml from the vulnerable version 46.0.7 to 48.0.1 to match the
root pyproject.toml update. Locate the cryptography pin in the
api/pyproject.toml file and change it to match the newer version shown in the
diff, ensuring the API subproject has the same security remediation applied when
resolved or deployed independently.
📝 WalkthroughWalkthroughThe pinned version of the ChangesDependency Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This PR contains the following updates:
==46.0.7→==48.0.1Vulnerable OpenSSL included in cryptography wheels
GHSA-537c-gmf6-5ccf
More information
Details
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in wheels prior to cryptograph 48.01 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20260609.txt.
If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
pyca/cryptography (cryptography)
v48.0.1Compare Source
v48.0.0Compare Source
v47.0.0Compare Source
Configuration
📅 Schedule: (in timezone Europe/Madrid)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.